import io.github.classgraph.ClassGraph;
import io.github.classgraph.ScanResult;
-import jalview.bin.Cache;
+import jalview.bin.Console;
public class Log4jTest
{
@Test(groups = { "Functional" })
public void testLog4j()
{
- String appArgs = " -open examples/uniref50.fa -nosplash -nonews -noquestionnaire -nousagestats -nowebservicediscovery";
+ String appArgs = " -open examples/uniref50.fa -nosplash -nonews -noquestionnaire -nousagestats -nowebservicediscovery --debug";
Worker worker = getJalviewDesktopRunner(appArgs);
assertNotNull(worker, "worker is null");
{
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 + "'");
}
}