MCPcopy Create free account
hub / github.com/AGenUI/AGenUI / TEST_F

Function TEST_F

tests/cpp/integration/surface_manager_test.cpp:26–31  ·  view source on GitHub ↗

SM001

Source from the content-addressed store, hash-verified

24
25// SM001
26TEST_F(SurfaceManagerTest, SM001_CreateSurfaceManager_ReturnsValidPointer) {
27 auto* sm = engine_->createSurfaceManager();
28 ASSERT_NE(sm, nullptr);
29 engine_->destroySurfaceManager(sm);
30 ::agenui::testing::WaitForWorkerIdle();
31}
32
33// SM002 removed: AGenUIEngine is a process-level singleton; once
34// destroyAGenUIEngine() runs, initAGenUIEngine() can never bring it back

Callers

nothing calls this directly

Calls 6

WaitForWorkerIdleFunction · 0.85
findSurfaceManagerMethod · 0.80
createSurfaceManagerMethod · 0.45
destroySurfaceManagerMethod · 0.45
getInstanceIdMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected