Lines Matching refs:mpTestShape
54 TestShapeSharedPtr mpTestShape; member in __anone8f8bef90111::LayerManagerTest
59 mpTestShape = createTestShape( in SetUp()
114 …ASSERT_TRUE( mpTestShape->getViewLayers().empty() ) << "Un-added shape must have zero view layers"; in TEST_F()
115 mpLayerManager->addShape(mpTestShape); in TEST_F()
120 … ASSERT_TRUE( mpTestShape->getViewLayers().size() == 1 ) << "Added shape must have one view layer"; in TEST_F()
121 ASSERT_TRUE( mpTestShape->getNumRenders() ) << "Shape must been rendered"; in TEST_F()
122 ASSERT_TRUE( !mpTestShape->getNumUpdates() ) << "Shape must not been updated"; in TEST_F()
129 …ASSERT_TRUE( mpTestShape->getViewLayers().size() == 2 ) << "Added shape must have two view layers"; in TEST_F()
133 … ASSERT_TRUE( mpTestShape->getViewLayers().size() == 1 ) << "Added shape must have one view layer"; in TEST_F()
150 mpLayerManager->addShape(mpTestShape); in TEST_F()
173 …ASSERT_TRUE( mpTestShape->getViewLayers().at(0).first == mpTestView ) << "Shape 1 must be on backg… in TEST_F()
208 mpLayerManager->addShape(mpTestShape); in TEST_F()
218 ASSERT_TRUE( mpTestShape->getNumRenders() == 1 ) << "First shape not rendered"; in TEST_F()
229 ASSERT_TRUE( mpTestShape->getNumRenders() == 1 ) << "First shape not rendered"; in TEST_F()
241 ASSERT_TRUE( mpTestShape->getNumRenders() == 2 ) << "First shape not rendered #2"; in TEST_F()
262 mpLayerManager->addShape(mpTestShape); in TEST_F()
267 mpLayerManager->removeShape(mpTestShape); in TEST_F()
272 ASSERT_TRUE( mpTestShape.use_count() == 1 ) << "Shape 1 must have refcount of 1"; in TEST_F()
278 mpLayerManager->addShape(mpTestShape); in TEST_F()
286 mpLayerManager->removeShape(mpTestShape); in TEST_F()
291 ASSERT_TRUE( mpTestShape.use_count() == 1 ) << "Shape 1 must have refcount of 1"; in TEST_F()