Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractExecutionThreadServiceTest.java74 assertTrue(service.shutDownCalled); in testServiceStartStop()
108 assertTrue(service.shutDownCalled); in testServiceExitingOnItsOwn()
114 assertTrue(service.shutDownCalled); in testServiceExitingOnItsOwn()
120 private boolean shutDownCalled = false; field in AbstractExecutionThreadServiceTest.WaitOnRunService
126 assertFalse(shutDownCalled); in startUp()
134 assertFalse(shutDownCalled); in run()
149 assertFalse(shutDownCalled); in shutDown()
150 shutDownCalled = true; in shutDown()
209 assertTrue(service.shutDownCalled); in testServiceThrowOnRun()
227 assertTrue(service.shutDownCalled); in testServiceThrowOnRunAndThenAgainOnShutDown()
[all …]
DAbstractIdleServiceTest.java124 assertEquals(0, service.shutDownCalled); in testStop_withoutStart()
133 assertEquals(0, service.shutDownCalled); in testStop_afterStart()
136 assertEquals(1, service.shutDownCalled); in testStop_afterStart()
152 assertEquals(0, service.shutDownCalled); in testStop_failed()
160 assertEquals(1, service.shutDownCalled); in testStop_failed()
194 int shutDownCalled = 0; field in AbstractIdleServiceTest.TestService
199 assertEquals(0, shutDownCalled); in startUp()
206 assertEquals(0, shutDownCalled); in shutDown()
207 shutDownCalled++; in shutDown()
DAbstractScheduledServiceTest.java224 volatile boolean shutDownCalled = false; field in AbstractScheduledServiceTest.TestService
235 assertFalse(shutDownCalled); in runOneIteration()
248 assertFalse(shutDownCalled); in startUp()
259 assertFalse(shutDownCalled); in shutDown()
260 shutDownCalled = true; in shutDown()