Home
last modified time | relevance | path

Searched refs:shouldThrow (Results 1 – 25 of 59) sorted by relevance

123

/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueueTest.java56 shouldThrow(); in testAddF()
67 shouldThrow(); in testAddNPE()
86 shouldThrow(); in testRemoveF()
105 shouldThrow(); in testElementF()
116 shouldThrow(); in testAddAll1()
127 shouldThrow(); in testAddAllSelf()
139 shouldThrow(); in testAddAll2()
154 shouldThrow(); in testAddAll3()
168 shouldThrow(); in testAddAll4()
DBlockingQueueTest.java61 shouldThrow(); in testOfferNull()
72 shouldThrow(); in testAddNull()
84 shouldThrow(); in testTimedOfferNull()
96 shouldThrow();
107 shouldThrow();
119 shouldThrow();
130 shouldThrow();
141 shouldThrow();
152 shouldThrow();
163 shouldThrow();
[all …]
DThreadPoolExecutorTest.java237 shouldThrow(); in testSetThreadFactoryNull()
283 shouldThrow(); in testSetRejectedExecutionHandlerNull()
633 shouldThrow(); in testConstructor1()
645 shouldThrow(); in testConstructor2()
657 shouldThrow(); in testConstructor3()
669 shouldThrow(); in testConstructor4()
681 shouldThrow(); in testConstructor5()
693 shouldThrow(); in testConstructorNullPointerException()
706 shouldThrow(); in testConstructor6()
719 shouldThrow(); in testConstructor7()
[all …]
DAbstractExecutorServiceTest.java140 shouldThrow(); in testSubmitFailedPrivilegedExceptionAction()
155 shouldThrow(); in testExecuteNullRunnable()
166 shouldThrow(); in testSubmitNullCallable()
216 shouldThrow(); in testSubmitEE()
230 shouldThrow(); in testInvokeAny1()
244 shouldThrow(); in testInvokeAny2()
262 shouldThrow(); in testInvokeAny3()
278 shouldThrow(); in testInvokeAny4()
309 shouldThrow(); in testInvokeAll1()
339 shouldThrow(); in testInvokeAll3()
[all …]
DLinkedBlockingDequeTest.java78 shouldThrow(); in testOfferFirstNull()
89 shouldThrow(); in testOfferLastNull()
186 shouldThrow(); in testFirstElement()
202 shouldThrow(); in testLastElement()
217 shouldThrow(); in testRemoveFirst()
232 shouldThrow(); in testRemoveLast()
247 shouldThrow(); in testRemove()
316 shouldThrow(); in testConstructor2()
326 shouldThrow(); in testConstructor3()
337 shouldThrow(); in testConstructor4()
[all …]
DThreadPoolExecutorSubclassTest.java354 shouldThrow(); in testSetThreadFactoryNull()
390 shouldThrow(); in testSetRejectedExecutionHandlerNull()
701 shouldThrow(); in testConstructor1()
711 shouldThrow(); in testConstructor2()
721 shouldThrow(); in testConstructor3()
731 shouldThrow(); in testConstructor4()
741 shouldThrow(); in testConstructor5()
751 shouldThrow(); in testConstructorNullPointerException()
761 shouldThrow(); in testConstructor6()
771 shouldThrow(); in testConstructor7()
[all …]
DCopyOnWriteArrayListTest.java245 shouldThrow(); in testIterator()
262 shouldThrow(); in testIterator()
275 shouldThrow(); in testIteratorRemove()
502 shouldThrow(); in testToArray_ArrayStoreException()
513 shouldThrow(); in testGet1_IndexOutOfBoundsException()
526 shouldThrow(); in testGet2_IndexOutOfBoundsException()
537 shouldThrow(); in testSet1_IndexOutOfBoundsException()
550 shouldThrow(); in testSet2()
561 shouldThrow(); in testAdd1_IndexOutOfBoundsException()
574 shouldThrow(); in testAdd2_IndexOutOfBoundsException()
[all …]
DExecutorsTest.java47 shouldThrow(); in testNewCachedThreadPool3()
79 shouldThrow(); in testNewSingleThreadExecutor3()
90 shouldThrow(); in testCastNewSingleThreadExecutor()
125 shouldThrow(); in testNewFixedThreadPool3()
135 shouldThrow(); in testNewFixedThreadPool4()
156 shouldThrow(); in testUnconfigurableExecutorServiceNPE()
166 shouldThrow(); in testUnconfigurableScheduledExecutorServiceNPE()
401 shouldThrow(); in testCreatePrivilegedCallableUsingCCLWithNoPrivs()
439 shouldThrow(); in testPrivilegedCallableWithNoPrivs()
551 shouldThrow(); in testCallableNPE1()
[all …]
DConcurrentHashMapTest.java451 shouldThrow(); in testConstructor1()
461 shouldThrow(); in testConstructor2()
471 shouldThrow(); in testConstructor3()
482 shouldThrow(); in testGet_NullPointerException()
493 shouldThrow(); in testContainsKey_NullPointerException()
504 shouldThrow(); in testContainsValue_NullPointerException()
515 shouldThrow(); in testContains_NullPointerException()
526 shouldThrow(); in testPut1_NullPointerException()
537 shouldThrow(); in testPut2_NullPointerException()
548 shouldThrow(); in testPutIfAbsent1_NullPointerException()
[all …]
DConcurrentLinkedDequeTest.java50 shouldThrow(); in testConstructor3()
61 shouldThrow(); in testConstructor4()
74 shouldThrow(); in testConstructor5()
126 shouldThrow(); in testPushNull()
150 shouldThrow(); in testPop()
161 shouldThrow(); in testOfferNull()
172 shouldThrow(); in testOfferFirstNull()
183 shouldThrow(); in testOfferLastNull()
227 shouldThrow(); in testAddNull()
238 shouldThrow(); in testAddFirstNull()
[all …]
DForkJoinTaskTest.java75 shouldThrow(); in checkNotDone()
131 shouldThrow();
144 shouldThrow();
150 shouldThrow();
168 shouldThrow();
182 shouldThrow();
189 shouldThrow();
462 shouldThrow(); in testForkTimedGetNPE()
509 shouldThrow(); in testAbnormalInvoke()
541 shouldThrow(); in testAbnormalForkJoin()
[all …]
DConcurrentLinkedQueueTest.java48 shouldThrow(); in testConstructor3()
59 shouldThrow(); in testConstructor4()
72 shouldThrow(); in testConstructor5()
124 shouldThrow(); in testOfferNull()
135 shouldThrow(); in testAddNull()
166 shouldThrow(); in testAddAll1()
177 shouldThrow(); in testAddAllSelf()
189 shouldThrow(); in testAddAll2()
204 shouldThrow(); in testAddAll3()
259 shouldThrow(); in testElement()
[all …]
DForkJoinPoolTest.java184 shouldThrow(); in testConstructor1()
194 shouldThrow(); in testConstructor2()
343 shouldThrow(); in testSubmitAfterShutdown()
532 shouldThrow(); in testSubmitFailedPrivilegedExceptionAction()
551 shouldThrow(); in testExecuteNullRunnable()
565 shouldThrow(); in testSubmitNullCallable()
611 shouldThrow(); in testSubmitEE()
626 shouldThrow(); in testInvokeAny1()
640 shouldThrow(); in testInvokeAny2()
656 shouldThrow(); in testInvokeAny3()
[all …]
DCyclicBarrierTest.java45 shouldThrow(); in testConstructor1()
55 shouldThrow(); in testConstructor2()
176 shouldThrow(); in testAwait3_TimeoutException()
194 shouldThrow(); in testAwait4_Timeout_BrokenBarrier()
203 shouldThrow(); in testAwait4_Timeout_BrokenBarrier()
222 shouldThrow(); in testAwait5_Timeout_BrokenBarrier()
231 shouldThrow(); in testAwait5_Timeout_BrokenBarrier()
304 shouldThrow(); in testReset_Leakage()
394 shouldThrow(); in testResetAfterTimeout()
403 shouldThrow(); in testResetAfterTimeout()
[all …]
DRecursiveActionTest.java64 shouldThrow(); in checkNotDone()
71 shouldThrow(); in checkNotDone()
78 shouldThrow(); in checkNotDone()
111 shouldThrow(); in checkCancelled()
117 shouldThrow(); in checkCancelled()
123 shouldThrow(); in checkCancelled()
140 shouldThrow(); in checkCompletedAbnormally()
147 shouldThrow(); in checkCompletedAbnormally()
154 shouldThrow(); in checkCompletedAbnormally()
273 shouldThrow(); in testJoinIgnoresInterrupts()
[all …]
DArrayDequeTest.java48 shouldThrow(); in testConstructor3()
59 shouldThrow(); in testConstructor4()
72 shouldThrow(); in testConstructor5()
124 shouldThrow(); in testPushNull()
148 shouldThrow(); in testPop()
159 shouldThrow(); in testOfferNull()
170 shouldThrow(); in testOfferFirstNull()
181 shouldThrow(); in testOfferLastNull()
225 shouldThrow(); in testAddNull()
236 shouldThrow(); in testAddFirstNull()
[all …]
DCountDownLatchTest.java24 shouldThrow(); in testConstructor()
111 shouldThrow(); in testAwait_Interruptible()
118 shouldThrow(); in testAwait_Interruptible()
142 shouldThrow(); in testTimedAwait_Interruptible()
149 shouldThrow(); in testTimedAwait_Interruptible()
DFutureTaskTest.java110 shouldThrow(); in checkCancelled()
116 shouldThrow(); in checkCancelled()
135 shouldThrow(); in checkCompletedAbnormally()
142 shouldThrow(); in checkCompletedAbnormally()
223 shouldThrow(); in testConstructor()
233 shouldThrow(); in testConstructor2()
309 shouldThrow(); in testSetException_get()
317 shouldThrow(); in testSetException_get()
405 shouldThrow(); in testCancelInterrupt()
449 shouldThrow(); in testCancelInterrupt_ThrowsSecurityException()
[all …]
DPriorityQueueTest.java57 shouldThrow(); in testConstructor2()
67 shouldThrow(); in testConstructor3()
78 shouldThrow(); in testConstructor4()
91 shouldThrow(); in testConstructor5()
158 shouldThrow(); in testOfferNull()
169 shouldThrow(); in testAddNull()
191 shouldThrow(); in testOfferNonComparable()
213 shouldThrow(); in testAddAll1()
225 shouldThrow(); in testAddAll2()
240 shouldThrow(); in testAddAll3()
[all …]
DRecursiveTaskTest.java62 shouldThrow(); in checkNotDone()
69 shouldThrow(); in checkNotDone()
76 shouldThrow(); in checkNotDone()
129 shouldThrow(); in checkCancelled()
135 shouldThrow(); in checkCancelled()
141 shouldThrow(); in checkCancelled()
158 shouldThrow(); in checkCompletedAbnormally()
165 shouldThrow(); in checkCompletedAbnormally()
172 shouldThrow(); in checkCompletedAbnormally()
343 shouldThrow(); in testAbnormalInvoke()
[all …]
DSynchronousQueueTest.java60 shouldThrow(); in testAdd()
73 shouldThrow(); in testAddAll_self()
90 shouldThrow(); in testAddAll_ISE()
107 shouldThrow(); in testBlockingPut()
114 shouldThrow(); in testBlockingPut()
143 shouldThrow(); in testPutWithTake()
176 shouldThrow(); in testTimedOffer()
244 shouldThrow(); in testTimedPollWithOffer()
251 shouldThrow(); in testTimedPollWithOffer()
287 shouldThrow();
[all …]
DCountedCompleterTest.java78 shouldThrow(); in checkNotDone()
130 shouldThrow();
143 shouldThrow();
149 shouldThrow();
167 shouldThrow();
181 shouldThrow();
188 shouldThrow();
195 shouldThrow();
315 shouldThrow();
682 shouldThrow(); in testForkTimedGetNPE()
[all …]
DAtomicReferenceFieldUpdaterTest.java31 shouldThrow(); in testConstructor()
43 shouldThrow(); in testConstructor2()
53 shouldThrow(); in testConstructor3()
63 shouldThrow(); in testConstructor4()
DLinkedBlockingQueueTest.java58 shouldThrow(); in testConstructor2()
68 shouldThrow(); in testConstructor3()
79 shouldThrow(); in testConstructor4()
94 shouldThrow(); in testConstructor5()
161 shouldThrow(); in testAdd()
172 shouldThrow(); in testAddAllSelf()
188 shouldThrow(); in testAddAll3()
203 shouldThrow(); in testAddAll4()
251 shouldThrow(); in testBlockingPut()
258 shouldThrow(); in testBlockingPut()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DObjectIdentifier.java188 private static int[] toIntArray(String str, boolean shouldThrow) { in toIntArray() argument
190 if (! shouldThrow) { in toIntArray()
198 if (! shouldThrow) { in toIntArray()
211 if (! shouldThrow) { in toIntArray()
221 if (! shouldThrow) { in toIntArray()
230 if (! shouldThrow) { in toIntArray()
237 if (! shouldThrow) { in toIntArray()
254 if (! shouldThrow) { in toIntArray()
259 if (! shouldThrow) { in toIntArray()

123