Lines Matching defs:fail
92 fail("should have thrown ConnectionPendingException");
117 fail("should have thrown AlreadyConnectedException");
127 fail("should have thrown AlreadyConnectedException");
141 fail("should have thrown UnresolvedAddressException");
152 fail("should have thrown UnsupportedAddressTypeException");
182 fail("should have thrown NoConnectionPendingException");
202 fail("should have thrown ConnectException: Connection refused");
222 fail("should have thrown ClosedChannelException");
234 void fail() {failed++; Thread.dumpStack();}
235 void fail(String msg) {System.err.println(msg); fail();}
237 void check(boolean cond) {if (cond) pass(); else fail();}
238 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}