Home
last modified time | relevance | path

Searched refs:unexpected (Results 1 – 25 of 38) sorted by relevance

12

/libcore/ojluni/src/test/java/util/Arrays/
DFill.java46 catch (Throwable t) { unexpected(t); } in realMain()
53 catch (Throwable t) { unexpected(t); } in realMain()
60 catch (Throwable t) { unexpected(t); } in realMain()
68 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in Fill
74 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()
DFloatDoubleOrder.java114 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in FloatDoubleOrder
122 try {test(args);} catch (Throwable t) {unexpected(t);} in instanceMain()
/libcore/ojluni/src/test/java/util/Collections/
DAsLifoQueue.java48 } catch (Throwable t) { unexpected(t); } in realMain()
74 } catch (Throwable t) { unexpected(t); } in realMain()
84 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in AsLifoQueue
90 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()
99 else unexpected(t);}} in THROWS()
DSetFromMap.java42 static void unexpected(Throwable t) { failed++; t.printStackTrace(); } in unexpected() method in SetFromMap
49 try { realMain(); } catch (Throwable t) { unexpected(t); } in main()
69 } catch (Throwable t) { unexpected(t); } in realMain()
DBigBinarySearch.java75 catch (Throwable t) { unexpected(t); } in checkBinarySearch()
82 catch (Throwable t) { unexpected(t); } in checkBinarySearch()
114 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in BigBinarySearch
120 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()
DT6433170.java76 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in T6433170
84 try {test(args);} catch (Throwable t) {unexpected(t);} in instanceMain()
93 else unexpected(t);}} in THROWS()
DCheckedNull.java73 catch (Throwable t) { unexpected(t); return null; } in cce()
114 } catch (Throwable t) { unexpected(t); } in testCollection()
181 } catch (Throwable t) { unexpected(t); } in testMap()
189 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in CheckedNull
197 try {test(args);} catch (Throwable t) {unexpected(t);} in instanceMain()
DEmptyIterator.java140 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in EmptyIterator
148 try {test(args);} catch (Throwable t) {unexpected(t);} in instanceMain()
157 else unexpected(t);}} in THROWS()
DRacingCollections.java176 try { join(); } catch (Throwable t) { unexpected(t); } in enoughAlready()
223 catch (Throwable t) { unexpected(t); } in frob()
368 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in RacingCollections
382 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()
388 try { realRun(); } catch (Throwable t) { unexpected(t); }}} in run()
DReverseOrder2.java114 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in ReverseOrder2
120 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()
/libcore/ojluni/src/test/java/util/Vector/
DCopyInto.java44 catch (Throwable t) { unexpected(t); } in realMain()
52 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in CopyInto
58 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()
/libcore/ojluni/src/test/java/util/ArrayList/
DBug6533203.java55 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in Bug6533203
63 try {test(args);} catch (Throwable t) {unexpected(t);} in instanceMain()
72 else unexpected(t);}} in THROWS()
/libcore/ojluni/src/test/java/lang/StackWalker/
DMultiThreadStackWalk.java103 final Set<String> unexpected; // shared: list of unexpected infrastructure field in MultiThreadStackWalk.Env
110 unexpected = Collections.synchronizedSet(new TreeSet<>()); in Env()
122 unexpected = orig.unexpected; in Env()
190 unexpected.add(sfi.getDeclaringClass().getName()); in consume()
307 if (!env.unexpected.isEmpty()) { in checkTest()
310 + env.unexpected); in checkTest()
/libcore/ojluni/src/test/java/util/Timer/
DDelayOverflow.java64 catch (Throwable t) { unexpected(t); } in sleep()
104 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in DelayOverflow
115 try {test(args);} catch (Throwable t) {unexpected(t);} in instanceMain()
DArgs.java172 void unexpected(Throwable t) {failed++; t.printStackTrace();}
180 try {test(args);} catch (Throwable t) {unexpected(t);}
189 else unexpected(t);}}
/libcore/ojluni/src/test/java/util/Scanner/
DFailingConstructors.java135 unexpected(ioe); in verifyContents()
144 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in FailingConstructors
146 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()
/libcore/ojluni/src/test/java/util/Random/
DNextBytes.java55 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in NextBytes
61 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()
/libcore/ojluni/src/test/java/util/Collection/
DMOAT.java446 catch (Throwable t) { unexpected(t); } in testEmptyIterator()
590 catch (Throwable t) { unexpected(t); } in clear()
635 catch (Throwable t) { unexpected(t); } in clear()
645 } catch (Throwable t) { unexpected(t); } in oneElement()
652 catch (Throwable t) { unexpected(t); } in supportsAdd()
657 } catch (Throwable t) { unexpected(t); } in supportsAdd()
664 catch (Throwable t) { unexpected(t); } in supportsRemove()
731 catch (Throwable t) { unexpected(t); } in checkFunctionalInvariants()
748 catch (Throwable t) { unexpected(t); } in testNullElement()
751 catch (Throwable t) { unexpected(t); } in testNullElement()
[all …]
/libcore/ojluni/src/test/java/lang/constant/access_test/pkg1/
DMethodTypeDescriptorAccessTest.java71 } catch (ReflectiveOperationException unexpected) { in checkValidAccess()
73 unexpected.getCause() + " for " + mtd); in checkValidAccess()
/libcore/luni/src/main/java/libcore/util/
DObjects.java78 } catch (IllegalAccessException unexpected) { in toString()
79 throw new AssertionError(unexpected); in toString()
/libcore/ojluni/src/test/java/util/PriorityQueue/
DRemoveContains.java57 static void unexpected(Throwable t) { in unexpected() method in RemoveContains
108 } catch (Throwable t) { unexpected(t); } in test()
DForgetMeNot.java145 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in ForgetMeNot
151 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()
160 else unexpected(t);}} in THROWS()
DNoNulls.java187 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in NoNulls
195 try {test(args);} catch (Throwable t) {unexpected(t);} in instanceMain()
204 else unexpected(t);}} in THROWS()
/libcore/ojluni/src/test/java/util/BitSet/
DPreviousBits.java142 void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in PreviousBits
150 try {test(args);} catch (Throwable t) {unexpected(t);} in instanceMain()
159 else unexpected(t);}} in THROWS()
DStickySize.java82 static void unexpected(Throwable t) {failed++; t.printStackTrace();} in unexpected() method in StickySize
88 try {realMain(args);} catch (Throwable t) {unexpected(t);} in main()

12