Searched refs:runCalled (Results 1 – 2 of 2) sorted by relevance
57 final AtomicInteger runCalled = new AtomicInteger(); in testExecute_idempotent() local60 runCalled.getAndIncrement(); in testExecute_idempotent()64 assertEquals(1, runCalled.get()); in testExecute_idempotent()66 assertEquals(1, runCalled.get()); in testExecute_idempotent()71 final AtomicInteger runCalled = new AtomicInteger(); in testExecute_idempotentConcurrently() local80 runCalled.getAndIncrement(); in testExecute_idempotentConcurrently()92 assertEquals(0, runCalled.get()); in testExecute_idempotentConcurrently()96 assertEquals(1, runCalled.get()); in testExecute_idempotentConcurrently()
119 private boolean runCalled = false; field in AbstractExecutionThreadServiceTest.WaitOnRunService125 assertFalse(runCalled); in startUp()133 assertFalse(runCalled); in run()135 runCalled = true; in run()148 assertTrue(runCalled); in shutDown()322 assertEquals(0, service.runCalled); in testStopWhileStarting_runNotCalled()331 assertEquals(0, service.runCalled); in testStop_noStart()352 volatile int runCalled = 0; field in AbstractExecutionThreadServiceTest.FakeService356 assertEquals(0, runCalled); in startUp()363 assertEquals(0, runCalled); in run()[all …]