public class ForkJoinPool8Test extends JSR166TestCase
Modifier and Type | Class and Description |
---|---|
static class |
ForkJoinPool8Test.FJException |
JSR166TestCase.AdjustablePolicy, JSR166TestCase.CallableOne, JSR166TestCase.CheckedBarrier, JSR166TestCase.CheckedCallable<T>, JSR166TestCase.CheckedInterruptedCallable<T>, JSR166TestCase.CheckedInterruptedRunnable, JSR166TestCase.CheckedRecursiveAction, JSR166TestCase.CheckedRecursiveTask<T>, JSR166TestCase.CheckedRunnable, JSR166TestCase.LongPossiblyInterruptedRunnable, JSR166TestCase.MediumInterruptedRunnable, JSR166TestCase.MediumPossiblyInterruptedRunnable, JSR166TestCase.MediumRunnable, JSR166TestCase.NoOpCallable, JSR166TestCase.NoOpREHandler, JSR166TestCase.NoOpRunnable, JSR166TestCase.NPETask, JSR166TestCase.RunnableShouldThrow, JSR166TestCase.ShortInterruptedRunnable, JSR166TestCase.ShortRunnable, JSR166TestCase.SimpleThreadFactory, JSR166TestCase.SmallCallable, JSR166TestCase.SmallPossiblyInterruptedRunnable, JSR166TestCase.SmallRunnable, JSR166TestCase.StringTask, JSR166TestCase.ThreadShouldThrow, JSR166TestCase.TrackedCallable, JSR166TestCase.TrackedLongRunnable, JSR166TestCase.TrackedMediumRunnable, JSR166TestCase.TrackedNoOpRunnable, JSR166TestCase.TrackedRunnable, JSR166TestCase.TrackedShortRunnable, JSR166TestCase.TrackedSmallRunnable
eight, expensiveTests, five, four, JAVA_CLASS_VERSION, JAVA_SPECIFICATION_VERSION, LONG_DELAY_MS, m1, m10, m2, m3, m4, m5, m6, MEDIUM_DELAY_MS, nine, one, seven, SHORT_DELAY_MS, six, SIZE, SMALL_DELAY_MS, TEST_STRING, testImplementationDetails, three, two, zero
Constructor and Description |
---|
ForkJoinPool8Test() |
Modifier and Type | Method and Description |
---|---|
void |
testAbnormalForkGet()
get of a forked task throws exception when task completes abnormally
|
void |
testAbnormalForkGetCC()
get of a forked task throws exception when task completes abnormally
|
void |
testAbnormalForkJoin()
join of a forked task throws exception when task completes abnormally
|
void |
testAbnormalForkJoinCC()
join of a forked task throws exception when task completes abnormally
|
void |
testAbnormalForkQuietlyJoin()
quietlyJoin of a forked task returns when task completes abnormally
|
void |
testAbnormalForkQuietlyJoinCC()
quietlyJoin of a forked task returns when task completes abnormally
|
void |
testAbnormalForkTimedGet()
timed get of a forked task throws exception when task completes abnormally
|
void |
testAbnormalForkTimedGetCC()
timed get of a forked task throws exception when task completes abnormally
|
void |
testAbnormalInvoke()
invoke task throws exception when task completes abnormally
|
void |
testAbnormalInvokeAll1()
invokeAll(tasks) with 1 argument throws exception if task does
|
void |
testAbnormalInvokeAll1CC()
invokeAll(tasks) with 1 argument throws exception if task does
|
void |
testAbnormalInvokeAll2()
invokeAll(t1, t2) throw exception if any task does
|
void |
testAbnormalInvokeAll2CC()
invokeAll(t1, t2) throw exception if any task does
|
void |
testAbnormalInvokeAll3()
invokeAll(tasks) with > 2 argument throws exception if any task does
|
void |
testAbnormalInvokeAll3CC()
invokeAll(tasks) with > 2 argument throws exception if any task does
|
void |
testAbnormalInvokeAllCollection()
invokeAll(collection) throws exception if any task does
|
void |
testAbnormalInvokeAllCollectionCC()
invokeAll(collection) throws exception if any task does
|
void |
testAbnormalInvokeCC()
invoke task throws exception when task completes abnormally
|
void |
testAbnormalQuietlyInvoke()
quietlyInvoke task returns when task completes abnormally
|
void |
testAbnormalQuietlyInvokeCC()
quietlyInvoke task returns when task completes abnormally
|
void |
testAwaitQuiescence1()
awaitQuiescence by a worker is equivalent in effect to
ForkJoinTask.helpQuiesce()
|
void |
testAwaitQuiescence2()
awaitQuiescence returns when pool isQuiescent() or the indicated
timeout elapsed
|
void |
testCancelledForkGet()
get of a forked task throws exception when task cancelled
|
void |
testCancelledForkGetCC()
get of a forked task throws exception when task cancelled
|
void |
testCancelledForkJoin()
join of a forked task throws exception when task cancelled
|
void |
testCancelledForkJoinCC()
join of a forked task throws exception when task cancelled
|
void |
testCancelledForkQuietlyJoin()
quietlyJoin of a forked task returns when task cancelled
|
void |
testCancelledForkQuietlyJoinCC()
quietlyJoin of a forked task returns when task cancelled
|
void |
testCancelledForkTimedGet()
timed get of a forked task throws exception when task cancelled
|
void |
testCancelledForkTimedGetCC()
timed get of a forked task throws exception when task cancelled
|
void |
testCancelledInvoke()
invoke task throws exception when task cancelled
|
void |
testCancelledInvokeCC()
invoke task throws exception when task cancelled
|
void |
testCommonPoolParallelism()
Common pool exists and has expected parallelism.
|
void |
testCommonPoolShutDown()
Common pool cannot be shut down
|
void |
testComplete()
invoke task suppresses execution invoking complete
|
void |
testCompleteExceptionally()
invoke task throws exception after invoking completeExceptionally
|
void |
testCompleteExceptionally2CC()
invoke task throws exception after invoking completeExceptionally
|
void |
testForkGet()
get of a forked task returns when task completes
|
void |
testForkGetCC()
get of a forked task returns when task completes
|
void |
testForkJoin()
join of a forked task returns when task completes
|
void |
testForkJoinCC()
join of a forked task returns when task completes
|
void |
testForkQuietlyJoin()
quietlyJoin of a forked task returns when task completes
|
void |
testForkQuietlyJoinCC()
quietlyJoin of a forked task returns when task completes
|
void |
testForkTimedGet()
timed get of a forked task returns when task completes
|
void |
testForkTimedGetCC()
timed get of a forked task returns when task completes
|
void |
testForkTimedGetNPE()
timed get with null time unit throws NPE
|
void |
testForkTimedGetNPECC()
timed get with null time unit throws NPE
|
void |
testGetPool2CC()
getPool of non-FJ task returns null
|
void |
testInForkJoinPool2()
inForkJoinPool of non-FJ task returns false
|
void |
testInForkJoinPool2CC()
inForkJoinPool of non-FJ task returns false
|
void |
testInvoke()
invoke returns when task completes normally.
|
void |
testInvokeAll1()
invokeAll(tasks) with 1 argument invokes task
|
void |
testInvokeAll1CC()
invokeAll(tasks) with 1 argument invokes task
|
void |
testInvokeAll2()
invokeAll(t1, t2) invokes all task arguments
|
void |
testInvokeAll2CC()
invokeAll(t1, t2) invokes all task arguments
|
void |
testInvokeAll3()
invokeAll(tasks) with > 2 argument invokes tasks
|
void |
testInvokeAll3CC()
invokeAll(tasks) with > 2 argument invokes tasks
|
void |
testInvokeAllCollection()
invokeAll(collection) invokes all tasks in the collection
|
void |
testInvokeAllCollectionCC()
invokeAll(collection) invokes all tasks in the collection
|
void |
testInvokeAllNPE()
invokeAll(tasks) with any null task throws NPE
|
void |
testInvokeAllNPECC()
invokeAll(tasks) with any null task throws NPE
|
void |
testInvokeCC()
invoke returns when task completes normally.
|
void |
testJoinIgnoresInterrupts()
join/quietlyJoin of a forked task succeeds in the presence of interrupts
|
void |
testQuietlyInvoke()
quietlyInvoke task returns when task completes normally.
|
void |
testQuietlyInvokeCC()
quietlyInvoke task returns when task completes normally.
|
void |
testReinitialize()
A reinitialized normally completed task may be re-invoked
|
void |
testReinitializeAbnormal()
A reinitialized abnormally completed task may be re-invoked
|
void |
testSetRawResultCC()
setRawResult(null) succeeds
|
addNamedTestClasses, assertIteratorExhausted, assertThrows, atLeastJava10, atLeastJava6, atLeastJava7, atLeastJava8, atLeastJava9, await, await, await, awaiter, countDowner, getShortDelay, jdk8ParameterizedTestSuite, latchAwaitingStringTask, newTestSuite, parameterizedTestSuite, permissivePolicy, possiblyInterruptedRunnable, runBare, runTest, runTestProfiled, runWithoutPermissions, runWithPermissions, runWithSecurityManagerWithPermissions, setDelays, setUp, shouldThrow, shouldThrow, tearDown, testMethodNames, threadAssertEquals, threadAssertEquals, threadAssertFalse, threadAssertNull, threadAssertSame, threadAssertTrue, threadFail, threadRecordFailure, threadShouldThrow, threadShouldThrow, threadUnexpectedException, trackedRunnable
public void testCommonPoolParallelism()
public void testCommonPoolShutDown()
public void testInvoke()
public void testQuietlyInvoke()
public void testForkJoin()
public void testJoinIgnoresInterrupts()
public void testForkGet()
public void testForkTimedGet()
public void testForkTimedGetNPE()
public void testForkQuietlyJoin()
public void testAbnormalInvoke()
public void testAbnormalQuietlyInvoke()
public void testAbnormalForkJoin()
public void testAbnormalForkGet()
public void testAbnormalForkTimedGet()
public void testAbnormalForkQuietlyJoin()
public void testCancelledInvoke()
public void testCancelledForkJoin()
public void testCancelledForkGet()
public void testCancelledForkTimedGet()
public void testCancelledForkQuietlyJoin()
public void testInForkJoinPool2()
public void testReinitialize()
public void testReinitializeAbnormal()
public void testCompleteExceptionally()
public void testComplete()
public void testInvokeAll2()
public void testInvokeAll1()
public void testInvokeAll3()
public void testInvokeAllCollection()
public void testInvokeAllNPE()
public void testAbnormalInvokeAll2()
public void testAbnormalInvokeAll1()
public void testAbnormalInvokeAll3()
public void testAbnormalInvokeAllCollection()
public void testInvokeCC()
public void testQuietlyInvokeCC()
public void testForkJoinCC()
public void testForkGetCC()
public void testForkTimedGetCC()
public void testForkTimedGetNPECC()
public void testForkQuietlyJoinCC()
public void testAbnormalInvokeCC()
public void testAbnormalQuietlyInvokeCC()
public void testAbnormalForkJoinCC()
public void testAbnormalForkGetCC()
public void testAbnormalForkTimedGetCC()
public void testAbnormalForkQuietlyJoinCC()
public void testCancelledInvokeCC()
public void testCancelledForkJoinCC()
public void testCancelledForkGetCC()
public void testCancelledForkTimedGetCC() throws Exception
Exception
public void testCancelledForkQuietlyJoinCC()
public void testGetPool2CC()
public void testInForkJoinPool2CC()
public void testSetRawResultCC()
public void testCompleteExceptionally2CC()
public void testInvokeAll2CC()
public void testInvokeAll1CC()
public void testInvokeAll3CC()
public void testInvokeAllCollectionCC()
public void testInvokeAllNPECC()
public void testAbnormalInvokeAll2CC()
public void testAbnormalInvokeAll1CC()
public void testAbnormalInvokeAll3CC()
public void testAbnormalInvokeAllCollectionCC()
public void testAwaitQuiescence1() throws Exception
Exception