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

Function TEST_F

tests/cpp/integration/engine_destroy_chain_test.cpp:247–249  ·  view source on GitHub ↗

DC001: Full lifecycle destroy chain. Covers all 6 APIs in a single subprocess run: initAGenUIEngine (global env) → createSurfaceManager → beginTextStream → receiveTextChunk → endTextStream → destroySurfaceManager → destroyAGenUIEngine Two complete streaming sessions are exercised (createSurface + updateComponents) to prove the engine processes real protocol data before being torn down.

Source from the content-addressed store, hash-verified

245// updateComponents) to prove the engine processes real protocol data
246// before being torn down.
247TEST_F(EngineDestroyChainDeathTest, DC001_FullLifecycleDestroyChain) {
248 EXPECT_EXIT(runDC001(), ::testing::ExitedWithCode(0), "");
249}
250
251// DC002: Mid-stream destroy (incomplete streaming session).
252//

Callers

nothing calls this directly

Calls 4

runDC001Function · 0.85
runDC002Function · 0.85
runDC003Function · 0.85
runDC004Function · 0.85

Tested by

no test coverage detected