< prev index next >

test/jdk/tools/jpackage/JPackageMissingArgumentsTest.java

Print this page

        

*** 37,106 **** "create-image", "--input", "input", "--name", "test", "--main-jar", "hello.jar", "--main-class", "Hello", - "--overwrite", "--files", "hello.jar"}; private static final String [] RESULT_2 = {"--input"}; private static final String [] CMD_2 = { "create-image", "--output", "output", "--name", "test", "--main-jar", "hello.jar", "--main-class", "Hello", - "--overwrite", "--files", "hello.jar"}; private static final String [] RESULT_3 = {"--input", "--app-image"}; private static final String [] CMD_3 = { "create-installer", "--output", "output", "--name", "test", "--main-jar", "hello.jar", "--main-class", "Hello", - "--overwrite", "--files", "hello.jar"}; private static final String [] RESULT_4 = {"--main-class"}; private static final String [] CMD_4 = { "create-image", "--input", "input", "--output", "output", "--name", "test", "--main-jar", "hello.jar", - "--overwrite", "--files", "hello.jar"}; private static final String [] RESULT_5 = {"--main-jar"}; private static final String [] CMD_5 = { "create-image", "--input", "input", "--output", "output", "--name", "test", "--main-class", "Hello", - "--overwrite", "--files", "hello.jar"}; private static final String [] RESULT_6 = {"--module-path", "--runtime-image"}; private static final String [] CMD_6 = { "create-image", "--output", "output", "--name", "test", "--module", "com.hello/com.hello.Hello", - "--overwrite", "--files", "hello.jar"}; private static final String [] RESULT_7 = {"--module-path", "--runtime-image", "--app-image"}; private static final String [] CMD_7 = { "create-installer", "--output", "output", "--name", "test", "--module", "com.hello/com.hello.Hello", - "--overwrite", "--files", "hello.jar"}; private static void validate(String output, String [] expected) throws Exception { String[] result = output.split("\n"); --- 37,99 ----
< prev index next >