< prev index next >

jdk/test/tools/jlink/JLinkNegativeTest.java

Print this page

        

*** 93,103 **** public void testModuleNotExist() { helper.generateDefaultImage("failure1").assertFailure("Error: Module failure1 not found"); } public void testNotExistInAddMods() { ! // cannot find jmod from --addmods JImageGenerator.getJLinkTask() .modulePath(".") .addMods("not_exist") .output(helper.getImageDir().resolve("failure2")) .call().assertFailure("Error: Module not_exist not found"); --- 93,103 ---- public void testModuleNotExist() { helper.generateDefaultImage("failure1").assertFailure("Error: Module failure1 not found"); } public void testNotExistInAddMods() { ! // cannot find jmod from --add-modules JImageGenerator.getJLinkTask() .modulePath(".") .addMods("not_exist") .output(helper.getImageDir().resolve("failure2")) .call().assertFailure("Error: Module not_exist not found");
< prev index next >