Lines Matching refs:TEST_ASSERT_TRUE
163 TEST_ASSERT_TRUE(cJSON_IsInvalid(invalid));
168 TEST_ASSERT_TRUE(cJSON_IsFalse(item));
169 TEST_ASSERT_TRUE(cJSON_IsBool(item));
174 TEST_ASSERT_TRUE(cJSON_IsTrue(item));
175 TEST_ASSERT_TRUE(cJSON_IsBool(item));
180 TEST_ASSERT_TRUE(cJSON_IsNull(item));
185 TEST_ASSERT_TRUE(cJSON_IsNumber(item));
190 TEST_ASSERT_TRUE(cJSON_IsString(item));
195 TEST_ASSERT_TRUE(cJSON_IsArray(item));
200 TEST_ASSERT_TRUE(cJSON_IsObject(item));
205 TEST_ASSERT_TRUE(cJSON_IsRaw(item));
275 TEST_ASSERT_TRUE((list[0].next == &(list[2])) && (list[2].prev == &(list[0])));
318 TEST_ASSERT_TRUE(cJSON_ReplaceItemViaPointer(array, beginning, &(replacements[0])));
319 TEST_ASSERT_TRUE(replacements[0].prev == end);
320 TEST_ASSERT_TRUE(replacements[0].next == middle);
321 TEST_ASSERT_TRUE(middle->prev == &(replacements[0]));
322 TEST_ASSERT_TRUE(array->child == &(replacements[0]));
325 TEST_ASSERT_TRUE(cJSON_ReplaceItemViaPointer(array, middle, &(replacements[1])));
326 TEST_ASSERT_TRUE(replacements[1].prev == &(replacements[0]));
327 TEST_ASSERT_TRUE(replacements[1].next == end);
328 TEST_ASSERT_TRUE(end->prev == &(replacements[1]));
331 TEST_ASSERT_TRUE(cJSON_ReplaceItemViaPointer(array, end, &(replacements[2])));
332 TEST_ASSERT_TRUE(replacements[2].prev == &(replacements[1]));
334 TEST_ASSERT_TRUE(replacements[1].next == &(replacements[2]));
355 TEST_ASSERT_TRUE(root->child == replacement);
492 TEST_ASSERT_TRUE(skip_utf8_bom(&buffer) == &buffer);
513 TEST_ASSERT_TRUE(cJSON_GetStringValue(string) == string->valuestring);
539 TEST_ASSERT_TRUE(string_reference->valuestring == string);
552 TEST_ASSERT_TRUE(cJSON_IsNumber(number));
553 TEST_ASSERT_TRUE(cJSON_IsObject(number_object));
557 TEST_ASSERT_TRUE(number_reference->child == number);
570 TEST_ASSERT_TRUE(cJSON_IsNumber(number));
571 TEST_ASSERT_TRUE(cJSON_IsArray(number_array));
575 TEST_ASSERT_TRUE(number_reference->child == number);
690 TEST_ASSERT_TRUE((cJSON_SetBoolValue(refobj, 1) == cJSON_Invalid));
693 TEST_ASSERT_TRUE(cJSON_IsFalse(bobj));
694 TEST_ASSERT_TRUE((cJSON_SetBoolValue(bobj, 1) == cJSON_True));
695 TEST_ASSERT_TRUE(cJSON_IsTrue(bobj));
697 TEST_ASSERT_TRUE(cJSON_IsTrue(bobj));
698 TEST_ASSERT_TRUE((cJSON_SetBoolValue(bobj, 0) == cJSON_False));
699 TEST_ASSERT_TRUE(cJSON_IsFalse(bobj));
701 TEST_ASSERT_TRUE(cJSON_IsFalse(bobj));
704 TEST_ASSERT_TRUE(cJSON_IsString(sobj));
706 TEST_ASSERT_TRUE(cJSON_IsString(sobj));
708 TEST_ASSERT_TRUE(cJSON_IsString(sobj));
711 TEST_ASSERT_TRUE(cJSON_IsObject(oobj));
713 TEST_ASSERT_TRUE(cJSON_IsObject(oobj));
715 TEST_ASSERT_TRUE(cJSON_IsObject(oobj));
718 TEST_ASSERT_TRUE(cJSON_IsString(refobj));
719 TEST_ASSERT_TRUE(refobj->type & cJSON_IsReference);
721 TEST_ASSERT_TRUE(cJSON_IsString(refobj));
722 TEST_ASSERT_TRUE(refobj->type & cJSON_IsReference);
724 TEST_ASSERT_TRUE(cJSON_IsString(refobj));
725 TEST_ASSERT_TRUE(refobj->type & cJSON_IsReference);
729 TEST_ASSERT_TRUE(cJSON_IsObject(refobj));
730 TEST_ASSERT_TRUE(refobj->type & cJSON_IsReference);
732 TEST_ASSERT_TRUE(cJSON_IsObject(refobj));
733 TEST_ASSERT_TRUE(refobj->type & cJSON_IsReference);
735 TEST_ASSERT_TRUE(cJSON_IsObject(refobj));
736 TEST_ASSERT_TRUE(refobj->type & cJSON_IsReference);