Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_TRUE (Results 1 - 18 of 18) sorted by relevance

/third_party/cJSON/tests/
H A Dcompare_tests.c63 TEST_ASSERT_TRUE(compare_from_string("1", "1", true)); in cjson_compare_should_compare_numbers()
64 TEST_ASSERT_TRUE(compare_from_string("1", "1", false)); in cjson_compare_should_compare_numbers()
65 TEST_ASSERT_TRUE(compare_from_string("0.0001", "0.0001", true)); in cjson_compare_should_compare_numbers()
66 TEST_ASSERT_TRUE(compare_from_string("0.0001", "0.0001", false)); in cjson_compare_should_compare_numbers()
67 TEST_ASSERT_TRUE(compare_from_string("1E100", "10E99", false)); in cjson_compare_should_compare_numbers()
78 TEST_ASSERT_TRUE(compare_from_string("1LL", "1LL", true)); in cjson_compare_should_compare_int64_numbers()
79 TEST_ASSERT_TRUE(compare_from_string("1LL", "1LL", false)); in cjson_compare_should_compare_int64_numbers()
80 TEST_ASSERT_TRUE(compare_from_string("9223372036854775807LL", "9223372036854775807LL", true)); in cjson_compare_should_compare_int64_numbers()
81 TEST_ASSERT_TRUE(compare_from_string("9223372036854775807LL", "9223372036854775807LL", false)); in cjson_compare_should_compare_int64_numbers()
82 TEST_ASSERT_TRUE(compare_from_strin in cjson_compare_should_compare_int64_numbers()
[all...]
H A Dmisc_tests.c163 TEST_ASSERT_TRUE(cJSON_IsInvalid(invalid)); in typecheck_functions_should_check_type()
168 TEST_ASSERT_TRUE(cJSON_IsFalse(item)); in typecheck_functions_should_check_type()
169 TEST_ASSERT_TRUE(cJSON_IsBool(item)); in typecheck_functions_should_check_type()
174 TEST_ASSERT_TRUE(cJSON_IsTrue(item)); in typecheck_functions_should_check_type()
175 TEST_ASSERT_TRUE(cJSON_IsBool(item)); in typecheck_functions_should_check_type()
180 TEST_ASSERT_TRUE(cJSON_IsNull(item)); in typecheck_functions_should_check_type()
185 TEST_ASSERT_TRUE(cJSON_IsNumber(item)); in typecheck_functions_should_check_type()
190 TEST_ASSERT_TRUE(cJSON_IsString(item)); in typecheck_functions_should_check_type()
195 TEST_ASSERT_TRUE(cJSON_IsArray(item)); in typecheck_functions_should_check_type()
200 TEST_ASSERT_TRUE(cJSON_IsObjec in typecheck_functions_should_check_type()
[all...]
H A Dparse_number.c52 TEST_ASSERT_TRUE(parse_number(item, &buffer)); in assert_parse_number()
71 TEST_ASSERT_TRUE(parse_number(item, &buffer)); in assert_parse_int64_number()
H A Dparse_value.c51 TEST_ASSERT_TRUE(parse_value(item, &buffer)); in assert_parse_value()
H A Dparse_with_opts.c94 TEST_ASSERT_TRUE(cJSON_Compare(with_bom, without_bom, true)); in parse_with_opts_should_parse_utf8_bom()
H A Dparse_array.c63 TEST_ASSERT_TRUE(parse_array(item, &buffer)); in assert_parse_array()
H A Dparse_object.c72 TEST_ASSERT_TRUE(parse_object(item, &parsebuffer)); in assert_parse_object()
H A Dold_utils_tests.c161 TEST_ASSERT_TRUE(current_element->string[0] >= current_element->prev->string[0]); in sort_tests()
H A Dmisc_int64_tests.c140 TEST_ASSERT_TRUE(cJSON_IsInt64Number(item)); in typecheck_functions_should_check_type_with_int64()
/third_party/cJSON/tests/unity/test/tests/
H A Dtestparameterized.c69 TEST_ASSERT_TRUE(Num < 100); in test_TheseShouldAllPass()
78 TEST_ASSERT_TRUE(Num > 100); in test_TheseShouldAllFail()
91 TEST_ASSERT_TRUE(Num > 100); in test_TheseAreEveryOther()
96 TEST_ASSERT_TRUE(Num < 100); in test_TheseAreEveryOther()
102 TEST_ASSERT_TRUE(1); in test_NormalPassesStillWork()
108 TEST_ASSERT_TRUE(0); in test_NormalFailsStillWork()
H A Dtestunity.c142 TEST_ASSERT_TRUE(1); in testTrue()
167 TEST_ASSERT_TRUE(0); in testNotTrue()
/third_party/unity/test/tests/
H A Dtest_unity_parameterized.c80 TEST_ASSERT_TRUE(Num < 100); in test_TheseShouldAllPass()
89 TEST_ASSERT_TRUE(Num > 100); in test_TheseShouldAllFail()
102 TEST_ASSERT_TRUE(Num > 100); in test_TheseAreEveryOther()
107 TEST_ASSERT_TRUE(Num < 100); in test_TheseAreEveryOther()
113 TEST_ASSERT_TRUE(1); in test_NormalPassesStillWork()
119 TEST_ASSERT_TRUE(0); in test_NormalFailsStillWork()
H A Dtest_unity_core.c126 TEST_ASSERT_TRUE(1); in testTrue()
140 /* TEST_ASSERT_TRUE should expand to a single C statement, minus in testSingleStatement()
143 TEST_ASSERT_TRUE(i); in testSingleStatement()
164 TEST_ASSERT_TRUE(0); in testNotTrue()
/third_party/unity/extras/bdd/test/
H A Dtest_bdd.c26 TEST_ASSERT_TRUE(givenExecuted); in test_bdd_logic_test()
27 TEST_ASSERT_TRUE(whenExecuted); in test_bdd_logic_test()
28 TEST_ASSERT_TRUE(thenExecuted); in test_bdd_logic_test()
/third_party/cJSON/tests/unity/extras/fixture/src/
H A Dunity_fixture.h74 #define CHECK(condition) TEST_ASSERT_TRUE((condition))
/third_party/unity/extras/fixture/src/
H A Dunity_fixture.h84 #define CHECK(condition) TEST_ASSERT_TRUE((condition))
/third_party/cJSON/tests/unity/src/
H A Dunity.h121 #define TEST_ASSERT_TRUE(condition) UNITY_TEST_ASSERT( (condition), __LINE__, " Expected TRUE Was FALSE") macro
/third_party/unity/src/
H A Dunity.h136 #define TEST_ASSERT_TRUE(condition) UNITY_TEST_ASSERT( (condition), __LINE__, " Expected TRUE Was FALSE") macro

Completed in 16 milliseconds