Searched defs:failed (Results 26 - 50 of 242) sorted by relevance

12345678910

/openjdk7/jdk/test/sun/security/krb5/
H A DParseCAPaths.java34 static Exception failed = null; field in class:ParseCAPaths
69 if (failed != null) {
70 throw failed;
78 failed = e;
/openjdk7/jdk/test/java/net/Socket/setReuseAddress/
H A DBasic.java49 void failed() { method in class:Basic
51 System.out.println("Test failed.");
58 failed();
84 failed();
112 failed();
143 failed();
161 failed();
179 failed();
218 throw new Exception(failures + " test(s) failed");
/openjdk7/jdk/test/java/net/URLConnection/
H A DGetXmlContentType.java38 static int passed, failed; field in class:GetXmlContentType
58 if (failed > 0)
60 "Test failed; passed = " + passed + ", failed = " + failed);
71 failed++;
83 failed++;
109 failed++;
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DIdentity.java45 static final AtomicBoolean failed = new AtomicBoolean(false); field in class:Identity
48 failed.set(true);
95 public void failed(Throwable exc, AsynchronousSocketChannel ch) {
100 public void failed(Throwable exc, Void att) {
144 public void failed(Throwable exc, Integer groupId) {
159 if (failed.get())
160 throw new RuntimeException("Test failed - see log for details");
/openjdk7/jdk/test/java/util/Arrays/
H A DFill.java61 static volatile int passed = 0, failed = 0; field in class:Fill
63 static void fail() {failed++; Thread.dumpStack();}
65 static void unexpected(Throwable t) {failed++; t.printStackTrace();}
72 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
73 if (failed > 0) throw new AssertionError("Some tests failed");}
/openjdk7/jdk/test/java/util/Collections/
H A DNCopies.java35 static volatile int passed = 0, failed = 0; field in class:NCopies
38 failed++;
47 failed++;
97 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
98 if (failed > 0) throw new Error("Some tests failed");
H A DSetFromMap.java34 static volatile int passed = 0, failed = 0; field in class:SetFromMap
36 static void fail() { failed++; Thread.dumpStack(); }
37 static void unexpected(Throwable t) { failed++; t.printStackTrace(); }
46 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
47 if (failed > 0) throw new Exception("Some tests failed");
/openjdk7/jdk/test/java/util/PriorityQueue/
H A DRemoveContains.java35 static volatile int passed = 0, failed = 0; field in class:RemoveContains
38 failed++;
47 failed++;
75 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
76 if (failed > 0) throw new Error("Some tests failed");
/openjdk7/jdk/test/java/util/Random/
H A DNextBytes.java48 static volatile int passed = 0, failed = 0; field in class:NextBytes
50 static void fail() {failed++; Thread.dumpStack();}
52 static void unexpected(Throwable t) {failed++; t.printStackTrace();}
59 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
60 if (failed > 0) throw new AssertionError("Some tests failed");}
/openjdk7/jdk/test/java/util/TreeMap/
H A DEmptyMapAndNulls.java47 } catch (NullPointerException failed) {
55 } catch (NullPointerException failed) {
63 } catch (NullPointerException failed) {
74 } catch (NullPointerException failed) {
82 } catch (NullPointerException failed) {
90 } catch (NullPointerException failed) {
100 } catch (ClassCastException failed) {
107 static volatile int passed = 0, failed = 0; field in class:EmptyMapAndNulls
109 static void fail() {failed++; Thread.dumpStack();}
111 static void unexpected(Throwable t) {failed
[all...]
H A DNullAtEnd.java35 static volatile int passed = 0, failed = 0; field in class:NullAtEnd
38 failed++;
47 failed++;
106 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
107 if (failed > 0) throw new Error("Some tests failed");
/openjdk7/jdk/test/java/util/Vector/
H A DCopyInto.java49 static volatile int passed = 0, failed = 0; field in class:CopyInto
51 static void fail() {failed++; Thread.dumpStack();}
53 static void unexpected(Throwable t) {failed++; t.printStackTrace();}
60 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
61 if (failed > 0) throw new AssertionError("Some tests failed");}
/openjdk7/jdk/test/java/util/concurrent/ConcurrentMap/
H A DConcurrentModification.java34 static volatile int passed = 0, failed = 0; field in class:ConcurrentModification
37 failed++;
42 failed++;
54 check(condition, "Assertion failed");
95 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
96 if (failed > 0) throw new Error("Some tests failed");
/openjdk7/jdk/test/java/util/concurrent/ExecutorService/
H A DInvoke.java36 static volatile int passed = 0, failed = 0; field in class:Invoke
39 failed++;
48 failed++;
89 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
90 if (failed > 0) throw new Error("Some tests failed");
/openjdk7/jdk/test/java/util/concurrent/Executors/
H A DAutoShutdown.java79 static volatile int passed = 0, failed = 0; field in class:AutoShutdown
81 static void fail() {failed++; Thread.dumpStack();}
83 static void unexpected(Throwable t) {failed++; t.printStackTrace();}
89 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
90 if (failed > 0) throw new AssertionError("Some tests failed");}
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/
H A DBug6571733.java59 volatile int passed = 0, failed = 0; field in class:Bug6571733
61 void fail() {failed++; Thread.dumpStack();}
63 void unexpected(Throwable t) {failed++; t.printStackTrace();}
69 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed);
70 if (failed > 0) throw new AssertionError("Some tests failed");}
/openjdk7/jdk/test/java/util/prefs/
H A DAddNodeChangeListener.java37 private static boolean failed = false; field in class:AddNodeChangeListener
54 if (failed)
65 failed = true;
75 failed = true;
/openjdk7/jdk/test/java/util/zip/
H A DInfoZip.java35 static int passed = 0, failed = 0; field in class:InfoZip
38 failed++;
43 failed++;
121 System.out.printf("passed = %d, failed = %d%n", passed, failed);
122 if (failed > 0) throw new Exception("Some tests failed");
H A DStoredCRC.java101 static volatile int passed = 0, failed = 0; field in class:StoredCRC
103 static boolean fail() {failed++; Thread.dumpStack(); return false;}
105 static void unexpected(Throwable t) {failed++; t.printStackTrace();}
112 System.out.println("\nPassed = " + passed + " failed = " + failed);
113 if (failed > 0) throw new AssertionError("Some tests failed");}
H A DTestZipError.java102 static volatile int passed = 0, failed = 0; field in class:TestZipError
104 static void fail() {failed++; Thread.dumpStack();}
106 static void unexpected(Throwable t) {failed++; t.printStackTrace();}
113 System.out.println("\nPassed = " + passed + " failed = " + failed);
114 if (failed > 0) throw new AssertionError("Some tests failed");}
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DDeleteTempJar.java97 static volatile int passed = 0, failed = 0; field in class:DeleteTempJar
99 static boolean fail() {failed++; Thread.dumpStack(); return false;}
101 static void unexpected(Throwable t) {failed++; t.printStackTrace();}
108 System.out.println("\nPassed = " + passed + " failed = " + failed);
109 if (failed > 0) throw new AssertionError("Some tests failed");}
/openjdk7/jdk/test/javax/crypto/Cipher/
H A DGCMAPI.java47 private static int failed = 0; field in class:GCMAPI
71 if (failed != 0) {
72 throw new Exception("Test(s) failed");
83 failed++;
91 failed++;
104 failed++;
112 failed++;
125 failed++;
133 failed++;
/openjdk7/jdk/test/javax/crypto/spec/GCMParameterSpec/
H A DGCMParameterSpecTest.java42 private static int failed = 0; field in class:GCMParameterSpecTest
65 failed++;
68 if (failed != 0) {
69 throw new Exception("Test(s) failed");
85 failed++;
94 failed++;
116 failed++;
125 failed++;
/openjdk7/jdk/test/javax/management/MBeanServer/
H A DPostRegisterDeadlockTest2.java35 private static String failed; field in class:PostRegisterDeadlockTest2
49 failed = "Not registered!";
56 failed = "Interrupted: " + e;
59 failed = "Deadlock detected";
78 if (failed != null)
79 throw new Exception("FAILED: " + failed);
/openjdk7/jdk/test/javax/management/ObjectName/
H A DSerialCompatTest.java100 System.out.println(msg + ": Test failed with exception:");
102 failed = true;
106 if (failed) {
107 throw new Exception("Some tests for 6211220 failed");
183 System.out.println("Test (" + i + ") failed with exception:");
185 failed = true;
203 failed = true;
212 failed = true;
213 System.out.println("6616825 failed for [" + n + "]: " + x);
218 if (failed) {
263 private static boolean failed; field in class:SerialCompatTest
[all...]

Completed in 99 milliseconds

12345678910