Lines Matching defs:fail
186 void fail(StringBuffer log, String s)
189 fail(s);
197 void fail(String s)
311 fail("Did not match 'aaab' with deserialized RE.");
325 fail("Has parens after deserialization.");
329 fail("Did not match 'aaab' with deserialized RE.");
342 fail("Did not match 'abcddd'.");
350 fail("Did not match 'aBcDDdd'.");
358 fail("Did not match 'ABCDDDDD'.");
368 fail("Did not match 'AaAaaaBAAAAAA'.");
378 fail("Did not match 'CaBgDe12'.");
387 fail("\"\\nabc\" doesn't match \"^abc$\"");
390 fail("\"\\rabc\" doesn't match \"^abc$\"");
393 fail("\"\\r\\nabc\" doesn't match \"^abc$\"");
396 fail("\"\\u0085abc\" doesn't match \"^abc$\"");
399 fail("\"\\u2028abc\" doesn't match \"^abc$\"");
402 fail("\"\\u2029abc\" doesn't match \"^abc$\"");
408 fail("\"a\\nb\" matches \"^a.*b$\"");
411 fail("\"a\\rb\" matches \"^a.*b$\"");
414 fail("\"a\\r\\nb\" matches \"^a.*b$\"");
417 fail("\"a\\u0085b\" matches \"^a.*b$\"");
420 fail("\"a\\u2028b\" matches \"^a.*b$\"");
423 fail("\"a\\u2029b\" matches \"^a.*b$\"");
448 fail("\"aaab\" doesn't match to precompiled \"a*b\"");
455 fail("\"b\" doesn't match to precompiled \"a*b\"");
462 fail("\"c\" matches to precompiled \"a*b\"");
469 fail("\"ccccaaaaab\" doesn't match to precompiled \"a*b\"");
534 fail(message + " (expected \"" + expected
542 fail(message + " (expected \"" + expected
697 test.fail(log, "Was expected to be an error, but wasn't.");
716 test.fail(log, "Produces an unexpected exception \"" + message + "\"");
722 test.fail(log, "Compiler threw fatal error \"" + e.getMessage() + "\"");
764 test.fail(log, "Matcher threw exception: " + e.toString());
770 test.fail(log, "Matcher threw fatal error \"" + e.getMessage() + "\"");
784 test.fail(log, "Did not match \"" + toMatch + "\", when expected to.");
786 test.fail(log, "Matched \"" + toMatch + "\", when not expected to.");
836 test.fail(log, "Matcher threw exception: " + e.toString());
842 test.fail(log, "Matcher threw fatal error \"" + e.getMessage() + "\"");
853 test.fail(log, message + " (expected \"" + expected
863 test.fail(log, message + " (expected \"" + expected