Lines Matching refs:patch
52 cJSON *patch = NULL; in test_apply_patch() local
81 patch = cJSON_GetObjectItemCaseSensitive(test, "patch"); in test_apply_patch()
82 TEST_ASSERT_NOT_NULL_MESSAGE(patch, "No \"patch\"in the test."); in test_apply_patch()
92 …TEST_ASSERT_TRUE_MESSAGE(0 != cJSONUtils_ApplyPatchesCaseSensitive(object, patch), "Test didn't fa… in test_apply_patch()
99 …TEST_ASSERT_EQUAL_INT_MESSAGE(0, cJSONUtils_ApplyPatchesCaseSensitive(object, patch), "Failed to a… in test_apply_patch()
125 cJSON *patch = NULL; in test_generate_test() local
156 patch = cJSONUtils_GeneratePatchesCaseSensitive(doc, expected); in test_generate_test()
157 TEST_ASSERT_NOT_NULL_MESSAGE(patch, "Failed to generate patches."); in test_generate_test()
159 printed_patch = cJSON_Print(patch); in test_generate_test()
164 …TEST_ASSERT_EQUAL_INT_MESSAGE(0, cJSONUtils_ApplyPatchesCaseSensitive(object, patch), "Failed to a… in test_generate_test()
168 cJSON_Delete(patch); in test_generate_test()