36 |
36 |
37 public class ModulePathTest { |
37 public class ModulePathTest { |
38 private static final String OUTPUT = "output"; |
38 private static final String OUTPUT = "output"; |
39 |
39 |
40 private static final String [] CMD1 = { |
40 private static final String [] CMD1 = { |
|
41 "--package-type", "app-image", |
41 "--output", OUTPUT, |
42 "--output", OUTPUT, |
42 "--name", "test", |
43 "--name", "test", |
43 "--module", "com.hello/com.hello.Hello", |
44 "--module", "com.hello/com.hello.Hello", |
44 "--module-path", "input", |
45 "--module-path", "input", |
45 }; |
46 }; |
46 |
47 |
47 private static final String [] CMD2 = { |
48 private static final String [] CMD2 = { |
|
49 "--package-type", "app-image", |
48 "--output", OUTPUT, |
50 "--output", OUTPUT, |
49 "--name", "test", |
51 "--name", "test", |
50 "--module", "com.hello/com.hello.Hello", |
52 "--module", "com.hello/com.hello.Hello", |
51 "--module-path", "input" + File.pathSeparator + "input-other", |
53 "--module-path", "input" + File.pathSeparator + "input-other", |
52 }; |
54 }; |
53 |
55 |
54 private static final String [] CMD3 = { |
56 private static final String [] CMD3 = { |
|
57 "--package-type", "app-image", |
55 "--output", OUTPUT, |
58 "--output", OUTPUT, |
56 "--name", "test", |
59 "--name", "test", |
57 "--module", "com.hello/com.hello.Hello", |
60 "--module", "com.hello/com.hello.Hello", |
58 "--module-path", "input", |
61 "--module-path", "input", |
59 "--module-path", "input-other", |
62 "--module-path", "input-other", |