Searched defs:fail (Results 51 - 75 of 342) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/util/Vector/
H A DCopyInto.java42 fail("Expected ArrayStoreException");
51 static void fail() {failed++; Thread.dumpStack();} method in class:CopyInto
52 static void fail(String msg) {System.out.println(msg); fail();} method in class:CopyInto
54 static void check(boolean cond) {if (cond) pass(); else fail();}
57 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/concurrent/ConcurrentMap/
H A DConcurrentModification.java36 static void fail(String msg) { method in class:ConcurrentModification
50 fail(msg);
/openjdk7/jdk/test/java/util/concurrent/ExecutorService/
H A DInvoke.java38 static void fail(String msg) { method in class:Invoke
53 if (condition) pass(); else fail(msg);
/openjdk7/jdk/test/java/util/concurrent/Executors/
H A DAutoShutdown.java81 static void fail() {failed++; Thread.dumpStack();} method in class:AutoShutdown
82 static void fail(String msg) {System.out.println(msg); fail();} method in class:AutoShutdown
86 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/
H A DBug6571733.java61 void fail() {failed++; Thread.dumpStack();} method in class:Bug6571733
62 void fail(String msg) {System.err.println(msg); fail();} method in class:Bug6571733
64 void check(boolean cond) {if (cond) pass(); else fail();}
/openjdk7/jdk/test/java/util/zip/
H A DInfoZip.java37 static void fail(String msg) { method in class:InfoZip
49 fail(msg);
H A DStoredCRC.java90 fail("Did not catch expected ZipException" );
103 static boolean fail() {failed++; Thread.dumpStack(); return false;} method in class:StoredCRC
104 static boolean fail(String msg) {System.out.println(msg); return fail();} method in class:StoredCRC
106 static boolean check(boolean cond) {if (cond) pass(); else fail(); return cond;}
109 else return fail(x + " not equal to " + y);}
H A DTestZipError.java88 fail("Did not get expected exception");
92 fail("Caught InternalError instead of expected ZipError");
104 static void fail() {failed++; Thread.dumpStack();} method in class:TestZipError
105 static void fail(String msg) {System.out.println(msg); fail();} method in class:TestZipError
107 static void check(boolean cond) {if (cond) pass(); else fail();}
110 else fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DDeleteTempJar.java99 static boolean fail() {failed++; Thread.dumpStack(); return false;} method in class:DeleteTempJar
100 static boolean fail(String msg) {System.out.println(msg); return fail();} method in class:DeleteTempJar
102 static boolean check(boolean cond) {if (cond) pass(); else fail(); return cond;}
105 else return fail(x + " not equal to " + y);}
/openjdk7/jdk/test/javax/management/MBeanServer/
H A DPostRegisterDeadlockTest.java74 fail(e.toString());
82 fail("Deadlock detected");
84 fail("Test not conclusive: "+
89 fail(e.toString());
127 fail(on1+" should have been unregistered");
158 fail(on1+" should have been unregistered");
179 private static void fail(String why) { method in class:PostRegisterDeadlockTest
/openjdk7/jdk/test/javax/management/mxbean/
H A DLeakTest.java93 fail(originalTestClass.getName() + " kept ClassLoader reference");
115 private static void fail(String why) { method in class:LeakTest
H A DTypeNameTest.java90 fail("For attribute " + attrName + " expected type name \"" +
101 fail("For attribute " + attrName + " expected TabularType " +
109 fail("Test bug: did not test TabularType name");
117 private static void fail(String why) { method in class:TypeNameTest
/openjdk7/jdk/test/javax/management/openmbean/
H A DTabularDataOrderTest.java129 fail("Order not preserved");
135 // not guaranteed to work but at worst it will fail spuriously and
164 fail("TabularDataSupport does not contain HashMap though " +
178 fail("Order mangled after passage through MXBean: " + proxyNames);
186 private static void fail(String why) { method in class:TabularDataOrderTest
/openjdk7/jdk/test/javax/management/remote/mandatory/connectorServer/
H A DConnectorStopDeadlockTest.java74 static void fail(Throwable e) { method in class:ConnectorStopDeadlockTest
80 static void fail(String s) { method in class:ConnectorStopDeadlockTest
146 fail(e);
/openjdk7/jdk/test/javax/swing/JFileChooser/4847375/
H A Dbug4847375.java73 fail("Cannot set LookAndFeel", e);
82 fail("Cannot find NewFolderButton in FileChooser (tooltip doesn't exist)");
90 fail("Cannot find NewFolderButton in FileChooser");
102 fail("Enabled state of NewFolderButton should be " + enabledNewFolder +
116 fail("Two or more NewFolderButton found in FileChooser");
129 fail("Two or more NewFolderButton found in FileChooser");
147 fail("Cannot call '" + getterName + "' in the Win32ShellFolderManager2 class", e);
153 private void fail(String s) { method in class:bug4847375
157 private void fail(String s, Throwable e) { method in class:bug4847375
/openjdk7/jdk/test/javax/swing/JMenu/4692443/
H A Dbug4692443.java43 public static FailedListener fail; field in class:bug4692443
48 fail = new FailedListener();
110 menuItem.addActionListener(fail);
/openjdk7/jdk/test/sun/net/idn/
H A DTestStringPrep.java141 fail("Delimiter @ disappeared from the output!");
144 fail("mixed_prepare for string: " + mixed_prep_data[i] +" failed with " + e.toString());
153 fail("Did not get the expected exception");
172 fail("Did not get the expected output for nfs4_cis_prep at index " + i);
176 fail("Did not get the expected exception");
190 fail("Got unexpected exception: " + e.toString());
199 fail("Did not get expected output. Expected: "+ prettify(src)+
203 fail("Got unexpected exception: " + e.toString());
212 fail("Did not get expected output. Expected: "+ prettify(src)+
216 fail("Go
255 private static void fail(String msg) { method in class:TestStringPrep
[all...]
/openjdk7/jdk/test/sun/net/www/http/HttpClient/
H A DStreamingRetry.java80 fail("The server shouldn't accept a second connection");
87 void fail() {failed++; Thread.dumpStack();} method in class:StreamingRetry
88 void fail(String msg) {System.err.println(msg); fail();} method in class:StreamingRetry
/openjdk7/hotspot/test/compiler/8004741/
H A DTest8004741.java82 fail();
88 fail();
112 fail();
147 fail();
154 fail();
156 fail();
176 fail();
180 static void fail() { method in class:Test8004741
/openjdk7/jdk/test/com/sun/jndi/ldap/
H A DLdapTimeoutTest.java48 static void fail() {failed++; Thread.dumpStack();} method in class:LdapTimeoutTest
96 fail();
103 fail();
109 if (!shutItDown(killer, ctx)) fail();
121 fail();
129 fail();
133 fail();
135 fail();
138 if (!shutItDown(killer, ctx)) fail();
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest12.java47 static boolean fail = false; field in class:Test12
166 fail = true;
H A DTest13.java51 static boolean fail = false; field in class:Test13
173 fail = true;
/openjdk7/jdk/test/com/sun/tools/extcheck/
H A DTestExtcheckArgs.java68 fail();
73 fail("Unexpected message: " + ex.getMessage());
81 static boolean fail() {failed++; Thread.dumpStack(); return false;} method in class:TestExtcheckArgs
82 static boolean fail(String msg) {System.out.println(msg); return fail();} method in class:TestExtcheckArgs
84 static boolean check(boolean cond) {if (cond) pass(); else fail(); return cond;}
87 else return fail(x + " not equal to " + y);}
/openjdk7/jdk/test/java/awt/Component/Revalidate/
H A DRevalidate.java55 private static void fail(String msg) { method in class:Revalidate
62 fail(n + ".isValid() = " + c.isValid() + "; expected: " + v);
/openjdk7/jdk/test/java/awt/Modal/LWModalTest/
H A DLWModalTest.java77 LWModalTest.fail(z.getMessage());
101 LWModalTest.fail(z.getMessage());
111 LWModalTest.fail("showInternalMessageDialog() has not returned");
171 public static synchronized void fail() method in class:LWModalTest
173 fail("it just plain failed! :-)");
176 public static synchronized void fail(String whyFailed) method in class:LWModalTest

Completed in 102 milliseconds

1234567891011>>