| 54 | }; |
| 55 | |
| 56 | TEST_F(VideoLayerTests, displaysNothingWhenQueueIsEmpty) { |
| 57 | ASSERT_TRUE(_layerRoot->needsProcessFrame()); |
| 58 | auto color = updateAndDraw(); |
| 59 | ASSERT_FALSE(_layerRoot->needsProcessFrame()); |
| 60 | ASSERT_EQ(Color::transparent(), color); |
| 61 | } |
| 62 | |
| 63 | TEST_F(VideoLayerTests, alwaysNeedsProcessFrameWhenQueueIsSet) { |
| 64 | auto queue = makeShared<ImageQueue>(1); |
nothing calls this directly
no test coverage detected