< prev index next >

test/jdk/jigsaw/tools/jlink/CustomImageBuilderTest.java

Print this page

        

*** 104,113 **** --- 104,114 ---- .pluginModulePath(pluginModulePath) .call(); result.assertSuccess(); String message = result.getMessage(); if (!message.contains("Image Builder Name: custom-image-builder\n" + + "Image Builder Description: custom-image-builder-description\n" + " --custom-image-option-1 custom-image-option-description")) { System.err.println(result.getMessage()); throw new AssertionError("Custom image builder not found"); } }
*** 171,181 **** System.err.println(message); throw new AssertionError("List-plugins does not contain second-image-builder"); } } ! @Test(enabled = false, priority = Integer.MAX_VALUE - 1) public void testTwoPackages() throws IOException { String moduleName = "customplugin_1"; Path src = helper.getJmodSrcDir().resolve(moduleName); copyModule(src); Path jmod = buildModule(moduleName); --- 172,182 ---- System.err.println(message); throw new AssertionError("List-plugins does not contain second-image-builder"); } } ! @Test(priority = Integer.MAX_VALUE - 1) public void testTwoPackages() throws IOException { String moduleName = "customplugin_1"; Path src = helper.getJmodSrcDir().resolve(moduleName); copyModule(src); Path jmod = buildModule(moduleName);
< prev index next >