Home
last modified time | relevance | path

Searched refs:testTaskRunner (Results 1 – 1 of 1) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DSingletonRunnerTest.java51 TestTaskRunner testTaskRunner = new TestTaskRunner(); in testShouldReturnSameFutureIfTaskIsNotCompleted() local
53 … SingletonRunner<Integer> singletonRunner = new SingletonRunner<>("Test task", testTaskRunner); in testShouldReturnSameFutureIfTaskIsNotCompleted()
60 TestTaskRunner testTaskRunner = new TestTaskRunner(); in testShouldReturnDifferentFuturesIfTaskIsCompleted() local
62 … SingletonRunner<Integer> singletonRunner = new SingletonRunner<>("Test task", testTaskRunner); in testShouldReturnDifferentFuturesIfTaskIsCompleted()
64 testTaskRunner.mTestHasDecidedToStop.countDown(); in testShouldReturnDifferentFuturesIfTaskIsCompleted()
73 TestTaskRunner testTaskRunner = new TestTaskRunner(); in testShouldRunOnce() local
75 … 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 …]