| 103 | namespace { |
| 104 | |
| 105 | TEST(EventMgr, Empty) { |
| 106 | auto stream_exec = GPUMachineManager()->ExecutorForDevice(0).ValueOrDie(); |
| 107 | TEST_EventMgr em(stream_exec, GPUOptions()); |
| 108 | TEST_EventMgrHelper th(&em); |
| 109 | EXPECT_EQ(0, th.queue_size()); |
| 110 | EXPECT_EQ(0, th.free_size()); |
| 111 | } |
| 112 | |
| 113 | // Tests that WarnIfInCallback() triggers correctly. |
| 114 | TEST(EventMgr, WarnIfInCallback) { |
nothing calls this directly
no test coverage detected