Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionListTest.java56 final AtomicInteger runCalled = new AtomicInteger(); in testExecute_idempotent() local
59 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() local
79 runCalled.getAndIncrement(); in testExecute_idempotentConcurrently()
91 assertEquals(0, runCalled.get()); in testExecute_idempotentConcurrently()
95 assertEquals(1, runCalled.get()); in testExecute_idempotentConcurrently()
DAbstractExecutionThreadServiceTest.java119 private boolean runCalled = false; field in AbstractExecutionThreadServiceTest.WaitOnRunService
125 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.FakeService
356 assertEquals(0, runCalled); in startUp()
363 assertEquals(0, runCalled); in run()
[all …]