MCPcopy Create free account
hub / github.com/Snapchat/Valdi / TEST_F

Function TEST_F

snap_drawing/test/src/VideoLayer_tests.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54};
55
56TEST_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
63TEST_F(VideoLayerTests, alwaysNeedsProcessFrameWhenQueueIsSet) {
64 auto queue = makeShared<ImageQueue>(1);

Callers

nothing calls this directly

Calls 3

needsProcessFrameMethod · 0.80
setImageQueueMethod · 0.80
getQueueSizeMethod · 0.80

Tested by

no test coverage detected