Lines Matching defs:as
6 * under the terms of the GNU General Public License version 2 only, as
8 * particular file as subject to the "Classpath" exception as provided
86 // arguments passed to script - these are visible as "arguments" array to script
238 String as = actual.readLine();
240 while (as != null && as.startsWith("--")) {
241 as = actual.readLine();
246 if (es == null && as == null) {
252 } else if (expectRunFailure && ((es == null) || as == null || !es.equals(as))) {
256 } else if (as == null) {
258 } else if (es.equals(as)) {
260 } else if (compareCompilerMsg && equalsCompilerMsgs(es, as)) {
263 fail("Test " + testFile + " failed at line " + lineCount + " - " + " \n expected: '" + escape(es) + "'\n found: '" + escape(as) + "'");
277 private static boolean equalsCompilerMsgs(final String es, final String as) {
281 return (split >= 0) && as.equals(es.substring(0, split).replaceAll("[/\\\\]", Matcher.quoteReplacement(File.separator)) + es.substring(split));