Searched refs:testTaskRunner (Results 1 – 1 of 1) sorted by relevance
51 TestTaskRunner testTaskRunner = new TestTaskRunner(); in testShouldReturnSameFutureIfTaskIsNotCompleted() local53 … SingletonRunner<Integer> singletonRunner = new SingletonRunner<>("Test task", testTaskRunner); in testShouldReturnSameFutureIfTaskIsNotCompleted()60 TestTaskRunner testTaskRunner = new TestTaskRunner(); in testShouldReturnDifferentFuturesIfTaskIsCompleted() local62 … SingletonRunner<Integer> singletonRunner = new SingletonRunner<>("Test task", testTaskRunner); in testShouldReturnDifferentFuturesIfTaskIsCompleted()64 testTaskRunner.mTestHasDecidedToStop.countDown(); in testShouldReturnDifferentFuturesIfTaskIsCompleted()73 TestTaskRunner testTaskRunner = new TestTaskRunner(); in testShouldRunOnce() local75 … SingletonRunner<Integer> singletonRunner = new SingletonRunner<>("Test task", testTaskRunner); in testShouldRunOnce()78 testTaskRunner.mTestHasDecidedToStop.countDown(); in testShouldRunOnce()81 assertThat(testTaskRunner.mInvocationCount.get()).isEqualTo(1); in testShouldRunOnce()86 TestTaskRunner testTaskRunner = new TestTaskRunner(); in testShouldRunOnceMultipleStartStops() local[all …]