public class SchedulersTest
extends java.lang.Object
构造器和说明 |
---|
SchedulersTest() |
@AfterEach public void resetSchedulers()
@Test public void schedulerDecoratorIsAdditive() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void schedulerDecoratorIsReplaceable() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void schedulerDecoratorAddsSameIfDifferentKeys()
@Test public void schedulerDecoratorAddsOnceIfSameKey()
@Test public void schedulerDecoratorDisposedWhenRemoved()
@Test public void schedulerDecoratorEmptyDecorators()
@Test public void schedulerDecoratorRemovesKnown()
@Test public void schedulerDecoratorRemoveUnknownIgnored()
@Test public void parallelSchedulerDefaultNonBlocking() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void singleSchedulerDefaultNonBlocking() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void boundedElasticSchedulerDefaultBlockingOk() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void isInNonBlockingThreadFalse()
@Test public void isNonBlockingThreadInstanceOf()
@Test public void isInNonBlockingThreadTrue()
@Test public void handleErrorWithJvmFatalForwardsToUncaughtHandlerFusedCallable()
@Test public void handleErrorWithJvmFatalForwardsToUncaughtHandlerSyncCallable()
@Test public void handleErrorWithJvmFatalForwardsToUncaughtHandlerSyncInnerCallable()
@Test public void handleErrorWithJvmFatalForwardsToUncaughtHandlerFusedInnerCallable()
@Test public void testOverride()
@Test public void testShutdownOldOnSetFactory()
@Test public void shutdownNowClosesAllCachedSchedulers()
@Test public void testUncaughtHookCalledWhenOnErrorNotImplemented()
@Test public void testUncaughtHookCalledWhenCommonException()
@Test public void testUncaughtHooksCalledWhenThreadDeath()
@Test @Tag(value="slow") public void testRejectingSingleScheduler()
@Test @Tag(value="slow") public void testRejectingParallelScheduler()
@Test @Tag(value="slow") public void testRejectingExecutorServiceScheduler()
@Test public void testDispatch() throws java.lang.Exception
java.lang.Exception
@Test public void immediateTaskIsExecuted() throws java.lang.Exception
java.lang.Exception
@Test public void singleSchedulerPipelining() throws java.lang.Exception
java.lang.Exception
@Test public void testCachedSchedulerDelegates()
@Test @Timeout(value=5L) public void parallelSchedulerThreadCheck() throws java.lang.Exception
java.lang.Exception
@Test @Timeout(value=5L) public void singleSchedulerThreadCheck() throws java.lang.Exception
java.lang.Exception
@Test @Timeout(value=5L) public void boundedElasticSchedulerThreadCheck() throws java.lang.Exception
java.lang.Exception
@Test @Timeout(value=5L) public void executorThreadCheck() throws java.lang.Exception
java.lang.Exception
@Test @Timeout(value=5L) public void executorThreadCheck2() throws java.lang.Exception
java.lang.Exception
@Test @Timeout(value=5L) public void sharedSingleCheck() throws java.lang.Exception
java.lang.Exception
@Test public void recursiveParallelCall() throws java.lang.Exception
java.lang.Exception
@Test public void pingPongParallelCall() throws java.lang.Exception
java.lang.Exception
@Test public void restartParallel()
@Test public void restartBoundedElastic()
@Test public void restartSingle()
@Test public void testDefaultMethods()
@Test public void testDisposeGracefully()
@Test public void scanExecutorCapacity()
@Test public void scanSupportBuffered() throws java.lang.InterruptedException
java.lang.InterruptedException
@Test public void testDirectSchedulePeriodicallyCancelsSchedulerTask() throws java.lang.Exception
java.lang.Exception
@Test public void testDirectScheduleZeroPeriodicallyCancelsSchedulerTask() throws java.lang.Exception
java.lang.Exception
@Test public void scheduleInstantTaskTest() throws java.lang.Exception
java.lang.Exception
@Test public void scheduleInstantTaskWithDelayTest() throws java.lang.Exception
java.lang.Exception
@Test public void testWorkerSchedulePeriodicallyCancelsSchedulerTask() throws java.lang.Exception
java.lang.Exception
@Test public void testWorkerScheduleRejectedWithDisposedParent()
@Test public void testWorkerScheduleSupportZeroPeriodWithDelayPeriod()
@Test public void testWorkerScheduleSupportZeroPeriod() throws java.lang.InterruptedException
java.lang.InterruptedException