tmp directory doesn't exist on unix based machines by default. I modified the ComparisonTests to create the test file and contained directories if that file doesn't already exist so that tests will now pass again
This commit is contained in:
parent
a0245ca926
commit
ea7b9de3c5
|
@ -863,6 +863,9 @@ public class HierarchicalTableGenerator extends TranslatingUtilities {
|
|||
b.append(".png");
|
||||
String file = Utilities.path(dest, b.toString());
|
||||
if (!new File(file).exists()) {
|
||||
File newFile = new File(file);
|
||||
newFile.getParentFile().mkdirs();
|
||||
newFile.createNewFile();
|
||||
FileOutputStream stream = new FileOutputStream(file);
|
||||
genImage(indents, hasChildren, lineColor, stream);
|
||||
if (outputTracker!=null)
|
||||
|
|
Loading…
Reference in New Issue