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

Function TEST

framework/test/gtest/AnyTest.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74TEST(AnyTest, EmptyAny)
75{
76 Any anyEmpty;
77 EXPECT_THROW(anyEmpty.ToString(), std::logic_error);
78 EXPECT_NO_THROW(anyEmpty.ToStringNoExcept());
79}
80
81TEST(AnyTest, AnyBool)
82{

Callers

nothing calls this directly

Calls 7

TestUnsafeAnyCastFunction · 0.85
no_eqClass · 0.85
ToStringNoExceptMethod · 0.80
ToJSONMethod · 0.80
AnyClass · 0.50
ToStringMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected