1. take out of issue #1021 fix which was mistakenly put in

2. fix the expected value for JUNIT
This commit is contained in:
jackyq2015 2015-08-06 21:31:37 -04:00
parent ee38f9edde
commit dc7535c63e
2 changed files with 11 additions and 4 deletions

View File

@ -61,9 +61,12 @@ public class HtmlTableExporter implements WriterExporter {
public void startFile(JSONObject options) {
try {
writer.write("<html>\n");
writer.write("<head><title>");
writer.write("<head>\n");
writer.write("<title>");
writer.write(ProjectManager.singleton.getProjectMetadata(project.id).getName());
writer.write("</title></head>\n");
writer.write("</title>\n");
writer.write("<meta charset=\"utf-8\" />\n");
writer.write("</head>\n");
writer.write("<body>\n");
writer.write("<table>\n");

View File

@ -117,7 +117,9 @@ public class HtmlExporterTests extends RefineTest {
}
Assert.assertEquals(writer.toString(), "<html>\n" +
"<head><title>" + TEST_PROJECT_NAME + "</title></head>\n" +
"<head><title>" + TEST_PROJECT_NAME + "</title>" +
"<meta charset=\"utf-8\" />\n" +
"</head>\n" +
"<body>\n" +
"<table>\n" +
"<tr><th>column0</th><th>column1</th></tr>\n" +
@ -142,7 +144,9 @@ public class HtmlExporterTests extends RefineTest {
}
Assert.assertEquals(writer.toString(), "<html>\n" +
"<head><title>" + TEST_PROJECT_NAME + "</title></head>\n" +
"<head><title>" + TEST_PROJECT_NAME + "</title>" +
"<meta charset=\"utf-8\" />\n" +
"</head>\n" +
"<body>\n" +
"<table>\n" +
"<tr><td>row0cell0</td><td>row0cell1</td></tr>\n" +