Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

create test output dir if it doesn't exist

  • Loading branch information...
commit 5aa8f4d805164402ac4c02ff912666e71c37d1e7 1 parent b302706
@Arcadie Arcadie authored
View
2  reportng/src/java/main/org/uncommons/reportng/HTMLReporter.java
@@ -100,7 +100,7 @@ public void generateReport(List<XmlSuite> xmlSuites,
boolean onlyFailures = System.getProperty(ONLY_FAILURES_PROPERTY, "false").equals("true");
File outputDirectory = new File(outputDirectoryName, REPORT_DIRECTORY);
- outputDirectory.mkdir();
+ outputDirectory.mkdirs();
try
{
View
2  reportng/src/java/main/org/uncommons/reportng/JUnitXMLReporter.java
@@ -63,7 +63,7 @@ public void generateReport(List<XmlSuite> xmlSuites,
removeEmptyDirectories(new File(outputDirectoryName));
File outputDirectory = new File(outputDirectoryName, REPORT_DIRECTORY);
- outputDirectory.mkdir();
+ outputDirectory.mkdirs();
Collection<TestClassResults> flattenedResults = flattenResults(suites);
Please sign in to comment.
Something went wrong with that request. Please try again.