| 37 | static std::shared_ptr<OneOfEach> ooe; |
| 38 | |
| 39 | void testCaseSetup_1() { |
| 40 | ooe.reset(new OneOfEach); |
| 41 | ooe->im_true = true; |
| 42 | ooe->im_false = false; |
| 43 | ooe->a_bite = 0x7f; |
| 44 | ooe->integer16 = 27000; |
| 45 | ooe->integer32 = 1 << 24; |
| 46 | ooe->integer64 = (uint64_t)6000 * 1000 * 1000; |
| 47 | ooe->double_precision = M_PI; |
| 48 | ooe->some_characters = "JSON THIS! \"\1"; |
| 49 | ooe->zomg_unicode = "\xd7\n\a\t"; |
| 50 | ooe->base64 = "\1\2\3\255"; |
| 51 | ooe->rfc4122_uuid = apache::thrift::TUuid{"00000000-0000-0000-0000-000000000000"}; |
| 52 | } |
| 53 | |
| 54 | BOOST_AUTO_TEST_CASE(test_json_proto_1) { |
| 55 | testCaseSetup_1(); |
no test coverage detected