Lines Matching defs:child
42 array[0].child = &elements[0];
270 parent->child = &list[0];
280 TEST_ASSERT_TRUE_MESSAGE((list[2].prev == &(list[3])) && (parent->child == &(list[2])), "Didn't set the new beginning.");
285 TEST_ASSERT_TRUE_MESSAGE((list[2].next == NULL) && (parent->child == &(list[2])), "Didn't set the new end");
290 TEST_ASSERT_NULL_MESSAGE(parent->child, "Child of the parent wasn't set to NULL.");
322 TEST_ASSERT_TRUE(array->child == &(replacements[0]));
342 cJSON *child = NULL;
346 child = cJSON_CreateNumber(1);
347 TEST_ASSERT_NOT_NULL(child);
351 flag = cJSON_AddItemToObject(root, "child", child);
353 cJSON_ReplaceItemInObject(root, "child", replacement);
355 TEST_ASSERT_TRUE(root->child == replacement);
356 TEST_ASSERT_EQUAL_STRING("child", replacement->string);
557 TEST_ASSERT_TRUE(number_reference->child == number);
575 TEST_ASSERT_TRUE(number_reference->child == number);