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

Function testCaseSetup_1

lib/cpp/test/DebugProtoTest.cpp:33–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31static ::std::shared_ptr<OneOfEach> ooe;
32
33void testCaseSetup_1() {
34 ooe.reset(new OneOfEach);
35 ooe->im_true = true;
36 ooe->im_false = false;
37 ooe->a_bite = 0x7f;
38 ooe->integer16 = 27000;
39 ooe->integer32 = 1 << 24;
40 ooe->integer64 = (uint64_t)6000 * 1000 * 1000;
41 ooe->double_precision = M_PI;
42 ooe->some_characters = "Debug THIS!";
43 ooe->zomg_unicode = "\xd7\n\a\t";
44}
45
46BOOST_AUTO_TEST_CASE(test_debug_proto_1) {
47 testCaseSetup_1();

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.70
testCaseSetup_2Function · 0.70

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected