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