MCPcopy Create free account
hub / github.com/baidu/babylon / TEST_F

Function TEST_F

test/serialization/test_traits.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17};
18
19TEST_F(SerializeTraitsTest, default_not_serializable) {
20 struct S {};
21 ASSERT_FALSE(SerializeTraits<S>::SERIALIZABLE);
22 S s;
23 ASSERT_FALSE(Serialization::serialize_to_string(s, string));
24 ASSERT_FALSE(Serialization::parse_from_string(string, s));
25}
26
27struct MinimalSerializable {
28 MinimalSerializable() = default;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected