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

Function TEST

tests/unit-tests/dds/DCPS/JsonValueWriter.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46TEST(dds_DCPS_JsonValueWriter, to_json)
47{
48 EXPECT_STREQ("{}", to_json(ToJsonSuccess()).c_str());
49 EXPECT_TRUE(to_json(ToJsonFail()).empty());
50}
51
52TEST(dds_DCPS_JsonValueWriter, begin_struct)
53{

Callers

nothing calls this directly

Calls 15

to_jsonFunction · 0.85
ToJsonSuccessClass · 0.85
ToJsonFailClass · 0.85
MemberParamClass · 0.85
emptyMethod · 0.45
begin_structMethod · 0.45
end_structMethod · 0.45
begin_struct_memberMethod · 0.45
write_int16Method · 0.45
end_struct_memberMethod · 0.45
begin_unionMethod · 0.45
end_unionMethod · 0.45

Tested by

no test coverage detected