equal
deleted
inserted
replaced
60 if (!line.contains(EMAIL)) { |
60 if (!line.contains(EMAIL)) { |
61 throw new AssertionError("Unexpected result: " + line); |
61 throw new AssertionError("Unexpected result: " + line); |
62 } |
62 } |
63 } |
63 } |
64 } |
64 } |
65 |
|
66 if (!maintainerFound) { |
65 if (!maintainerFound) { |
67 throw new AssertionError("Maintainer field not found"); |
66 throw new AssertionError("Maintainer field not found"); |
68 } |
67 } |
69 } |
68 } |
70 |
69 |
90 |
89 |
91 private static void init(String name, String ext) throws Exception { |
90 private static void init(String name, String ext) throws Exception { |
92 TEST_NAME = name; |
91 TEST_NAME = name; |
93 EMAIL = "jpackage-test@java.com"; |
92 EMAIL = "jpackage-test@java.com"; |
94 EXT = ext; |
93 EXT = ext; |
95 OUTPUT = "output" + File.separator + TEST_NAME + "-1.0." + EXT; |
94 OUTPUT = Base.getBundlePath(TEST_NAME, EXT); |
96 CMD = new String[]{ |
95 CMD = new String[]{ |
97 "--package-type", EXT, |
96 "--package-type", EXT, |
98 "--input", "input", |
97 "--input", "input", |
99 "--output", "output", |
98 "--output", "output", |
100 "--name", TEST_NAME, |
99 "--name", TEST_NAME, |