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

Function TEST_F

tests/cpp/surface/data_value_test.cpp:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92};
93
94TEST_F(DataValueParserTest, ParseDataValue_StringLiteral_ReturnsStaticDataValue) {
95 auto result = DataValueParser::parseDataValue(&ctx_, "\"hello\"");
96 ASSERT_NE(result, nullptr);
97 EXPECT_EQ(result->getDataType(), DataType::StaticData);
98}
99
100TEST_F(DataValueParserTest, ParseDataValue_NumberLiteral_ReturnsStaticDataValue) {
101 auto result = DataValueParser::parseDataValue(&ctx_, "123");

Callers

nothing calls this directly

Calls 5

getBindingPathMethod · 0.80
getSegmentsMethod · 0.80
getMethod · 0.65
getDataTypeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected