public class VirtualTimeSchedulerTests
extends java.lang.Object
构造器和说明 |
---|
VirtualTimeSchedulerTests() |
限定符和类型 | 方法和说明 |
---|---|
void |
allEnabled() |
void |
cancelledAndEmptyConstantsAreNotSame() |
void |
captureNowInScheduledTask() |
void |
cleanup() |
void |
disposedSchedulerIsStillCleanedUp() |
void |
doubleCreationOfVtsCorrectlyResetsOriginalCustomFactory() |
void |
enableProvidedAllSchedulerIdempotent() |
void |
enableTwoSimilarSchedulersUsesFirst() |
void |
getOrSetWithDefer() |
void |
nestedSchedule() |
void |
racingAdvanceTimeOnEmptyQueue() |
void |
racingAdvanceTimeOnFullQueue() |
void |
racingAdvanceTimeOnVaryingQueue() |
void |
resetRestoresSnapshotOfSchedulers() |
void |
scheduledTaskCount() |
void |
scheduledTaskCountBySchedulePeriodically() |
void |
scheduledTaskCountWithInitialDelay() |
void |
scheduledTaskCountWithNoInitialDelay() |
@Test public void cancelledAndEmptyConstantsAreNotSame()
@Test public void allEnabled()
@Test public void enableProvidedAllSchedulerIdempotent()
@Test public void enableTwoSimilarSchedulersUsesFirst()
@Test public void disposedSchedulerIsStillCleanedUp()
@Test public void captureNowInScheduledTask()
@Test public void nestedSchedule()
@Test public void racingAdvanceTimeOnEmptyQueue()
@Test public void racingAdvanceTimeOnFullQueue()
@Test public void racingAdvanceTimeOnVaryingQueue()
@Test public void scheduledTaskCount()
@Test public void scheduledTaskCountWithInitialDelay()
@Test public void scheduledTaskCountWithNoInitialDelay()
@Test public void scheduledTaskCountBySchedulePeriodically()
@Test public void getOrSetWithDefer()
@Test public void resetRestoresSnapshotOfSchedulers()
@Test public void doubleCreationOfVtsCorrectlyResetsOriginalCustomFactory()
@AfterEach public void cleanup()