RC001
| 15 | |
| 16 | // RC001 |
| 17 | TEST(RenderCallbackTest, RC001_OnRenderFinish_PostedToWorker_NoCrash) { |
| 18 | ::agenui::testing::ScopedSurfaceManager sm; |
| 19 | ASSERT_TRUE(sm); |
| 20 | ::agenui::ComponentRenderInfo info; |
| 21 | info.surfaceId = "no-such"; |
| 22 | info.componentId = "x"; |
| 23 | info.type = "Text"; |
| 24 | info.width = 10.f; |
| 25 | info.height = 10.f; |
| 26 | EXPECT_NO_THROW(sm->onRenderFinish(info)); |
| 27 | ::agenui::testing::WaitForWorkerIdle(); |
| 28 | } |
| 29 | |
| 30 | // RC002 |
| 31 | TEST(RenderCallbackTest, RC002_OnSurfaceSizeChanged_PostedToWorker_NoCrash) { |
nothing calls this directly
no test coverage detected