Searched defs:fail (Results 126 - 150 of 342) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/sun/nio/cs/
H A DNIOJISAutoDetectTest.java42 private static void fail(String failureMsg) { method in class:NIOJISAutoDetectTest
49 fail("test failed: " + msg);
75 fail("no IllegalStateException");
136 fail("Autodetection agrees with neither EUC nor SJIS");
H A DUkrainianIsNotRussian.java65 static void fail() {failed++; Thread.dumpStack();} method in class:UkrainianIsNotRussian
66 static void fail(String msg) {System.out.println(msg); fail();} method in class:UkrainianIsNotRussian
68 static void check(boolean cond) {if (cond) pass(); else fail();}
71 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/com/sun/awt/SecurityWarning/
H A DGetSizeShouldNotReturnZero.java83 fail("Reported security warning size: " + size);
128 //At this point, neither test pass nor test fail has been
133 // called pass() or fail()
137 //Timed out, so fail the test
180 public static synchronized void fail() method in class:GetSizeShouldNotReturnZero
183 fail( "it just plain failed! :-)" );
186 public static synchronized void fail( String whyFailed ) method in class:GetSizeShouldNotReturnZero
193 //If main thread, fail now 'cause not sleeping
200 }//fail()
237 //tried too many times without getting enough events so fail
[all...]
/openjdk7/jdk/test/com/sun/awt/Translucency/
H A DWindowOpacity.java76 fail("getWindowOpacity() allows passing null.");
87 fail("setWindowOpacity() allows passing null.");
93 fail("getWindowOpacity() reports the initial opacity level other than 1.0: " + curOpacity);
105 fail("setWindowOpacity() allows passing negative opacity level.");
117 fail("setWindowOpacity() allows passing opacity level greater than 1.0.");
125 fail("getWindowOpacity() reports the opacity level that differs from the value set with setWindowOpacity: " + curOpacity);
133 fail("getWindowOpacity() reports the opacity level that differs from the value set with setWindowOpacity the second time: " + curOpacity);
144 fail("getWindowOpacity() reports the opacity level that differs from the value set with setWindowOpacity before showing the frame: " + curOpacity);
154 fail("getWindowOpacity() reports the opacity level that differs from the value set with setWindowOpacity after showing the frame: " + curOpacity);
200 //At this point, neither test pass nor test fail ha
252 public static synchronized void fail() method in class:WindowOpacity
258 public static synchronized void fail( String whyFailed ) method in class:WindowOpacity
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DCompatibleConnectors.java38 // number of tests that fail
41 static void fail(String msg) { method in class:CompatibleConnectors
117 boolean fail = false;
120 fail = true;
125 fail = true;
130 fail = true;
135 fail = true;
138 if (fail) {
139 fail(arg_name + " is of type: " + arg.getClass() + ", expected: "
158 fail("transpor
[all...]
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/6725892/
H A DTest.java167 void fail(String msg) { method in class:Test.Worker
181 fail("Worker: failed to connect to server");
197 fail ("Worker: response");
202 fail("Worker: timedout");
204 fail("Worker: timedout");
208 fail ("Worker: " + e2.getMessage());
212 fail ("Worker: " + e2.getMessage());
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DFixedLengthInputStream.java132 void fail() {failed++; Thread.dumpStack();} method in class:FixedLengthInputStream
133 void fail(String msg) {System.err.println(msg); fail();} method in class:FixedLengthInputStream
135 void check(boolean cond) {if (cond) pass(); else fail();}
136 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DConnect.java92 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();} method in class:Connect
235 void fail(Strin method in class:Connect
[all...]
H A DSocketOptionTests.java88 fail(opt.name() + " should be supported");
120 fail("NullPointerException not thrown for setOption");
126 fail("NullPointerException not thrown for getOption");
135 fail("ClosedChannelException not thrown");
203 void fail() {failed++; Thread.dumpStack();} method in class:SocketOptionTests
204 void fail(String msg) {System.err.println(msg); fail();} method in class:SocketOptionTests
206 void check(boolean cond) {if (cond) pass(); else fail();}
207 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/
H A DSend.java173 fail("should have thrown InvalidStreamExcepton");
206 fail(iae + ", Error updating buffers position");
254 fail("Server: unexpected null from receive");
287 fail("Server: unexpected null from receive");
318 fail("Server: unexpected null from receive");
349 void fail() {failed++; Thread.dumpStack();} method in class:Send
350 void fail(String msg) {System.err.println(msg); fail();} method in class:Send
352 void check(boolean cond) {if (cond) pass(); else fail();}
353 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessag
[all...]
/openjdk7/jdk/test/com/sun/tracing/
H A DBasicFunctionality.java64 static void fail(String s) throws Exception { method in class:BasicFunctionality
70 fail("ProviderFactory.getDefaultFactory: Did not create factory");
73 fail("ProviderFactory.createProvider: Did not create provider");
77 fail("ProviderFactory.createProvider: Did not throw NPE for null");
82 fail("Factory.createProvider: Should error with non-void probes");
99 fail("Provider.getProbe: Did not return probe");
105 fail("Provider.getProbe: Got probe with invalid spec");
118 fail("Provider.getProbe: Should return null after dispose()");
132 fail("Probe.trigger: too many arguments not caught");
139 fail("Prob
[all...]
H A DBasicWithSecurityMgr.java66 static void fail(String s) throws Exception { method in class:BasicWithSecurityMgr
72 fail("ProviderFactory.getDefaultFactory: Did not create factory");
75 fail("ProviderFactory.createProvider: Did not create provider");
79 fail("ProviderFactory.createProvider: Did not throw NPE for null");
84 fail("Factory.createProvider: Should error with non-void probes");
101 fail("Provider.getProbe: Did not return probe");
107 fail("Provider.getProbe: Got probe with invalid spec");
120 fail("Provider.getProbe: Should return null after dispose()");
134 fail("Probe.trigger: too many arguments not caught");
141 fail("Prob
[all...]
/openjdk7/jdk/test/java/awt/Component/NoUpdateUponShow/
H A DNoUpdateUponShow.java76 fail(" Unexpected update. ");
119 //At this point, neither test pass nor test fail has been
124 // called pass() or fail()
128 //Timed out, so fail the test
171 public static synchronized void fail() method in class:NoUpdateUponShow
174 fail( "it just plain failed! :-)" );
177 public static synchronized void fail( String whyFailed ) method in class:NoUpdateUponShow
184 //If main thread, fail now 'cause not sleeping
191 }//fail()
228 //tried too many times without getting enough events so fail
[all...]
/openjdk7/jdk/test/java/awt/Dialog/NonResizableDialogSysMenuResize/
H A DNonResizableDialogSysMenuResize.java130 fail("The non-resizable dialog has changed its size and/or location.");
174 //At this point, neither test pass nor test fail has been
179 // called pass() or fail()
183 //Timed out, so fail the test
226 public static synchronized void fail() method in class:NonResizableDialogSysMenuResize
229 fail( "it just plain failed! :-)" );
232 public static synchronized void fail( String whyFailed ) method in class:NonResizableDialogSysMenuResize
239 //If main thread, fail now 'cause not sleeping
246 }//fail()
283 //tried too many times without getting enough events so fail
[all...]
/openjdk7/jdk/test/java/awt/FileDialog/DefaultFocusOwner/
H A DDefaultFocusOwner.java113 // called pass() or fail()
117 //Timed out, so fail the test
159 public static synchronized void fail() method in class:DefaultFocusOwner
162 fail( "it just plain failed! :-)" );
165 public static synchronized void fail( String whyFailed ) method in class:DefaultFocusOwner
172 //If main thread, fail now 'cause not sleeping
179 }//fail()
215 //tried too many times without getting enough events so fail
217 ManualMainTest.fail();
303 Button failB = new Button( "fail" );
[all...]
/openjdk7/jdk/test/java/awt/Focus/InputVerifierTest3/
H A DInputVerifierTest3.java99 InputVerifierTest3.fail(e);
127 InputVerifierTest3.fail(e);
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( Exception whyFailed ) method in class:InputVerifierTest3
230 //If main thread, fail now 'cause not sleeping
237 }//fail()
/openjdk7/jdk/test/java/awt/Focus/NonFocusableResizableTooSmall/
H A DNonFocusableResizableTooSmall.java107 fail("The frame has been resized to very small.");
151 //At this point, neither test pass nor test fail has been
156 // called pass() or fail()
160 //Timed out, so fail the test
203 public static synchronized void fail() method in class:NonFocusableResizableTooSmall
206 fail( "it just plain failed! :-)" );
209 public static synchronized void fail( String whyFailed ) method in class:NonFocusableResizableTooSmall
216 //If main thread, fail now 'cause not sleeping
223 }//fail()
260 //tried too many times without getting enough events so fail
[all...]
/openjdk7/jdk/test/java/awt/Frame/DynamicLayout/
H A DDynamicLayout.java126 fail("Location of a component has been changed.");
173 //At this point, neither test pass nor test fail has been
178 // called pass() or fail()
182 //Timed out, so fail the test
225 public static synchronized void fail() method in class:DynamicLayout
228 fail( "it just plain failed! :-)" );
231 public static synchronized void fail( String whyFailed ) method in class:DynamicLayout
238 //If main thread, fail now 'cause not sleeping
245 }//fail()
282 //tried too many times without getting enough events so fail
[all...]
/openjdk7/jdk/test/java/awt/Frame/LayoutOnMaximizeTest/
H A DLayoutOnMaximizeTest.java84 fail("Toolkit doesn't support the Frame.MAXIMIZED_BOTH extended state.");
159 fail("Location of a component has not been changed.");
206 //At this point, neither test pass nor test fail has been
211 // called pass() or fail()
215 //Timed out, so fail the test
258 public static synchronized void fail() method in class:LayoutOnMaximizeTest
261 fail( "it just plain failed! :-)" );
264 public static synchronized void fail( String whyFailed ) method in class:LayoutOnMaximizeTest
271 //If main thread, fail now 'cause not sleeping
278 }//fail()
[all...]
/openjdk7/jdk/test/java/awt/Frame/ShownOffScreenOnWin98/
H A DShownOffScreenOnWin98Test.java93 ShownOffScreenOnWin98Test.fail("Unexpected exception caught: " + e);
100 ShownOffScreenOnWin98Test.fail("The frame is located off screen");
144 //At this point, neither test pass nor test fail has been
149 // called pass() or fail()
153 //Timed out, so fail the test
196 public static synchronized void fail() method in class:ShownOffScreenOnWin98Test
199 fail( "it just plain failed! :-)" );
202 public static synchronized void fail( String whyFailed ) method in class:ShownOffScreenOnWin98Test
209 //If main thread, fail now 'cause not sleeping
216 }//fail()
[all...]
/openjdk7/jdk/test/java/awt/Frame/UnfocusableMaximizedFrameResizablity/
H A DUnfocusableMaximizedFrameResizablity.java102 fail("The maximized unfocusable frame can be resized.");
149 //At this point, neither test pass nor test fail has been
154 // called pass() or fail()
158 //Timed out, so fail the test
201 public static synchronized void fail() method in class:UnfocusableMaximizedFrameResizablity
204 fail( "it just plain failed! :-)" );
207 public static synchronized void fail( String whyFailed ) method in class:UnfocusableMaximizedFrameResizablity
214 //If main thread, fail now 'cause not sleeping
221 }//fail()
258 //tried too many times without getting enough events so fail
[all...]
/openjdk7/jdk/test/java/awt/Menu/OpensWithNoGrab/
H A DOpensWithNoGrab.java118 OpensWithNoGrab.fail("Failed: menu was opened by first click after opened Choice.");
122 OpensWithNoGrab.fail("Failed: exception occur "+e);
166 //At this point, neither test pass nor test fail has been
171 // called pass() or fail()
175 //Timed out, so fail the test
218 public static synchronized void fail() method in class:OpensWithNoGrab
221 fail( "it just plain failed! :-)" );
224 public static synchronized void fail( String whyFailed ) method in class:OpensWithNoGrab
231 //If main thread, fail now 'cause not sleeping
238 }//fail()
[all...]
/openjdk7/jdk/test/java/awt/Mixing/
H A DHWDisappear.java121 fail("The button cannot be clicked.");
164 //At this point, neither test pass nor test fail has been
169 // called pass() or fail()
173 //Timed out, so fail the test
216 public static synchronized void fail() method in class:HWDisappear
219 fail( "it just plain failed! :-)" );
222 public static synchronized void fail( String whyFailed ) method in class:HWDisappear
229 //If main thread, fail now 'cause not sleeping
236 }//fail()
273 //tried too many times without getting enough events so fail
[all...]
H A DJButtonInGlassPane.java121 JButtonInGlassPane.fail("The LW button did not receive the click.");
166 //At this point, neither test pass nor test fail has been
171 // called pass() or fail()
175 //Timed out, so fail the test
218 public static synchronized void fail() method in class:JButtonInGlassPane
221 fail( "it just plain failed! :-)" );
224 public static synchronized void fail( String whyFailed ) method in class:JButtonInGlassPane
231 //If main thread, fail now 'cause not sleeping
238 }//fail()
275 //tried too many times without getting enough events so fail
[all...]
H A DLWComboBox.java116 fail("The LW popup did not received the click.");
161 //At this point, neither test pass nor test fail has been
166 // called pass() or fail()
170 //Timed out, so fail the test
213 public static synchronized void fail() method in class:LWComboBox
216 fail( "it just plain failed! :-)" );
219 public static synchronized void fail( String whyFailed ) method in class:LWComboBox
226 //If main thread, fail now 'cause not sleeping
233 }//fail()
270 //tried too many times without getting enough events so fail
[all...]

Completed in 91 milliseconds

1234567891011>>