MCPcopy Create free account
hub / github.com/Samsung/UTopia / TEST

Function TEST

tests/type/TestGlobalDef.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace ftg {
7
8TEST(TestGlobalDef, EnumConstToJsonP) {
9 Json::Value ExpectedJson = util::strToJson(R"(
10 {"Name" : "A", "Value" : 0}
11 )");
12 EnumConst Const("A", 0);
13 ASSERT_EQ(Const.toJson().toStyledString(), ExpectedJson.toStyledString());
14}
15
16TEST(TestGlobalDef, EnumConstFromJsonP) {
17 Json::Value EnumConstJson = util::strToJson(R"(

Callers

nothing calls this directly

Calls 15

strToJsonFunction · 0.85
ASSERT_DEATHFunction · 0.85
EnumConstClass · 0.85
TestHelperFactoryClass · 0.85
createEnumFunction · 0.85
toStyledStringMethod · 0.80
createCompileHelperMethod · 0.80
getSrcDirPathMethod · 0.80
sizeMethod · 0.80
toJsonMethod · 0.45
getNameMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected