Lines Matching full:times
170 // us to set expectations multiple times without duplicate code. in TEST()
172 // Expect Sensors service to be called 10 times in TEST()
174 EXPECT_CALL(sensors, startRail).Times(10); in TEST()
175 EXPECT_CALL(sensors, setValue).Times(0); in TEST()
176 EXPECT_CALL(sensors, endRail).Times(10); in TEST()
178 // Expect Journal service to be called 6 times to log error messages in TEST()
181 .Times(6); in TEST()
182 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(6); in TEST()
186 EXPECT_CALL(errorLogging, logDBusError).Times(1); in TEST()
189 // Monitor sensors 10 times. Verify errors logged. in TEST()
204 // Monitor sensors 10 more times. Verify errors logged again. in TEST()
225 EXPECT_CALL(journal, logDebug("Closing devices in chassis 1")).Times(1); in TEST()
226 EXPECT_CALL(journal, logDebug("Closing devices in chassis 3")).Times(1); in TEST()
227 EXPECT_CALL(journal, logInfo(A<const std::string&>())).Times(0); in TEST()
228 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
247 EXPECT_CALL(journal, logInfo("Configuring chassis 1")).Times(1); in TEST()
248 EXPECT_CALL(journal, logInfo("Configuring chassis 3")).Times(1); in TEST()
249 EXPECT_CALL(journal, logDebug(A<const std::string&>())).Times(0); in TEST()
250 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
278 .Times(1); in TEST()
281 .Times(1); in TEST()
284 .Times(1); in TEST()
287 .Times(1); in TEST()
289 EXPECT_CALL(errorLogging, logPhaseFault).Times(2); in TEST()
353 // Call detectPhaseFaults() 5 times in TEST()
455 .Times(1); in TEST()
460 .Times(1); in TEST()
461 EXPECT_CALL(sensors, setValue).Times(0); in TEST()
462 EXPECT_CALL(sensors, endRail(false)).Times(2); in TEST()
470 EXPECT_CALL(*action, execute).Times(1).WillOnce(Return(true)); in TEST()
508 EXPECT_CALL(*action, execute).Times(1).WillOnce(Return(true)); in TEST()