Lines Matching +full:0 +full:ms
46 for (size_t idx = 0; idx < sensorMocks.size(); idx++) in SetUp()
52 makeThreshold(0ms, numeric::Direction::increasing, 90.0, in SetUp()
72 EXPECT_CALL(actionMock, commit(_, _, _, _, _)).Times(0); in TEST_F()
78 numeric::Type::upperCritical, 0, numeric::Direction::increasing, 90.0); in TEST_F()
91 Milliseconds sleepAfter = 0ms) : in UpdateParams()
103 Milliseconds waitMin = 0ms) : in ExpectedParams()
146 *os << "{ DwellTime: " << o.dwellTime.count() << "ms "; in PrintTo()
150 size_t idx = 0; in PrintTo()
160 << ", SleepAfter: " << sleepAfter.count() << "ms }, "; in PrintTo()
166 << ", waitMin: " << waitMin.count() << "ms }, "; in PrintTo()
173 Milliseconds dwellTime = 0ms;
186 if (duration != 0ms) in sleep()
215 size_t idx = 0; in testBodySensorIsUpdatedMultipleTimes()
218 sut->sensorUpdated(*sensorMocks[idx], 0ms, value); in testBodySensorIsUpdatedMultipleTimes()
227 sut->sensorUpdated(*sensorMocks[index], 42ms, value); in testBodySensorIsUpdatedMultipleTimes()
244 for (size_t idx = 0; idx < sensorMocks.size(); idx++) in SetUp()
250 makeThreshold(0ms, GetParam().direction, GetParam().thresholdValue); in SetUp()
259 .Updates({{0, 89.0}})
265 .Updates({{0, 91.0}})
266 .Expected({{0, 91.0}}),
271 .Updates({{0, 99.0}, {0, 80.0}, {0, 98.0}})
272 .Expected({{0, 99.0}, {0, 98.0}}),
277 .Updates({{0, 99.0}, {1, 98.0}})
278 .Expected({{0, 99.0}}),
283 .Updates({{0, 91.0}})
289 .Updates({{0, 80.0}})
290 .Expected({{0, 80.0}}),
295 .Updates({{0, 80.0}, {0, 99.0}, {0, 85.0}})
296 .Expected({{0, 80.0}, {0, 85.0}}),
301 .Updates({{0, 80.0}, {1, 88.0}})
302 .Expected({{0, 80.0}, {1, 88.0}}),
307 .Updates({{0, 91.0}})
313 .Updates({{0, 80.0}, {0, 85.0}, {0, 91.0}})
314 .Expected({{0, 80.0}, {0, 91.0}}),
319 .Updates({{0, 85.0}, {1, 91.0}})
320 .Expected({{0, 85.0}, {1, 91.0}}),
325 .Updates({{0, 30.0}, {0, 20.0}})
326 .Expected({{0, 20.0}}),
331 .Updates({{0, 30.0}, {0, 20.0}})
337 .Updates({{0, 30.0}, {0, 20.0}})
343 .Updates({{0, 30.0}, {0, 40.0}})
344 .Expected({{0, 40.0}}),
349 .Updates({{0, 30.0}, {0, 40.0}})
355 .Updates({{0, 30.0}, {0, 40.0}})
368 for (size_t idx = 0; idx < sensorMocks.size(); idx++) in SetUp()
382 .DwellTime(200ms)
386 .Updates({{0, 89.0, 200ms}})
389 .DwellTime(200ms)
393 .Updates({{0, 91.0, 200ms}})
394 .Expected({{0, 91.0, 200ms}}),
396 .DwellTime(200ms)
400 .Updates({{0, 99.0, 200ms}, {0, 80.0, 100ms}, {0, 98.0, 200ms}})
401 .Expected({{0, 99.0, 200ms}, {0, 98.0, 500ms}}),
403 .DwellTime(200ms)
407 .Updates({{0, 100.0, 100ms}, {1, 86.0, 100ms}})
408 .Expected({{0, 100.0, 200ms}}),
410 .DwellTime(200ms)
414 .Updates({{0, 91.0, 200ms}})
417 .DwellTime(200ms)
421 .Updates({{0, 80.0, 200ms}})
422 .Expected({{0, 80.0, 200ms}}),
424 .DwellTime(200ms)
428 .Updates({{0, 80.0, 200ms}, {0, 99.0, 100ms}, {0, 85.0, 200ms}})
429 .Expected({{0, 80.0, 200ms}, {0, 85.0, 500ms}}),
431 .DwellTime(200ms)
435 .Updates({{0, 80.0, 200ms}, {1, 88.0, 200ms}})
436 .Expected({{0, 80.0, 200ms}, {1, 88.0, 400ms}}),
438 .DwellTime(200ms)
442 .Updates({{0, 91.0, 200ms}})
445 .DwellTime(200ms)
449 .Updates({{0, 80.0, 100ms}, {0, 85.0, 100ms}, {0, 91.0, 200ms}})
450 .Expected({{0, 80.0, 200ms}, {0, 91.0, 400ms}}),
452 .DwellTime(200ms)
456 .Updates({{0, 85.0, 100ms}, {1, 91.0, 200ms}})
457 .Expected({{0, 85.0, 200ms}, {1, 91.0, 300ms}})));
462 .DwellTime(200ms)
466 .Updates({{0, 89.0, 300ms}})
469 .DwellTime(200ms)
473 .Updates({{0, 91.0, 300ms}})
474 .Expected({{0, 91.0, 200ms}}),
476 .DwellTime(200ms)
480 .Updates({{0, 99.0}, {0, 80.0}, {0, 98.0, 300ms}})
481 .Expected({{0, 98.0, 200ms}}),
483 .DwellTime(200ms)
487 .Updates({{0, 100.0}, {1, 98.0, 300ms}})
488 .Expected({{0, 100.0, 200ms}}),
490 .DwellTime(200ms)
494 .Updates({{0, 91.0, 300ms}})
497 .DwellTime(200ms)
501 .Updates({{0, 80.0, 300ms}})
502 .Expected({{0, 80.0, 200ms}}),
504 .DwellTime(200ms)
508 .Updates({{0, 80.0}, {0, 99.0}, {0, 85.0, 300ms}})
509 .Expected({{0, 85.0, 200ms}}),
511 .DwellTime(200ms)
515 .Updates({{0, 80.0}, {1, 88.0, 300ms}})
516 .Expected({{0, 80.0, 200ms}, {1, 88.0, 200ms}}),
518 .DwellTime(200ms)
522 .Updates({{0, 91.0, 300ms}})
525 .DwellTime(200ms)
529 .Updates({{0, 80.0}, {0, 85.0}, {0, 91.0, 300ms}})
530 .Expected({{0, 91.0, 200ms}}),
532 .DwellTime(200ms)
536 .Updates({{0, 85.0}, {1, 91.0, 300ms}})
537 .Expected({{0, 85.0, 200ms}, {1, 91.0, 200ms}})));