Assert.assertTrue(Files.size(file.toPath()) > 0, "File '" + filename
+ "' has no content from '" + cmdLine + "'");
// make sure the successive output files get bigger!
- if (lastFile != null)
- Assert.assertTrue(Files.size(file.toPath()) > Files
- .size(lastFile.toPath()));
+ if (lastFile != null) {
+ Assert.assertTrue(Files.size(file.toPath()) > Files.size(lastFile.toPath()));
+ System.out.println("this file: " + file + " +" + Files.size(file.toPath()) + " greater than "
+ + Files.size(lastFile.toPath()));
+ }
+ // remember it for next file
+ lastFile = file;
}
} catch (Exception x)
{
Assert.assertTrue(Files.size(file.toPath()) > 0, "File '" + filename
+ "' has no content from '" + cmdLine + "'");
// make sure the successive output files get bigger!
- if (lastFile != null)
+ if (lastFile != null) {
Assert.assertTrue(Files.size(file.toPath()) > Files
.size(lastFile.toPath()));
+ System.out.println("this file: "+file+" +"+Files.size(file.toPath()) + " greater than " +Files.size(lastFile.toPath()));
+ }
+ // remember it for next file
+ lastFile = file;
}
} catch (Exception x)
{