|
|
|
@ -45,52 +45,12 @@ class KeyAddrEventQueueLeak : public VirtualDeviceTest {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
TEST_F(KeyAddrEventQueueLeak, TimeIsConsistent) {
|
|
|
|
|
// Basic test every cycle
|
|
|
|
|
for (int i = 0; i < 10; ++i)
|
|
|
|
|
assertTimeElapses(1);
|
|
|
|
|
assertTimeElapses(1);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
|
|
|
|
|
// Guarantee underflow in case of signed integer length
|
|
|
|
|
for (int i = 0; i < 50; ++i)
|
|
|
|
|
assertTimeElapses(10);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|