< prev index next >

jdk/test/java/util/ServiceLoader/modules/ServicesTest.java

Print this page

        

*** 103,119 **** } /** ! * Run test with -modulepath. * * BananaScriptEngine should be found. */ public void runWithModulePath() throws Exception { int exitValue ! = executeTestJava("-mp", MODS_DIR.toString(), "-m", "test/test.Main", "BananaScriptEngine") .outputTo(System.out) .errorTo(System.out) .getExitValue(); --- 103,119 ---- } /** ! * Run test with --module-path. * * BananaScriptEngine should be found. */ public void runWithModulePath() throws Exception { int exitValue ! = executeTestJava("--module-path", MODS_DIR.toString(), "-m", "test/test.Main", "BananaScriptEngine") .outputTo(System.out) .errorTo(System.out) .getExitValue();
*** 121,137 **** assertTrue(exitValue == 0); } /** ! * Run test with -modulepath and -classpath. * * Both BananaScriptEngine and PearScriptEngine should be found */ public void runWithModulePathAndClassPath() throws Exception { int exitValue ! = executeTestJava("-mp", MODS_DIR.toString(), "-cp", CLASSES_DIR.toString(), "-m", "test/test.Main", "BananaScriptEngine", "PearScriptEngine") .outputTo(System.out) .errorTo(System.out) --- 121,137 ---- assertTrue(exitValue == 0); } /** ! * Run test with --module-path and -classpath. * * Both BananaScriptEngine and PearScriptEngine should be found */ public void runWithModulePathAndClassPath() throws Exception { int exitValue ! = executeTestJava("--module-path", MODS_DIR.toString(), "-cp", CLASSES_DIR.toString(), "-m", "test/test.Main", "BananaScriptEngine", "PearScriptEngine") .outputTo(System.out) .errorTo(System.out)
< prev index next >