| 63 | } |
| 64 | |
| 65 | static void assert_parse_object(const char *json) |
| 66 | { |
| 67 | parse_buffer parsebuffer = { 0, 0, 0, 0, { 0, 0, 0 } }; |
| 68 | parsebuffer.content = (const unsigned char*)json; |
| 69 | parsebuffer.length = strlen(json) + sizeof(""); |
| 70 | parsebuffer.hooks = global_hooks; |
| 71 | |
| 72 | TEST_ASSERT_TRUE(parse_object(item, &parsebuffer)); |
| 73 | assert_is_object(item); |
| 74 | } |
| 75 | |
| 76 | static void parse_object_should_parse_empty_objects(void) |
| 77 | { |
no test coverage detected
searching dependent graphs…