| 326 | }; |
| 327 | |
| 328 | TEST(DrawLooper, addRemoveListenerOnLayerRoot) { |
| 329 | DrawLooperTestContainer container; |
| 330 | |
| 331 | ASSERT_FALSE(container.layerRoot->getListener() != nullptr); |
| 332 | |
| 333 | container.addLayerRootToLooper(container.layerRoot); |
| 334 | |
| 335 | ASSERT_TRUE(container.layerRoot->getListener() != nullptr); |
| 336 | |
| 337 | container.drawLooper->removeLayerRoot(container.layerRoot); |
| 338 | |
| 339 | ASSERT_FALSE(container.layerRoot->getListener() != nullptr); |
| 340 | } |
| 341 | |
| 342 | TEST(DrawLooper, schedulesProcessFramesOnLayerUpdates) { |
| 343 | DrawLooperTestContainer container; |
nothing calls this directly
no test coverage detected