Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anshooarora committed Aug 3, 2016
1 parent 24a701f commit a023d15
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void beforeClass() {
test = extent.createTest(testName);
test.pass(testName);

extent.collectRunInfo();
extent.flush();

String html = Reader.readAllText(filePath);
Document doc = Jsoup.parse(html);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void beforeClass() {
test = extent.createTest(testName).assignCategory(categoryName);
test.pass(testName);

extent.collectRunInfo();
extent.flush();

String html = Reader.readAllText(filePath);
doc = Jsoup.parse(html);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void setup() {
node = test.createNode(testName + ".Node");
node.pass(testName + ".Node");

extent.collectRunInfo();
extent.flush();

String html = Reader.readAllText(filePath);
Document doc = Jsoup.parse(html);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void setup() {
extent.attachReporter(htmlReporter);

test = extent.createTest(testName);
extent.collectRunInfo();
extent.flush();
}

@Test
Expand Down

0 comments on commit a023d15

Please sign in to comment.