| 72 | static std::shared_ptr<Nesting> n; |
| 73 | |
| 74 | void testCaseSetup_2() { |
| 75 | testCaseSetup_1(); |
| 76 | |
| 77 | n.reset(new Nesting); |
| 78 | n->my_ooe = *ooe; |
| 79 | n->my_ooe.integer16 = 16; |
| 80 | n->my_ooe.integer32 = 32; |
| 81 | n->my_ooe.integer64 = 64; |
| 82 | n->my_ooe.double_precision = (std::sqrt(5.0) + 1) / 2; |
| 83 | n->my_ooe.some_characters = ":R (me going \"rrrr\")"; |
| 84 | n->my_ooe.zomg_unicode = "\xd3\x80\xe2\x85\xae\xce\x9d\x20\xd0\x9d\xce" |
| 85 | "\xbf\xe2\x85\xbf\xd0\xbe\xc9\xa1\xd0\xb3\xd0" |
| 86 | "\xb0\xcf\x81\xe2\x84\x8e\x20\xce\x91\x74\x74" |
| 87 | "\xce\xb1\xe2\x85\xbd\xce\xba\xc7\x83\xe2\x80" |
| 88 | "\xbc"; |
| 89 | n->my_ooe.rfc4122_uuid = apache::thrift::TUuid{"5e2ab188-1726-4e75-a04f-1ed9a6a89c4c"}; |
| 90 | std::vector<apache::thrift::TUuid> uuiid_list; |
| 91 | uuiid_list.push_back(apache::thrift::TUuid{"{fa1af5ec-fdc2-4355-844a-9f0dbfd00e50}"}); |
| 92 | uuiid_list.push_back(apache::thrift::TUuid{"{1beece83-34f4-4fa3-b757-1ad1ac157fe3}"}); |
| 93 | n->my_ooe.rfc4122_uuid_list = uuiid_list; |
| 94 | n->my_bonk.type = 31337; |
| 95 | n->my_bonk.message = "I am a bonk... xor!"; |
| 96 | } |
| 97 | |
| 98 | BOOST_AUTO_TEST_CASE(test_json_proto_2) { |
| 99 | testCaseSetup_2(); |
no test coverage detected