public class LockSupportTest extends JSR166TestCase
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 |
---|
LockSupportTest() |
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 testParkBeforeUnpark_park()
public void testParkBeforeUnpark_parkNanos()
public void testParkBeforeUnpark_parkUntil()
public void testParkBeforeUnpark_parkBlocker()
public void testParkBeforeUnpark_parkNanosBlocker()
public void testParkBeforeUnpark_parkUntilBlocker()
public void testParkBeforeUnpark(jsr166.LockSupportTest.ParkMethod parkMethod)
public void testParkAfterUnpark_park()
public void testParkAfterUnpark_parkNanos()
public void testParkAfterUnpark_parkUntil()
public void testParkAfterUnpark_parkBlocker()
public void testParkAfterUnpark_parkNanosBlocker()
public void testParkAfterUnpark_parkUntilBlocker()
public void testParkAfterUnpark(jsr166.LockSupportTest.ParkMethod parkMethod)
public void testParkBeforeInterrupt_park()
public void testParkBeforeInterrupt_parkNanos()
public void testParkBeforeInterrupt_parkUntil()
public void testParkBeforeInterrupt_parkBlocker()
public void testParkBeforeInterrupt_parkNanosBlocker()
public void testParkBeforeInterrupt_parkUntilBlocker()
public void testParkBeforeInterrupt(jsr166.LockSupportTest.ParkMethod parkMethod)
public void testParkAfterInterrupt_park()
public void testParkAfterInterrupt_parkNanos()
public void testParkAfterInterrupt_parkUntil()
public void testParkAfterInterrupt_parkBlocker()
public void testParkAfterInterrupt_parkNanosBlocker()
public void testParkAfterInterrupt_parkUntilBlocker()
public void testParkAfterInterrupt(jsr166.LockSupportTest.ParkMethod parkMethod)
public void testParkTimesOut_parkNanos()
public void testParkTimesOut_parkUntil()
public void testParkTimesOut_parkNanosBlocker()
public void testParkTimesOut_parkUntilBlocker()
public void testParkTimesOut(jsr166.LockSupportTest.ParkMethod parkMethod)
public void testGetBlockerNull()
public void testGetBlocker_parkBlocker()
public void testGetBlocker_parkNanosBlocker()
public void testGetBlocker_parkUntilBlocker()
public void testGetBlocker(jsr166.LockSupportTest.ParkMethod parkMethod)
public void testPark0_parkNanos()
public void testPark0_parkUntil()
public void testPark0_parkNanosBlocker()
public void testPark0_parkUntilBlocker()
public void testPark0(jsr166.LockSupportTest.ParkMethod parkMethod)
public void testParkNeg_parkNanos()
public void testParkNeg_parkUntil()
public void testParkNeg_parkNanosBlocker()
public void testParkNeg_parkUntilBlocker()
public void testParkNeg(jsr166.LockSupportTest.ParkMethod parkMethod)