Home
last modified time | relevance | path

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

123

/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()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueueTest.java67 shouldThrow(); in testAddF()
78 shouldThrow(); in testAddNPE()
97 shouldThrow(); in testRemoveF()
116 shouldThrow(); in testElementF()
127 shouldThrow(); in testAddAll1()
138 shouldThrow(); in testAddAllSelf()
150 shouldThrow(); in testAddAll2()
165 shouldThrow(); in testAddAll3()
179 shouldThrow(); in testAddAll4()
DBlockingQueueTest.java73 shouldThrow(); in testOfferNull()
84 shouldThrow(); in testAddNull()
96 shouldThrow(); in testTimedOfferNull()
108 shouldThrow();
119 shouldThrow();
131 shouldThrow();
142 shouldThrow();
153 shouldThrow();
164 shouldThrow();
175 shouldThrow();
[all …]
DThreadPoolExecutorTest.java265 shouldThrow(); in testSetThreadFactoryNull()
311 shouldThrow(); in testSetRejectedExecutionHandlerNull()
661 shouldThrow(); in testConstructor1()
673 shouldThrow(); in testConstructor2()
685 shouldThrow(); in testConstructor3()
697 shouldThrow(); in testConstructor4()
709 shouldThrow(); in testConstructor5()
721 shouldThrow(); in testConstructorNullPointerException()
734 shouldThrow(); in testConstructor6()
747 shouldThrow(); in testConstructor7()
[all …]
DAbstractExecutorServiceTest.java163 shouldThrow(); in testSubmitFailedPrivilegedExceptionAction()
178 shouldThrow(); in testExecuteNullRunnable()
189 shouldThrow(); in testSubmitNullCallable()
239 shouldThrow(); in testSubmitEE()
253 shouldThrow(); in testInvokeAny1()
267 shouldThrow(); in testInvokeAny2()
285 shouldThrow(); in testInvokeAny3()
301 shouldThrow(); in testInvokeAny4()
332 shouldThrow(); in testInvokeAll1()
362 shouldThrow(); in testInvokeAll3()
[all …]
DThreadPoolExecutorSubclassTest.java384 shouldThrow(); in testSetThreadFactoryNull()
420 shouldThrow(); in testSetRejectedExecutionHandlerNull()
731 shouldThrow(); in testConstructor1()
741 shouldThrow(); in testConstructor2()
751 shouldThrow(); in testConstructor3()
761 shouldThrow(); in testConstructor4()
771 shouldThrow(); in testConstructor5()
781 shouldThrow(); in testConstructorNullPointerException()
791 shouldThrow(); in testConstructor6()
801 shouldThrow(); in testConstructor7()
[all …]
DConcurrentLinkedDequeTest.java63 shouldThrow(); in testConstructor3()
74 shouldThrow(); in testConstructor4()
87 shouldThrow(); in testConstructor5()
139 shouldThrow(); in testPushNull()
163 shouldThrow(); in testPop()
174 shouldThrow(); in testOfferNull()
185 shouldThrow(); in testOfferFirstNull()
196 shouldThrow(); in testOfferLastNull()
240 shouldThrow(); in testAddNull()
251 shouldThrow(); in testAddFirstNull()
[all …]
DConcurrentHashMapTest.java534 shouldThrow(); in testConstructor1()
545 shouldThrow(); in testConstructor2()
550 shouldThrow(); in testConstructor2()
561 shouldThrow(); in testConstructor3()
566 shouldThrow(); in testConstructor3()
571 shouldThrow(); in testConstructor3()
582 shouldThrow(); in testConstructor4()
605 shouldThrow(); in testGet_NullPointerException()
616 shouldThrow(); in testContainsKey_NullPointerException()
627 shouldThrow(); in testContainsValue_NullPointerException()
[all …]
DLinkedBlockingDequeTest.java106 shouldThrow(); in testOfferFirstNull()
117 shouldThrow(); in testOfferLastNull()
214 shouldThrow(); in testFirstElement()
230 shouldThrow(); in testLastElement()
245 shouldThrow(); in testRemoveFirst()
260 shouldThrow(); in testRemoveLast()
275 shouldThrow(); in testRemove()
344 shouldThrow(); in testConstructor2()
354 shouldThrow(); in testConstructor3()
365 shouldThrow(); in testConstructor4()
[all …]
DForkJoinTaskTest.java86 shouldThrow(); in checkNotDone()
142 shouldThrow();
155 shouldThrow();
161 shouldThrow();
179 shouldThrow();
193 shouldThrow();
200 shouldThrow();
473 shouldThrow(); in testForkTimedGetNPE()
520 shouldThrow(); in testAbnormalInvoke()
552 shouldThrow(); in testAbnormalForkJoin()
[all …]
DExecutorsTest.java70 shouldThrow(); in testNewCachedThreadPool3()
102 shouldThrow(); in testNewSingleThreadExecutor3()
113 shouldThrow(); in testCastNewSingleThreadExecutor()
148 shouldThrow(); in testNewFixedThreadPool3()
158 shouldThrow(); in testNewFixedThreadPool4()
179 shouldThrow(); in testUnconfigurableExecutorServiceNPE()
189 shouldThrow(); in testUnconfigurableScheduledExecutorServiceNPE()
424 shouldThrow(); in testCreatePrivilegedCallableUsingCCLWithNoPrivs()
462 shouldThrow(); in testPrivilegedCallableWithNoPrivs()
574 shouldThrow(); in testCallableNPE1()
[all …]
DForkJoinPoolTest.java192 shouldThrow(); in testConstructor1()
202 shouldThrow(); in testConstructor2()
351 shouldThrow(); in testSubmitAfterShutdown()
539 shouldThrow(); in testSubmitFailedPrivilegedExceptionAction()
558 shouldThrow(); in testExecuteNullRunnable()
572 shouldThrow(); in testSubmitNullCallable()
618 shouldThrow(); in testSubmitEE()
633 shouldThrow(); in testInvokeAny1()
647 shouldThrow(); in testInvokeAny2()
663 shouldThrow(); in testInvokeAny3()
[all …]
DCyclicBarrierTest.java56 shouldThrow(); in testConstructor1()
66 shouldThrow(); in testConstructor2()
187 shouldThrow(); in testAwait3_TimeoutException()
205 shouldThrow(); in testAwait4_Timeout_BrokenBarrier()
214 shouldThrow(); in testAwait4_Timeout_BrokenBarrier()
233 shouldThrow(); in testAwait5_Timeout_BrokenBarrier()
242 shouldThrow(); in testAwait5_Timeout_BrokenBarrier()
315 shouldThrow(); in testReset_Leakage()
405 shouldThrow(); in testResetAfterTimeout()
414 shouldThrow(); in testResetAfterTimeout()
[all …]
DRecursiveActionTest.java76 shouldThrow(); in checkNotDone()
83 shouldThrow(); in checkNotDone()
90 shouldThrow(); in checkNotDone()
123 shouldThrow(); in checkCancelled()
129 shouldThrow(); in checkCancelled()
135 shouldThrow(); in checkCancelled()
152 shouldThrow(); in checkCompletedAbnormally()
159 shouldThrow(); in checkCompletedAbnormally()
166 shouldThrow(); in checkCompletedAbnormally()
285 shouldThrow(); in testJoinIgnoresInterrupts()
[all …]
DArrayDequeTest.java59 shouldThrow(); in testConstructor3()
70 shouldThrow(); in testConstructor4()
83 shouldThrow(); in testConstructor5()
135 shouldThrow(); in testPushNull()
159 shouldThrow(); in testPop()
170 shouldThrow(); in testOfferNull()
181 shouldThrow(); in testOfferFirstNull()
192 shouldThrow(); in testOfferLastNull()
236 shouldThrow(); in testAddNull()
247 shouldThrow(); in testAddFirstNull()
[all …]
DConcurrentLinkedQueueTest.java60 shouldThrow(); in testConstructor3()
71 shouldThrow(); in testConstructor4()
84 shouldThrow(); in testConstructor5()
136 shouldThrow(); in testOfferNull()
147 shouldThrow(); in testAddNull()
178 shouldThrow(); in testAddAll1()
189 shouldThrow(); in testAddAllSelf()
201 shouldThrow(); in testAddAll2()
216 shouldThrow(); in testAddAll3()
271 shouldThrow(); in testElement()
[all …]
DPriorityQueueTest.java68 shouldThrow(); in testConstructor2()
78 shouldThrow(); in testConstructor3()
89 shouldThrow(); in testConstructor4()
102 shouldThrow(); in testConstructor5()
169 shouldThrow(); in testOfferNull()
180 shouldThrow(); in testAddNull()
201 shouldThrow(); in testOfferNonComparable()
223 shouldThrow(); in testAddAll1()
235 shouldThrow(); in testAddAll2()
250 shouldThrow(); in testAddAll3()
[all …]
DRecursiveTaskTest.java73 shouldThrow(); in checkNotDone()
80 shouldThrow(); in checkNotDone()
87 shouldThrow(); in checkNotDone()
140 shouldThrow(); in checkCancelled()
146 shouldThrow(); in checkCancelled()
152 shouldThrow(); in checkCancelled()
169 shouldThrow(); in checkCompletedAbnormally()
176 shouldThrow(); in checkCompletedAbnormally()
183 shouldThrow(); in checkCompletedAbnormally()
354 shouldThrow(); in testAbnormalInvoke()
[all …]
DCountDownLatchTest.java35 shouldThrow(); in testConstructor()
122 shouldThrow(); in testAwait_Interruptible()
129 shouldThrow(); in testAwait_Interruptible()
153 shouldThrow(); in testTimedAwait_Interruptible()
160 shouldThrow(); in testTimedAwait_Interruptible()
DFutureTaskTest.java128 shouldThrow(); in checkCancelled()
134 shouldThrow(); in checkCancelled()
153 shouldThrow(); in checkCompletedAbnormally()
160 shouldThrow(); in checkCompletedAbnormally()
241 shouldThrow(); in testConstructor()
251 shouldThrow(); in testConstructor2()
327 shouldThrow(); in testSetException_get()
335 shouldThrow(); in testSetException_get()
423 shouldThrow(); in testCancelInterrupt()
467 shouldThrow(); in testCancelInterrupt_ThrowsSecurityException()
[all …]
DCopyOnWriteArrayListTest.java252 shouldThrow(); in testIterator()
286 shouldThrow(); in testIteratorRemove()
512 shouldThrow(); in testToArray_ArrayStoreException()
525 shouldThrow(); in testGet1_IndexOutOfBoundsException()
539 shouldThrow(); in testGet2_IndexOutOfBoundsException()
553 shouldThrow(); in testSet1_IndexOutOfBoundsException()
567 shouldThrow(); in testSet2()
581 shouldThrow(); in testAdd1_IndexOutOfBoundsException()
595 shouldThrow(); in testAdd2_IndexOutOfBoundsException()
609 shouldThrow(); in testRemove1_IndexOutOfBounds()
[all …]
DCountedCompleterTest.java87 shouldThrow(); in checkNotDone()
139 shouldThrow();
152 shouldThrow();
158 shouldThrow();
176 shouldThrow();
190 shouldThrow();
197 shouldThrow();
204 shouldThrow();
324 shouldThrow();
692 shouldThrow(); in testForkTimedGetNPE()
[all …]
DAtomicReferenceFieldUpdaterTest.java43 shouldThrow(); in testConstructor()
55 shouldThrow(); in testConstructor2()
65 shouldThrow(); in testConstructor3()
75 shouldThrow(); in testConstructor4()
DSynchronousQueueTest.java86 shouldThrow(); in testAdd()
99 shouldThrow(); in testAddAll_self()
116 shouldThrow(); in testAddAll_ISE()
133 shouldThrow(); in testBlockingPut()
140 shouldThrow(); in testBlockingPut()
169 shouldThrow(); in testPutWithTake()
202 shouldThrow(); in testTimedOffer()
270 shouldThrow(); in testTimedPollWithOffer()
277 shouldThrow(); in testTimedPollWithOffer()
313 shouldThrow();
[all …]
DLinkedBlockingQueueTest.java85 shouldThrow(); in testConstructor2()
95 shouldThrow(); in testConstructor3()
106 shouldThrow(); in testConstructor4()
121 shouldThrow(); in testConstructor5()
188 shouldThrow(); in testAdd()
199 shouldThrow(); in testAddAllSelf()
215 shouldThrow(); in testAddAll3()
230 shouldThrow(); in testAddAll4()
278 shouldThrow(); in testBlockingPut()
285 shouldThrow(); in testBlockingPut()
[all …]

123