Lines Matching defs:fail
687 fail("Expected IndexOutOfBoundsException not thrown");
759 fail("Expected NullPointerException");
767 fail("Expected NullPointerException");
775 fail("Expected NullPointerException");
783 fail("Expected NullPointerException");
878 try { m.putIfAbsent(18357,null); fail("NPE"); }
884 try { m.replace(18357,null,7777); fail("NPE"); }
893 try { m.replace(18357,null); fail("NPE"); }
935 fail(threw.toString());
1173 static void fail() { failed++; Thread.dumpStack(); }
1174 static void fail(String msg) { System.out.println(msg); fail(); }
1176 static void check(boolean cond) { if (cond) pass(); else fail(); }
1179 else {System.out.println(x + " not equal to " + y); fail();}}
1190 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }