Home
last modified time | relevance | path

Searched refs:failed (Results 1 – 25 of 50) sorted by relevance

12

/libcore/ojluni/src/test/java/util/Vector/
DCopyInto.java48 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/
DNextBytes.java51 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()
DRandomCanaryPi.java56 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/
DFill.java64 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()
DFloatDoubleOrder.java110 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/
DSetFromMap.java39 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()
DT6433170.java72 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()
DAsLifoQueue.java80 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()
DBigBinarySearch.java110 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()
DReverseOrder2.java110 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()
DNCopies.java40 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");
DEmptyIterator.java136 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/
DBug6533203.java51 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/
DRemoveContains.java46 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()
DForgetMeNot.java141 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()
DNoNulls.java183 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/
DStickySize.java78 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/
DSaveComments.java64 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/
DMultiThreadStackWalk.java324 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/
DShutdownInput.java43 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/
DDelayOverflow.java100 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/
DFailingConstructors.java140 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/
DCharsetTest.java35 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/
DTestBase.java48 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/
DCountedLoopIterationCountsTest.java52 if (failed) { in main()
57 static boolean failed = false; field in CountedLoopIterationCountsTest
70 failed = true; in run()

12