Searched refs:runCalled (Results 1 – 2 of 2) sorted by relevance
56 final AtomicInteger runCalled = new AtomicInteger(); in testExecute_idempotent() local59 runCalled.getAndIncrement(); in testExecute_idempotent()63 assertEquals(1, runCalled.get()); in testExecute_idempotent()65 assertEquals(1, runCalled.get()); in testExecute_idempotent()70 final AtomicInteger runCalled = new AtomicInteger(); in testExecute_idempotentConcurrently() local79 runCalled.getAndIncrement(); in testExecute_idempotentConcurrently()91 assertEquals(0, runCalled.get()); in testExecute_idempotentConcurrently()95 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 …]