Searched defs:fail (Results 226 - 250 of 342) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/sun/nio/cs/
H A DISO8859x.java94 static void fail() {failed++; Thread.dumpStack();} method in class:ISO8859x
95 static void fail(String msg) {System.out.println(msg); fail();} method in class:ISO8859x
97 static void check(boolean cond) {if (cond) pass(); else fail();}
100 else fail(x + " not equal to " + y);}
/openjdk7/jdk/src/share/classes/sun/misc/
H A DService.java134 private static void fail(Class service, String msg, Throwable cause) method in class:Service
143 private static void fail(Class service, String msg) method in class:Service
149 private static void fail(Class service, URL u, int line, String msg) method in class:Service
152 fail(service, u + ":" + line + ": " + msg);
174 fail(service, u, lc, "Illegal configuration-file syntax");
177 fail(service, u, lc, "Illegal provider-class name: " + ln);
181 fail(service, u, lc, "Illegal provider-class name: " + ln);
226 fail(service, ": " + x);
232 fail(service, ": " + y);
268 fail(servic
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DServiceLoader.java162 * however, then this activity may cause the provider-loading algorithm to fail
221 private static void fail(Class service, String msg, Throwable cause) method in class:ServiceLoader
228 private static void fail(Class service, String msg) method in class:ServiceLoader
234 private static void fail(Class service, URL u, int line, String msg) method in class:ServiceLoader
237 fail(service, u + ":" + line + ": " + msg);
257 fail(service, u, lc, "Illegal configuration-file syntax");
260 fail(service, u, lc, "Illegal provider-class name: " + ln);
264 fail(service, u, lc, "Illegal provider-class name: " + ln);
301 fail(service, "Error reading configuration file", x);
307 fail(servic
[all...]
/openjdk7/jdk/make/tools/reorder/tools/
H A Dremove_mcount.c42 static void fail(const char *err, ...) function
136 fail("Unable to open ELF file %s.\n", fullName);
139 fail("elf_begin failed.\n");
155 fail("Unable to find string table.\n");
173 fail("Unable to find dynamic string table.\n");
177 fail("Unable to find dynamic symbol table.\n");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/
H A DUtil.java51 fail(
60 fail("parsing.invalidTag", element.getTagName(), tag);
67 fail(
78 fail(
98 fail(
115 fail("parsing.elementExpected");
129 fail("parsing.nonWhitespaceTextFound", t.getData().trim());
134 fail("parsing.elementExpected");
156 fail("parsing.invalidURI", systemId);
160 fail("parsin
166 public static void fail(String key) { method in class:Util
170 public static void fail(String key, String arg) { method in class:Util
174 public static void fail(String key, String arg1, String arg2) { method in class:Util
178 public static void fail(String key, Object[] args) { method in class:Util
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/privateutil/
H A DServiceFinder.java223 private static void fail(final Class service, final String msg, final Throwable cause) method in class:ServiceFinder
234 /* private static void fail(Class service, String msg)
239 private static void fail(final Class service, final URL u, final int line, final String msg, final Throwable cause) method in class:ServiceFinder
241 fail(service, LocalizationMessages.WSP_0024_SPI_FAIL_SERVICE_URL_LINE_MSG(u , line, msg), cause);
262 fail(service, u, lc, LocalizationMessages.WSP_0067_ILLEGAL_CFG_FILE_SYNTAX(), null);
265 fail(service, u, lc, LocalizationMessages.WSP_0066_ILLEGAL_PROVIDER_CLASSNAME(ln), null);
269 fail(service, u, lc, LocalizationMessages.WSP_0066_ILLEGAL_PROVIDER_CLASSNAME(ln), null);
306 fail(service, ": " + x, x);
312 fail(service, ": " + y, y);
347 fail(servic
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DServiceFinder.java220 private static void fail(Class service, String msg, Throwable cause) method in class:ServiceFinder
228 private static void fail(Class service, String msg) method in class:ServiceFinder
233 private static void fail(Class service, URL u, int line, String msg) method in class:ServiceFinder
235 fail(service, u + ":" + line + ": " + msg);
256 fail(service, u, lc, "Illegal configuration-file syntax");
259 fail(service, u, lc, "Illegal provider-class name: " + ln);
263 fail(service, u, lc, "Illegal provider-class name: " + ln);
300 fail(service, ": " + x);
306 fail(service, ": " + y);
342 fail(servic
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DVarargsTest.java164 void fail(String reason) { method in class:VarargsTest
176 fail("failure: invokeMethod got exception : " + ee);
181 fail("failure: expected \"" + expected + "\", got \"" +
245 fail("failure: varString is not flagged as being var args");
248 fail("failure: varString2 is not flagged as being var args");
320 * should fail
340 fail("failure: an array and a String didn't cause an exception");
364 fail("failure: Constructor is not varargs");
/openjdk7/jdk/test/com/sun/nio/sctp/
H A DMessageInfoTests.java114 fail("IllegalArgumentException should have been thrown");
132 void fail() {failed++; Thread.dumpStack();} method in class:MessageInfoTests
133 void fail(String msg) {System.err.println(msg); fail();} method in class:MessageInfoTests
135 void check(boolean cond) {if (cond) pass(); else fail();}
137 else fail(failMessage);}
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DBind.java105 fail("UnsupportedSocketAddress expected");
115 fail("AlreadyConnectedException expected");
125 fail("ClosedChannelException expected");
132 fail("should have thrown ClosedChannelException");
334 void fail() {failed++; Thread.dumpStack();} method in class:Bind
335 void fail(String msg) {System.err.println(msg); fail();} method in class:Bind
337 void check(boolean cond) {if (cond) pass(); else fail();}
338 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}
H A DReceive.java108 fail("should have thrown NotYetConnectedException");
122 fail("unexpected null from receive");
150 fail("unexpected null from receive");
182 fail("should have thrown ClosedChannelException");
299 fail("Unknown notification type");
322 fail("IllegalReceiveException expected");
344 void fail() {failed++; Thread.dumpStack();} method in class:Receive
345 void fail(String msg) {System.err.println(msg); fail();} method in class:Receive
347 void check(boolean cond) {if (cond) pass(); else fail();}
[all...]
H A DSend.java104 fail("should have thrown NotYetConnectedException");
162 fail("should have thrown InvalidStreamExcepton");
200 fail("should have thrown ClosedChannelException");
223 fail("should have thrown InvalidStreamExcepton");
245 fail("Invalid address should have thrown an Exception.");
270 fail(iae + ", Error updating buffers position");
320 fail("Server: unexpected null from receive");
340 fail("Server: unexpected null from receive");
368 fail("Server: unexpected null from receive");
420 fail("Unknow
447 void fail() {failed++; Thread.dumpStack();} method in class:Send
448 void fail(String msg) {System.err.println(msg); fail();} method in class:Send
[all...]
H A DShutdown.java96 fail("shutdown not throwing expected NotYetConnectedException");
112 fail("unexpected null from receive");
148 fail("shutdown not throwing expected ClosedChannelException");
268 void fail() {failed++; Thread.dumpStack();} method in class:Shutdown
269 void fail(String msg) {System.err.println(msg); fail();} method in class:Shutdown
271 void check(boolean cond) {if (cond) pass(); else fail();}
272 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/
H A DBranch.java191 fail("Server: unexpected null from receive");
261 fail("Shutdown should not be received");
272 void fail() {failed++; Thread.dumpStack();} method in class:Branch
273 void fail(String msg) {System.err.println(msg); fail();} method in class:Branch
275 void check(boolean cond) {if (cond) pass(); else fail();}
276 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}
H A DSocketOptionTests.java96 fail(opt.name() + " should be supported");
131 fail("NullPointerException not thrown for setOption");
137 fail("NullPointerException not thrown for getOption");
146 fail("ClosedChannelException not thrown");
258 void fail() {failed++; Thread.dumpStack();} method in class:SocketOptionTests
259 void fail(String msg) {System.err.println(msg); fail();} method in class:SocketOptionTests
261 void check(boolean cond) {if (cond) pass(); else fail();}
262 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}
/openjdk7/jdk/test/com/sun/nio/sctp/SctpServerChannel/
H A DAccept.java125 fail();
188 fail();
203 fail();
213 fail();
241 try { sc.connect(new TestSocketAddress()); fail(); }
243 try { sc.bind(new TestSocketAddress()); fail(); }
245 } catch (IOException unused) { fail(); }
254 void fail() {failed++; Thread.dumpStack();} method in class:Accept
255 void fail(String msg) {err.println(msg); fail();} method in class:Accept
[all...]
H A DNonBlockingAccept.java199 try { sc.connect(new TestSocketAddress()); fail(); }
201 try { sc.bind(new TestSocketAddress()); fail(); }
203 } catch (IOException unused) { fail(); }
212 void fail() {failed++; Thread.dumpStack();} method in class:NonBlockingAccept
213 void fail(String msg) {err.println(msg); fail();} method in class:NonBlockingAccept
215 void check(boolean cond) {if (cond) pass(); else fail();}
216 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}
/openjdk7/jdk/test/java/awt/Container/isRemoveNotifyNeeded/
H A DJInternalFrameTest.java127 fail("The removeNotify() was invoked on the HW Canvas");
172 //At this point, neither test pass nor test fail has been
177 // called pass() or fail()
181 //Timed out, so fail the test
224 public static synchronized void fail() method in class:JInternalFrameTest
227 fail( "it just plain failed! :-)" );
230 public static synchronized void fail( String whyFailed ) method in class:JInternalFrameTest
237 //If main thread, fail now 'cause not sleeping
244 }//fail()
281 //tried too many times without getting enough events so fail
[all...]
/openjdk7/jdk/test/java/awt/Focus/RequestOnCompWithNullParent/
H A DRequestOnCompWithNullParent1.java131 //At this point, neither test pass nor test fail has been
136 // called pass() or fail()
140 //Timed out, so fail the test
183 public static synchronized void fail() method in class:RequestOnCompWithNullParent1
186 fail( "it just plain failed! :-)" );
189 public static synchronized void fail( String whyFailed ) method in class:RequestOnCompWithNullParent1
196 //If main thread, fail now 'cause not sleeping
203 }//fail()
/openjdk7/jdk/test/java/awt/Frame/MaximizedToIconified/
H A DMaximizedToIconified.java61 MaximizedToIconified.fail("getOldState() != previous getNewState() in WINDOW_STATE_CHANGED event.");
64 MaximizedToIconified.fail("getExtendedState() != last getNewState() in WINDOW_STATE_CHANGED event.");
67 MaximizedToIconified.fail("getExtendedState() != " + state + " as expected.");
171 //At this point, neither test pass nor test fail has been
176 // called pass() or fail()
180 //Timed out, so fail the test
223 public static synchronized void fail() method in class:MaximizedToIconified
226 fail( "it just plain failed! :-)" );
229 public static synchronized void fail( String whyFailed ) method in class:MaximizedToIconified
236 //If main thread, fail no
[all...]
/openjdk7/jdk/test/java/awt/List/ListFlickers/
H A DListFlickers.java106 // called pass() or fail()
110 //Timed out, so fail the test
154 public static synchronized void fail() method in class:ListFlickers
157 fail( "it just plain failed! :-)" );
160 public static synchronized void fail( String whyFailed ) method in class:ListFlickers
167 //If main thread, fail now 'cause not sleeping
174 }//fail()
210 //tried too many times without getting enough events so fail
212 ManualMainTest.fail();
309 Button failB = new Button( "fail" );
[all...]
/openjdk7/jdk/test/java/awt/List/SetBackgroundTest/
H A DSetBackgroundTest.java191 //At this point, neither test pass nor test fail has been
196 // called pass() or fail()
200 //Timed out, so fail the test
243 public static synchronized void fail() method in class:SetBackgroundTest
246 fail( "it just plain failed! :-)" );
249 public static synchronized void fail( String whyFailed ) method in class:SetBackgroundTest
256 //If main thread, fail now 'cause not sleeping
263 }//fail()
300 //tried too many times without getting enough events so fail
302 AutomaticMainTest.fail();
[all...]
/openjdk7/jdk/test/java/awt/Modal/ModalDialogMultiscreenTest/
H A DModalDialogMultiscreenTest.java158 // called pass() or fail()
162 //Timed out, so fail the test
204 public static synchronized void fail() method in class:ModalDialogMultiscreenTest
207 fail( "it just plain failed! :-)" );
210 public static synchronized void fail( String whyFailed ) method in class:ModalDialogMultiscreenTest
217 //If main thread, fail now 'cause not sleeping
224 }//fail()
260 //tried too many times without getting enough events so fail
262 ModalDialogMultiscreenTest.fail();
348 Button failB = new Button( "fail" );
[all...]
/openjdk7/jdk/test/java/awt/Modal/WsDisabledStyle/CloseBlocker/
H A DCloseBlocker.java178 // called pass() or fail()
182 //Timed out, so fail the test
224 public static synchronized void fail() method in class:CloseBlocker
227 fail( "it just plain failed! :-)" );
230 public static synchronized void fail( String whyFailed ) method in class:CloseBlocker
237 //If main thread, fail now 'cause not sleeping
244 }//fail()
280 //tried too many times without getting enough events so fail
282 ManualMainTest.fail();
373 Button failB = new Button( "fail" );
[all...]
/openjdk7/jdk/test/java/awt/Modal/WsDisabledStyle/OverBlocker/
H A DOverBlocker.java168 // called pass() or fail()
172 //Timed out, so fail the test
214 public static synchronized void fail() method in class:OverBlocker
217 fail( "it just plain failed! :-)" );
220 public static synchronized void fail( String whyFailed ) method in class:OverBlocker
227 //If main thread, fail now 'cause not sleeping
234 }//fail()
270 //tried too many times without getting enough events so fail
272 ManualMainTest.fail();
363 Button failB = new Button( "fail" );
[all...]

Completed in 80 milliseconds

1234567891011>>