Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractIdleServiceTest.java93 assertEquals(0, service.startUpCalled); in testStart()
95 assertEquals(1, service.startUpCalled); in testStart()
108 assertEquals(0, service.startUpCalled); in testStart_failed()
115 assertEquals(1, service.startUpCalled); in testStart_failed()
123 assertEquals(0, service.startUpCalled); in testStop_withoutStart()
132 assertEquals(1, service.startUpCalled); in testStop_afterStart()
135 assertEquals(1, service.startUpCalled); in testStop_afterStart()
151 assertEquals(1, service.startUpCalled); in testStop_failed()
159 assertEquals(1, service.startUpCalled); in testStop_failed()
193 int startUpCalled = 0; field in AbstractIdleServiceTest.TestService
[all …]
DAbstractExecutionThreadServiceTest.java65 assertFalse(service.startUpCalled); in testServiceStartStop()
68 assertTrue(service.startUpCalled); in testServiceStartStop()
102 assertTrue(service.startUpCalled); in testServiceExitingOnItsOwn()
118 private boolean startUpCalled = false; field in AbstractExecutionThreadServiceTest.WaitOnRunService
124 assertFalse(startUpCalled); in startUp()
127 startUpCalled = true; in startUp()
132 assertTrue(startUpCalled); in run()
147 assertTrue(startUpCalled); in shutDown()
165 assertFalse(service.startUpCalled); in testServiceThrowOnStartUp()
176 assertTrue(service.startUpCalled); in testServiceThrowOnStartUp()
[all …]
DAbstractScheduledServiceTest.java223 volatile boolean startUpCalled = false; field in AbstractScheduledServiceTest.TestService
234 assertTrue(startUpCalled); in runOneIteration()
247 assertFalse(startUpCalled); in startUp()
249 startUpCalled = true; in startUp()
258 assertTrue(startUpCalled); in shutDown()