MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / TEST

Function TEST

tests/cplusplus/Common/PathTreeJSON.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46TEST(PathTreeJSON, EmptyTreeToJson) {
47 PathTree tree;
48 ASSERT_NO_THROW(common::pathTreeToJson(tree));
49 auto json = common::pathTreeToJson(tree);
50 ASSERT_EQ(json.size(), 0);
51}
52
53TEST(PathTreeJSON, EmptyJsonArrayToTree) {
54

Callers

nothing calls this directly

Calls 6

pathTreeToJsonFunction · 0.85
jsonToPathTreeFunction · 0.85
setupDummyTreeFunction · 0.85
getJSONFunction · 0.85
sizeMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected