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

Function TEST

tests/cpp/function_call/functioncall_manager_test.cpp:72–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70// ============================================================================
71
72TEST(FunctionCallManager, RegisterCppFunctionCall_Success) {
73 FunctionCallManager mgr;
74 auto fc = std::make_shared<MockFunctionCall>("test_fn");
75 EXPECT_TRUE(mgr.registerFunctionCall(fc));
76}
77
78TEST(FunctionCallManager, RegisterCppFunctionCall_Null_Fails) {
79 FunctionCallManager mgr;

Callers

nothing calls this directly

Calls 15

registerFunctionCallMethod · 0.80
setNameMethod · 0.80
setReturnTypeMethod · 0.80
getAllFunctionCallsMethod · 0.80
emptyMethod · 0.80
exportCatalogMethod · 0.80
containsMethod · 0.80
setReturnValueMethod · 0.80
getStatusMethod · 0.80
getValueMethod · 0.80

Tested by

no test coverage detected