MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / TEST

Function TEST

src/tests/unit/logevent.cpp:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54
55TEST(LogEvent, init_empty)
56{
57 Events::Log empty;
58 std::string res = test_empty(empty, true);
59 ASSERT_TRUE(res.empty()) << res;
60 ASSERT_EQ(empty.format, Events::Log::Format::AUTO);
61}
62
63
64TEST(LogEvent, init_with_value_1)

Callers

nothing calls this directly

Calls 11

ParseLogFunction · 0.85
LogPrefixFunction · 0.85
GetLogGroupStrMethod · 0.80
GetLogCategoryStrMethod · 0.80
test_emptyFunction · 0.70
test_compareFunction · 0.70
emptyMethod · 0.45
resetMethod · 0.45
GetGVariantTupleMethod · 0.45
GetGVariantDictMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected