equal
deleted
inserted
replaced
89 "--module", "com.hello/com.hello.Hello", |
89 "--module", "com.hello/com.hello.Hello", |
90 }; |
90 }; |
91 |
91 |
92 private static void validate(String output, String [] expected, |
92 private static void validate(String output, String [] expected, |
93 boolean single) throws Exception { |
93 boolean single) throws Exception { |
94 String[] result = output.split("\n"); |
94 String[] result = JPackageHelper.splitAndFilter(output); |
95 if (single && result.length != 1) { |
95 if (single && result.length != 1) { |
96 System.err.println(output); |
96 System.err.println(output); |
97 throw new AssertionError("Invalid number of lines in output: " |
97 throw new AssertionError("Invalid number of lines in output: " |
98 + result.length); |
98 + result.length); |
99 } |
99 } |