| 31 | static cJSON item[1]; |
| 32 | |
| 33 | static void assert_is_string(cJSON *string_item) |
| 34 | { |
| 35 | TEST_ASSERT_NOT_NULL_MESSAGE(string_item, "Item is NULL."); |
| 36 | |
| 37 | assert_not_in_list(string_item); |
| 38 | assert_has_no_child(string_item); |
| 39 | assert_has_type(string_item, cJSON_String); |
| 40 | assert_has_no_reference(string_item); |
| 41 | assert_has_no_const_string(string_item); |
| 42 | assert_has_valuestring(string_item); |
| 43 | assert_has_no_string(string_item); |
| 44 | } |
| 45 | |
| 46 | static void assert_parse_string(const char *string, const char *expected) |
| 47 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…