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

Function TEST_F

tests/cpp/integration/function_call_test.cpp:25–29  ·  view source on GitHub ↗

FC001

Source from the content-addressed store, hash-verified

23
24// FC001
25TEST_F(FunctionCallTest, FC001_RegisterFunction_ValidConfig_Succeeds) {
26 ::agenui::testing::MockPlatformFunction fn;
27 EXPECT_TRUE(engine_->registerFunction(kValidConfig, &fn));
28 EXPECT_TRUE(engine_->unregisterFunction("myTestFn"));
29}
30
31// FC002
32TEST_F(FunctionCallTest, FC002_RegisterFunction_InvalidJsonConfig_Fails) {

Callers

nothing calls this directly

Calls 2

registerFunctionMethod · 0.45
unregisterFunctionMethod · 0.45

Tested by

no test coverage detected