X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fbin%2FCommandsTest.java;h=b47a68da617d6527606b531a304fe2f0c301a9ac;hb=f81f45cd35b2ae7401265b9e826fba2d96451315;hp=42b93a91351f8f331a911c89b01a44bacf4a4965;hpb=f3a845e03140cbf45d183eb7c0cb7231ab53ce76;p=jalview.git diff --git a/test/jalview/bin/CommandsTest.java b/test/jalview/bin/CommandsTest.java index 42b93a9..b47a68d 100644 --- a/test/jalview/bin/CommandsTest.java +++ b/test/jalview/bin/CommandsTest.java @@ -190,9 +190,13 @@ public class CommandsTest 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) { @@ -227,9 +231,13 @@ public class CommandsTest 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) {