MCPcopy Index your code
hub / github.com/DaveGamble/cJSON / assert_is_array

Function assert_is_array

tests/parse_array.c:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31static cJSON item[1];
32
33static 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
45static void assert_not_array(const char *json)
46{

Callers 1

assert_parse_arrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…