import io.github.classgraph.ClassGraph;
import io.github.classgraph.ScanResult;
-import jalview.bin.Cache;
+import jalview.bin.Console;
public class Log4jTest
{
String classpath = getClassPath();
String cmd = java_exe + " " + " -classpath " + classpath + " "
+ " jalview.bin.Jalview " + " "
- + "-props test/jalview/util/log4jTestProps.jvprops " + appArgs;
+ + "--props=test/jalview/util/log4jTestProps.jvprops " + appArgs;
Process proc = null;
Worker worker = null;
try
{
break;
}
- if (ln.contains(Cache.LOGGING_TEST_MESSAGE))
+ if (ln.contains(Console.LOGGING_TEST_MESSAGE))
{
logTestFound = true;
break;
if (!logTestFound)
{
Assert.fail("Did not find Log4j Test message line '"
- + Cache.LOGGING_TEST_MESSAGE + "'");
+ + Console.LOGGING_TEST_MESSAGE + "'");
}
}