Searched defs:fail (Results 151 - 175 of 342) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/awt/Mixing/
H A DLWPopupMenu.java123 LWPopupMenu.fail("The LW menu item did not received the click.");
168 //At this point, neither test pass nor test fail has been
173 // called pass() or fail()
177 //Timed out, so fail the test
220 public static synchronized void fail() method in class:LWPopupMenu
223 fail( "it just plain failed! :-)" );
226 public static synchronized void fail( String whyFailed ) method in class:LWPopupMenu
233 //If main thread, fail now 'cause not sleeping
240 }//fail()
277 //tried too many times without getting enough events so fail
[all...]
H A DMixingInHwPanel.java119 MixingInHwPanel.fail("The HW button did not receive the click.");
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:MixingInHwPanel
219 fail( "it just plain failed! :-)" );
222 public static synchronized void fail( String whyFailed ) method in class:MixingInHwPanel
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 DMixingOnDialog.java121 MixingOnDialog.fail("The lightweight component left behind the heavyweight one.");
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:MixingOnDialog
219 fail( "it just plain failed! :-)" );
222 public static synchronized void fail( String whyFailed ) method in class:MixingOnDialog
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 DMixingOnShrinkingHWButton.java122 MixingOnShrinkingHWButton.fail("The lightweight component left behind the heavyweight one.");
165 //At this point, neither test pass nor test fail has been
170 // called pass() or fail()
174 //Timed out, so fail the test
217 public static synchronized void fail() method in class:MixingOnShrinkingHWButton
220 fail( "it just plain failed! :-)" );
223 public static synchronized void fail( String whyFailed ) method in class:MixingOnShrinkingHWButton
230 //If main thread, fail now 'cause not sleeping
237 }//fail()
274 //tried too many times without getting enough events so fail
[all...]
H A DNonOpaqueInternalFrame.java125 fail("The JInternalFrame is considered non-opaque.");
170 //At this point, neither test pass nor test fail has been
175 // called pass() or fail()
179 //Timed out, so fail the test
222 public static synchronized void fail() method in class:NonOpaqueInternalFrame
225 fail( "it just plain failed! :-)" );
228 public static synchronized void fail( String whyFailed ) method in class:NonOpaqueInternalFrame
235 //If main thread, fail now 'cause not sleeping
242 }//fail()
279 //tried too many times without getting enough events so fail
[all...]
H A DOpaqueTest.java146 OpaqueTest.fail("The components changed their visible Z-order in a wrong sequence: '" + testSeq + "' instead of '" + checkSeq + "'");
189 //At this point, neither test pass nor test fail has been
194 // called pass() or fail()
198 //Timed out, so fail the test
241 public static synchronized void fail() method in class:OpaqueTest
244 fail( "it just plain failed! :-)" );
247 public static synchronized void fail( String whyFailed ) method in class:OpaqueTest
254 //If main thread, fail now 'cause not sleeping
261 }//fail()
298 //tried too many times without getting enough events so fail
[all...]
H A DOverlappingButtons.java134 OverlappingButtons.fail("The components changed their visible Z-order in a wrong sequence: '" + testSeq + "' instead of '" + checkSeq + "'");
177 //At this point, neither test pass nor test fail has been
182 // called pass() or fail()
186 //Timed out, so fail the test
229 public static synchronized void fail() method in class:OverlappingButtons
232 fail( "it just plain failed! :-)" );
235 public static synchronized void fail( String whyFailed ) method in class:OverlappingButtons
242 //If main thread, fail now 'cause not sleeping
249 }//fail()
286 //tried too many times without getting enough events so fail
[all...]
H A DValidBounds.java106 fail("The button cannot be clicked.");
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:ValidBounds
204 fail( "it just plain failed! :-)" );
207 public static synchronized void fail( String whyFailed ) method in class:ValidBounds
214 //If main thread, fail now 'cause not sleeping
221 }//fail()
258 //tried too many times without getting enough events so fail
[all...]
H A DValidating.java100 fail("The button cannot be clicked.");
143 //At this point, neither test pass nor test fail has been
148 // called pass() or fail()
152 //Timed out, so fail the test
195 public static synchronized void fail() method in class:Validating
198 fail( "it just plain failed! :-)" );
201 public static synchronized void fail( String whyFailed ) method in class:Validating
208 //If main thread, fail now 'cause not sleeping
215 }//fail()
252 //tried too many times without getting enough events so fail
[all...]
H A DsetComponentZOrder.java67 fail("The setComponentZOrder method used to insert a component caused the mixing code to throw the exception: " + e);
113 //At this point, neither test pass nor test fail has been
118 // called pass() or fail()
122 //Timed out, so fail the test
165 public static synchronized void fail() method in class:setComponentZOrder
168 fail( "it just plain failed! :-)" );
171 public static synchronized void fail( String whyFailed ) method in class:setComponentZOrder
178 //If main thread, fail now 'cause not sleeping
185 }//fail()
222 //tried too many times without getting enough events so fail
[all...]
/openjdk7/jdk/test/java/awt/Modal/WsDisabledStyle/Winkey/
H A DWinkey.java122 // called pass() or fail()
126 //Timed out, so fail the test
168 public static synchronized void fail() method in class:Winkey
171 fail( "it just plain failed! :-)" );
174 public static synchronized void fail( String whyFailed ) method in class:Winkey
181 //If main thread, fail now 'cause not sleeping
188 }//fail()
224 //tried too many times without getting enough events so fail
226 ManualMainTest.fail();
312 Button failB = new Button( "fail" );
[all...]
/openjdk7/jdk/test/java/awt/Mouse/TitleBarDoubleClick/
H A DTitleBarDoubleClick.java105 private void fail() { method in class:TitleBarDoubleClick
111 public void mousePressed(MouseEvent e) {fail();}
112 public void mouseReleased(MouseEvent e) {fail();}
113 public void mouseClicked(MouseEvent e) {fail();}
/openjdk7/jdk/test/java/awt/Toolkit/RealSync/
H A DRealSyncOnEDT.java77 fail("Unexpected exception caught: " + e);
81 fail("Unexpected exception caught: " + e);
87 fail("No exception was thrown by the realSync() method.");
91 fail("Unexpected exception caught while invoking the realSync(): " + exceptionCaught);
137 //At this point, neither test pass nor test fail has been
142 // called pass() or fail()
146 //Timed out, so fail the test
189 public static synchronized void fail() method in class:RealSyncOnEDT
192 fail( "it just plain failed! :-)" );
195 public static synchronized void fail( Strin method in class:RealSyncOnEDT
[all...]
/openjdk7/jdk/test/java/awt/Window/GrabSequence/
H A DGrabSequence.java104 GrabSequence.fail("Test failed. Choice is still not opened. ");
116 GrabSequence.fail("Test failed. popup menu is not opened. ");
123 GrabSequence.fail("Test failed. Choice is still opened. ");
126 GrabSequence.fail("Test interrupted."+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() method in class:GrabSequence
226 fail( "it just plain failed! :-)" );
229 public static synchronized void fail( Strin method in class:GrabSequence
[all...]
/openjdk7/jdk/test/java/awt/Window/PropertyChangeListenerLockSerialization/
H A DPropertyChangeListenerLockSerialization.java73 fail("Unable to serialize the frame: " + ex);
87 fail("The NullPointerException has been thrown: " + ex);
90 fail("Error while deserializing the frame: " + ex);
140 //At this point, neither test pass nor test fail has been
145 // called pass() or fail()
149 //Timed out, so fail the test
192 public static synchronized void fail() method in class:PropertyChangeListenerLockSerialization
195 fail( "it just plain failed! :-)" );
198 public static synchronized void fail( String whyFailed ) method in class:PropertyChangeListenerLockSerialization
205 //If main thread, fail no
[all...]
/openjdk7/jdk/test/java/awt/grab/EmbeddedFrameTest1/
H A DEmbeddedFrameTest1.java127 EmbeddedFrameTest1.fail("TEST FAILED: " + thr);
169 //At this point, neither test pass nor test fail has been
174 // called pass() or fail()
178 //Timed out, so fail the test
221 public static synchronized void fail() method in class:EmbeddedFrameTest1
224 fail( "it just plain failed! :-)" );
227 public static synchronized void fail( String whyFailed ) method in class:EmbeddedFrameTest1
234 //If main thread, fail now 'cause not sleeping
241 }//fail()
/openjdk7/jdk/test/java/io/File/
H A DBasic.java72 if (!f.exists()) fail(f, "does not exist");
73 if (!f.isFile()) fail(f, "is not a file");
74 if (f.isDirectory()) fail(f, "is a directory");
75 if (!f.canRead()) fail(f, "is not readable");
77 fail(f, writeable ? "is not writeable" : "is writeable");
79 if (f.length() != length) fail(f, "has wrong length");
82 static void fail(File f, String why) throws Exception { method in class:Basic
89 if (nonExistantFile.exists()) fail(nonExistantFile, "exists");
95 fail(rwFile, "could not delete");
101 if (!thisDir.exists()) fail(thisDi
[all...]
/openjdk7/jdk/test/java/lang/Runtime/exec/
H A DWinCommand.java73 private static void fail(String msg) { method in class:WinCommand
82 fail("exitValue != 0");
84 fail("stderr: " + cr.err);
87 fail(e.toString());
102 fail("Inconsistent result from CD subcommand");
110 fail(String.format("Not a directory: %s%n", dirname));
119 fail("Unexpected exception" + e.toString());
/openjdk7/jdk/test/java/lang/instrument/
H A DATestCaseScaffold.java110 fail() { method in class:ATestCaseScaffold
115 fail(String message) { method in class:ATestCaseScaffold
122 fail();
129 fail(message);
/openjdk7/jdk/test/java/net/HttpURLConnection/
H A DUnmodifiableMaps.java129 try { r.run(); fail("Excepted UOE to be thrown."); Thread.dumpStack(); }
135 void fail() {failed++;} method in class:UnmodifiableMaps
136 void fail(String msg) {System.err.println(msg); fail();} method in class:UnmodifiableMaps
138 void check(boolean cond, String failMessage) {if (cond) pass(); else fail(failMessage);}
/openjdk7/jdk/test/java/nio/charset/StandardCharsets/
H A DStandard.java88 static void fail() { failed++; Thread.dumpStack(); } method in class:Standard
89 static void fail(String msg) { System.out.println(msg); fail(); } method in class:Standard
91 static void check(boolean cond) { if (cond) pass(); else fail(); }
94 else {System.out.println(x + " not equal to " + y); fail();}}
105 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }
/openjdk7/jdk/test/tools/jar/
H A DChangeDir.java92 fail("Could not create jar file.");
102 fail(String.format(
118 static void fail() {failed++; Thread.dumpStack();} method in class:ChangeDir
119 static void fail(String msg) {System.out.println(msg); fail();} method in class:ChangeDir
121 static void check(boolean cond) {if (cond) pass(); else fail();}
124 else fail(x + " not equal to " + y);}
H A DJarBackSlash.java82 fail("Could not list jar file.");
105 fail("Could not list jar file.");
124 static void fail() {failed++; Thread.dumpStack();} method in class:JarBackSlash
125 static void fail(String msg) {System.out.println(msg); fail();} method in class:JarBackSlash
127 static void check(boolean cond) {if (cond) pass(); else fail();}
130 else fail(x + " not equal to " + y);}
H A DJarEntryTime.java151 static void fail() {failed++; Thread.dumpStack();} method in class:JarEntryTime
152 static void fail(String msg) {System.out.println(msg); fail();} method in class:JarEntryTime
154 static void check(boolean cond) {if (cond) pass(); else fail();}
157 else fail(x + " not equal to " + y);}
H A DUpdateManifest.java144 fail("did not match specVersion nor specTitle");
174 fail("Didn't find Main-Class in manifest");
189 static void fail() { method in class:UpdateManifest
194 static void fail(String msg) { method in class:UpdateManifest
196 fail();
208 fail();
215 fail(x + " not equal to " + y);

Completed in 335 milliseconds

1234567891011>>