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

Function TEST_F

tests/cpp/function_call/builtins_edge_cases_test.cpp:44–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42};
43
44TEST_F(RegexEdgeCaseTest, InvalidPattern_UnclosedBracket_ThrowsRegexError) {
45 EXPECT_THROW(fc.execute({{"value", "test"}, {"pattern", "[unclosed"}}), std::regex_error);
46}
47
48TEST_F(RegexEdgeCaseTest, InvalidPattern_BadQuantifier_ThrowsRegexError) {
49 EXPECT_THROW(fc.execute({{"value", "test"}, {"pattern", "*invalid"}}), std::regex_error);

Callers

nothing calls this directly

Calls 5

getValueMethod · 0.80
emptyMethod · 0.80
isSuccessFunction · 0.70
isErrorFunction · 0.70
executeMethod · 0.65

Tested by

no test coverage detected