/libcore/ojluni/src/test/java/util/Vector/ |
D | CopyInto.java | 48 static volatile int passed = 0, failed = 0; field in CopyInto 50 static void fail() {failed++; Thread.dumpStack();} in fail() 52 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 59 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 60 if (failed > 0) throw new AssertionError("Some tests failed");} in main()
|
/libcore/ojluni/src/test/java/util/Random/ |
D | NextBytes.java | 51 static volatile int passed = 0, failed = 0; field in NextBytes 53 static void fail() {failed++; Thread.dumpStack();} in fail() 55 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 62 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 63 if (failed > 0) throw new AssertionError("Some tests failed");} in main()
|
D | RandomCanaryPi.java | 56 static int failed = 0; field in RandomCanaryPi 74 failed++; in main() 77 if (failed != 0) { in main() 78 throw new RuntimeException(failed + " tests failed"); in main()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | Fill.java | 64 static volatile int passed = 0, failed = 0; field in Fill 66 static void fail() {failed++; Thread.dumpStack();} in fail() 68 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 75 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 76 if (failed > 0) throw new AssertionError("Some tests failed");} in main()
|
D | FloatDoubleOrder.java | 110 volatile int passed = 0, failed = 0; field in FloatDoubleOrder 112 void fail() {failed++; Thread.dumpStack();} in fail() 114 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 123 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in instanceMain() 124 if (failed > 0) throw new AssertionError("Some tests failed");} in instanceMain()
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | SetFromMap.java | 39 static volatile int passed = 0, failed = 0; field in SetFromMap 41 static void fail() { failed++; Thread.dumpStack(); } in fail() 42 static void unexpected(Throwable t) { failed++; t.printStackTrace(); } in unexpected() 51 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 52 if (failed > 0) throw new Exception("Some tests failed"); in main()
|
D | T6433170.java | 72 volatile int passed = 0, failed = 0; field in T6433170 74 void fail() {failed++; Thread.dumpStack();} in fail() 76 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 85 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in instanceMain() 86 if (failed > 0) throw new AssertionError("Some tests failed");} in instanceMain()
|
D | AsLifoQueue.java | 80 static volatile int passed = 0, failed = 0; field in AsLifoQueue 82 static void fail() {failed++; Thread.dumpStack();} in fail() 84 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 91 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 92 if (failed > 0) throw new AssertionError("Some tests failed");} in main()
|
D | BigBinarySearch.java | 110 static volatile int passed = 0, failed = 0; field in BigBinarySearch 112 static void fail() {failed++; Thread.dumpStack();} in fail() 114 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 121 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 122 if (failed > 0) throw new AssertionError("Some tests failed");} in main()
|
D | ReverseOrder2.java | 110 static volatile int passed = 0, failed = 0; field in ReverseOrder2 112 static void fail() {failed++; Thread.dumpStack();} in fail() 114 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 121 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 122 if (failed > 0) throw new AssertionError("Some tests failed");} in main()
|
D | NCopies.java | 40 static volatile int passed = 0, failed = 0; field in NCopies 43 failed++; in fail() 52 failed++; in unexpected() 156 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); 157 if (failed > 0) throw new Error("Some tests failed");
|
D | EmptyIterator.java | 136 volatile int passed = 0, failed = 0; field in EmptyIterator 138 void fail() {failed++; Thread.dumpStack();} in fail() 140 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 149 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in instanceMain() 150 if (failed > 0) throw new AssertionError("Some tests failed");} in instanceMain()
|
/libcore/ojluni/src/test/java/util/ArrayList/ |
D | Bug6533203.java | 51 volatile int passed = 0, failed = 0; field in Bug6533203 53 void fail() {failed++; Thread.dumpStack();} in fail() 55 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 64 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in instanceMain() 65 if (failed > 0) throw new AssertionError("Some tests failed");} in instanceMain()
|
/libcore/ojluni/src/test/java/util/PriorityQueue/ |
D | RemoveContains.java | 46 static volatile int passed = 0, failed = 0; field in RemoveContains 49 failed++; in fail() 58 failed++; in unexpected() 87 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 88 if (failed > 0) throw new Error("Some tests failed"); in main()
|
D | ForgetMeNot.java | 141 static volatile int passed = 0, failed = 0; field in ForgetMeNot 143 static void fail() {failed++; Thread.dumpStack();} in fail() 145 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 152 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 153 if (failed > 0) throw new AssertionError("Some tests failed");} in main()
|
D | NoNulls.java | 183 volatile int passed = 0, failed = 0; field in NoNulls 185 void fail() {failed++; Thread.dumpStack();} in fail() 187 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 196 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in instanceMain() 197 if (failed > 0) throw new AssertionError("Some tests failed");} in instanceMain()
|
/libcore/ojluni/src/test/java/util/BitSet/ |
D | StickySize.java | 78 static volatile int passed = 0, failed = 0; field in StickySize 80 static void fail() {failed++; Thread.dumpStack();} in fail() 82 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 89 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 90 if (failed > 0) throw new AssertionError("Some tests failed");} in main()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | SaveComments.java | 64 boolean failed = false; in main() 73 failed = true; in main() 93 failed = true; in main() 96 if (failed) in main()
|
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | MultiThreadStackWalk.java | 324 Throwable failed = null; field in MultiThreadStackWalk.WalkThread 340 failed = t; in run() 347 Throwable failed = null; in main() local 357 if (failed == null) failed = threads[i].failed; in main() 358 else if (threads[i].failed == null) { in main() 359 failed.addSuppressed(threads[i].failed); in main() 362 if (failed != null) { in main() 363 throw failed; in main()
|
/libcore/ojluni/src/test/java/net/Socket/ |
D | ShutdownInput.java | 43 static boolean failed = false; field in ShutdownInput 66 if (failed) { in main() 79 failed = true; in test() 89 failed = true; in test()
|
/libcore/ojluni/src/test/java/util/Timer/ |
D | DelayOverflow.java | 100 volatile int passed = 0, failed = 0; field in DelayOverflow 102 void fail() {failed++; Thread.dumpStack();} in fail() 104 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 116 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in instanceMain() 117 if (failed > 0) throw new AssertionError("Some tests failed");} in instanceMain()
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | FailingConstructors.java | 140 static volatile int passed = 0, failed = 0; field in FailingConstructors 142 static void fail() {failed++; Thread.dumpStack();} in fail() 144 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() 147 System.out.printf("%nPassed = %d, failed = %d%n%n", passed, failed); in main() 148 if (failed > 0) throw new AssertionError("Some tests failed");} in main()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetTest.java | 35 private boolean failed = false; field in CharsetTest.CheckerThread 46 failed = true; in run() 68 assertTrue(!ct.failed); in test_multiThreadedForName()
|
/libcore/ojluni/src/test/javax/xml/jaxp/transform/ |
D | TestBase.java | 48 int passed = 0, failed = 0; field in TestBase 82 System.out.println("Number of tests failed: " + failed + "\n"); in tearDown() 95 failed++; in fail()
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | CountedLoopIterationCountsTest.java | 52 if (failed) { in main() 57 static boolean failed = false; field in CountedLoopIterationCountsTest 70 failed = true; in run()
|