git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3847 Some attempts to fix a few eclipse import problems
[jalview.git]
/
test
/
jalview
/
bin
/
CommandLineOperationsNG.java
diff --git
a/test/jalview/bin/CommandLineOperationsNG.java
b/test/jalview/bin/CommandLineOperationsNG.java
index
049e9a8
..
30a1b9f
100644
(file)
--- a/
test/jalview/bin/CommandLineOperationsNG.java
+++ b/
test/jalview/bin/CommandLineOperationsNG.java
@@
-333,9
+333,8
@@
public class CommandLineOperationsNG
public void testAllInputOperations(String expectedString,
String failureMsg)
{
public void testAllInputOperations(String expectedString,
String failureMsg)
{
- if ("[TESTOUTPUT] arg --nousagestats was set".equals(expectedString))
- Assert.assertTrue(successfulCMDs.contains(expectedString),
- failureMsg);
+ Assert.assertTrue(successfulCMDs.contains(expectedString),
+ failureMsg + "; was expecting '" + expectedString + "'");
}
@Test(
}
@Test(
@@
-352,7
+351,8
@@
public class CommandLineOperationsNG
file.deleteOnExit();
Worker worker = getJalviewDesktopRunner(withAWT, cmd, timeout);
assertNotNull(worker, "worker is null");
file.deleteOnExit();
Worker worker = getJalviewDesktopRunner(withAWT, cmd, timeout);
assertNotNull(worker, "worker is null");
- String msg = "Didn't create an output" + type + " file.[" + cmd + "]";
+ String msg = "Didn't create an output" + type + " file '" + fileName
+ + "'. [" + cmd + "]";
assertTrue(file.exists(), msg);
FileAssert.assertFile(file, msg);
FileAssert.assertMinLength(file, expectedMinFileSize);
assertTrue(file.exists(), msg);
FileAssert.assertFile(file, msg);
FileAssert.assertMinLength(file, expectedMinFileSize);