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

Function TEST

tests/unit-tests/dds/DCPS/JsonValueReader.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82static const MapBitmaskHelper bitmask_helper(bitmask_pairs, 64, OpenDDS::XTypes::TK_UINT64);
83
84TEST(dds_DCPS_JsonValueReader, struct_empty)
85{
86 const char json[] = "{}";
87 StringStream ss(json);
88 JsonValueReader<> jvr(ss);
89 EXPECT_TRUE(jvr.begin_struct());
90 EXPECT_TRUE(jvr.end_struct());
91}
92
93TEST(dds_DCPS_JsonValueReader, array_empty)
94{

Callers

nothing calls this directly

Calls 15

from_jsonFunction · 0.85
check_membersFunction · 0.85
elements_remainingMethod · 0.80
read_booleanMethod · 0.80
read_byteMethod · 0.80
read_int8Method · 0.80
read_uint8Method · 0.80
read_int16Method · 0.80
read_uint16Method · 0.80
read_int32Method · 0.80
read_uint32Method · 0.80
read_int64Method · 0.80

Tested by

no test coverage detected