| 31 | static cJSON item[1]; |
| 32 | |
| 33 | static void assert_is_object(cJSON *object_item) |
| 34 | { |
| 35 | TEST_ASSERT_NOT_NULL_MESSAGE(object_item, "Item is NULL."); |
| 36 | |
| 37 | assert_not_in_list(object_item); |
| 38 | assert_has_type(object_item, cJSON_Object); |
| 39 | assert_has_no_reference(object_item); |
| 40 | assert_has_no_const_string(object_item); |
| 41 | assert_has_no_valuestring(object_item); |
| 42 | assert_has_no_string(object_item); |
| 43 | } |
| 44 | |
| 45 | static void assert_is_child(cJSON *child_item, const char *name, int type) |
| 46 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…