Lines Matching refs:kTestEnvironment
141 kTestEnvironment.setExpectedExecutions(1); in testChargingConstraintExecutes()
142 kTestEnvironment.setExpectedWaitForRun(); in testChargingConstraintExecutes()
145 kTestEnvironment.readyToRun(); in testChargingConstraintExecutes()
148 kTestEnvironment.awaitExecution()); in testChargingConstraintExecutes()
161 kTestEnvironment.setExpectedExecutions(1); in testBatteryNotLowConstraintExecutes_withPower()
162 kTestEnvironment.setExpectedWaitForRun(); in testBatteryNotLowConstraintExecutes_withPower()
165 kTestEnvironment.readyToRun(); in testBatteryNotLowConstraintExecutes_withPower()
168 kTestEnvironment.awaitExecution()); in testBatteryNotLowConstraintExecutes_withPower()
186 kTestEnvironment.setExpectedExecutions(1); in testBatteryNotLowConstraintExecutes_withoutPower()
187 kTestEnvironment.setExpectedWaitForRun(); in testBatteryNotLowConstraintExecutes_withoutPower()
190 kTestEnvironment.readyToRun(); in testBatteryNotLowConstraintExecutes_withoutPower()
193 kTestEnvironment.awaitExecution()); in testBatteryNotLowConstraintExecutes_withoutPower()
213 kTestEnvironment.setExpectedExecutions(0); in testChargingConstraintFails()
214 kTestEnvironment.setExpectedWaitForRun(); in testChargingConstraintFails()
218 kTestEnvironment.readyToRun(); in testChargingConstraintFails()
221 kTestEnvironment.awaitExecution(250)); in testChargingConstraintFails()
226 kTestEnvironment.setExpectedExecutions(1); in testChargingConstraintFails()
227 kTestEnvironment.setExpectedWaitForRun(); in testChargingConstraintFails()
228 kTestEnvironment.setContinueAfterStart(); in testChargingConstraintFails()
231 kTestEnvironment.setExpectedStopped(); in testChargingConstraintFails()
233 kTestEnvironment.readyToRun(); in testChargingConstraintFails()
235 kTestEnvironment.awaitExecution()); in testChargingConstraintFails()
241 kTestEnvironment.awaitStopped()); in testChargingConstraintFails()
267 kTestEnvironment.setExpectedExecutions(0); in testBatteryNotLowConstraintFails_withoutPower()
268 kTestEnvironment.setExpectedWaitForRun(); in testBatteryNotLowConstraintFails_withoutPower()
272 kTestEnvironment.readyToRun(); in testBatteryNotLowConstraintFails_withoutPower()
275 kTestEnvironment.awaitExecution(250)); in testBatteryNotLowConstraintFails_withoutPower()
280 kTestEnvironment.setExpectedExecutions(1); in testBatteryNotLowConstraintFails_withoutPower()
281 kTestEnvironment.setExpectedWaitForRun(); in testBatteryNotLowConstraintFails_withoutPower()
282 kTestEnvironment.setContinueAfterStart(); in testBatteryNotLowConstraintFails_withoutPower()
287 kTestEnvironment.setExpectedStopped(); in testBatteryNotLowConstraintFails_withoutPower()
289 kTestEnvironment.readyToRun(); in testBatteryNotLowConstraintFails_withoutPower()
291 kTestEnvironment.awaitExecution()); in testBatteryNotLowConstraintFails_withoutPower()
300 kTestEnvironment.awaitStopped()); in testBatteryNotLowConstraintFails_withoutPower()