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

Function TEST_P

tests/cpp/core/errorcode_define_test.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10class ErrorCodeDefineTest : public ::testing::TestWithParam<std::pair<AGenUIExeCode, std::string>> {};
11
12TEST_P(ErrorCodeDefineTest, CodeReturnsExpectedString) {
13 auto [code, expected] = GetParam();
14 EXPECT_EQ(getExeCodeString(code), expected);
15}
16
17INSTANTIATE_TEST_SUITE_P(AllCodes, ErrorCodeDefineTest, ::testing::Values(
18 std::make_pair(Execute_Success, "execute success"),

Callers

nothing calls this directly

Calls 1

getExeCodeStringFunction · 0.85

Tested by

no test coverage detected