MCPcopy Create free account
hub / github.com/Samsung/ONE / TEST_F

Function TEST_F

compiler/fme-detect/src/EqualizePatternWrite.test.cpp:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63} // namespace
64
65TEST_F(EqualizePatternWriteTest, empty_pattern)
66{
67 std::vector<EqualizePattern> p;
68 EXPECT_NO_THROW(fme_detect::write(p, _filename));
69
70 auto root = read_json(_filename);
71
72 EXPECT_TRUE(root.isArray());
73 EXPECT_TRUE(root.empty());
74}
75
76TEST_F(EqualizePatternWriteTest, empty_name_NEG)
77{

Callers

nothing calls this directly

Calls 6

writeFunction · 0.85
read_jsonFunction · 0.85
isArrayMethod · 0.80
emptyMethod · 0.45
emplace_backMethod · 0.45
asStringMethod · 0.45

Tested by

no test coverage detected