MCPcopy Create free account
hub / github.com/apache/thrift / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

lib/cpp/test/TUuidTestBoostNoDirective.cpp:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22BOOST_AUTO_TEST_SUITE(TUuidBoostTestNoDirective)
23
24BOOST_AUTO_TEST_CASE(compiler_directive_not_set) {
25 // Test if the macro is set as expected
26 #ifdef THRIFT_TUUID_SUPPORT_BOOST_UUID
27 BOOST_TEST(false, "The 'THRIFT_TUUID_SUPPORT_BOOST_UUID' preprocessor must NOT be set for these tests");
28 #else
29 BOOST_TEST(true);
30 #endif // THRIFT_TUUID_SUPPORT_BOOST_UUID
31}
32BOOST_AUTO_TEST_SUITE_END()
33
34// This inclusion order is unconventional: This test specifcially tests that

Callers

nothing calls this directly

Calls 2

is_nilMethod · 0.80
to_stringFunction · 0.70

Tested by

no test coverage detected