< prev index next >

jaxp/test/javax/xml/jaxp/module/ServiceProviderTest/BasicModularXMLParserTest.java

Print this page

        

*** 91,101 **** /* * test loading one provider module */ public void testWithOneProvider() throws Exception { int exitValue ! = executeTestJava("-mp", MOD_DIR1.toString(), "-cp", CLASSES_DIR.toString(), "Main", "xmlprovider1") .outputTo(System.out) .errorTo(System.out) .getExitValue(); --- 91,101 ---- /* * test loading one provider module */ public void testWithOneProvider() throws Exception { int exitValue ! = executeTestJava("--module-path", MOD_DIR1.toString(), "-cp", CLASSES_DIR.toString(), "Main", "xmlprovider1") .outputTo(System.out) .errorTo(System.out) .getExitValue();
*** 106,116 **** /* * test loading both provider modules */ public void testWithTwoProvider() throws Exception { int exitValue ! = executeTestJava("-mp", MOD_DIR1.toString() + File.pathSeparator + MOD_DIR2.toString(), "-cp", CLASSES_DIR.toString(), "Main", "xmlprovider1", "xmlprovider2") .outputTo(System.out) .errorTo(System.out) .getExitValue(); --- 106,116 ---- /* * test loading both provider modules */ public void testWithTwoProvider() throws Exception { int exitValue ! = executeTestJava("--module-path", MOD_DIR1.toString() + File.pathSeparator + MOD_DIR2.toString(), "-cp", CLASSES_DIR.toString(), "Main", "xmlprovider1", "xmlprovider2") .outputTo(System.out) .errorTo(System.out) .getExitValue();
< prev index next >