Lines Matching refs:TEST_ASSERT
143 TEST_ASSERT (!jerry_value_is_error (is_ok));
144 TEST_ASSERT (arg1);
145 TEST_ASSERT (arg2 == 10.5);
146 TEST_ASSERT (strcmp (arg3, "abc") == 0);
147 TEST_ASSERT (jerry_value_is_function (arg4));
151 TEST_ASSERT (!jerry_value_is_error (is_ok));
152 TEST_ASSERT (arg1);
153 TEST_ASSERT (arg2 == 10.5);
154 TEST_ASSERT (strcmp (arg3, "abc") == 0);
155 TEST_ASSERT (jerry_value_is_undefined (arg4));
159 TEST_ASSERT (!jerry_value_is_error (is_ok));
160 TEST_ASSERT (arg1);
161 TEST_ASSERT (arg2 == 10.5);
162 TEST_ASSERT (strcmp (arg3, "") == 0);
163 TEST_ASSERT (jerry_value_is_undefined (arg4));
167 TEST_ASSERT (jerry_value_is_error (is_ok));
238 TEST_ASSERT (!jerry_value_is_error (is_ok));
239 TEST_ASSERT (thing_p == &my_thing_a);
240 TEST_ASSERT (thing_p->x == 1);
244 TEST_ASSERT (jerry_value_is_error (is_ok));
288 TEST_ASSERT (!jerry_value_is_error (is_ok));
289 TEST_ASSERT (arg1);
290 TEST_ASSERT (arg2);
294 TEST_ASSERT (!jerry_value_is_error (is_ok));
295 TEST_ASSERT (arg1);
297 TEST_ASSERT (!arg2);
301 TEST_ASSERT (!jerry_value_is_error (is_ok));
303 TEST_ASSERT (!arg1);
305 TEST_ASSERT (!arg2);
309 TEST_ASSERT (!jerry_value_is_error (is_ok));
311 TEST_ASSERT (!arg1);
313 TEST_ASSERT (!arg2);
354 TEST_ASSERT (!jerry_value_is_error (is_ok));
355 TEST_ASSERT (native1);
356 TEST_ASSERT (native2 == 1.5);
357 TEST_ASSERT (native3 == 3);
404 TEST_ASSERT (!jerry_value_is_error (is_ok));
408 TEST_ASSERT (native1);
409 TEST_ASSERT (native2 == 1.5);
410 TEST_ASSERT (native3 == 3);
445 TEST_ASSERT (jerry_value_is_error (is_ok));
446 TEST_ASSERT (!native1);
447 TEST_ASSERT (native2);
493 TEST_ASSERT (!jerry_value_is_error (is_ok));
494 TEST_ASSERT (num0 == 0);
495 TEST_ASSERT (num1 == 255);
496 TEST_ASSERT (num2 == 128);
497 TEST_ASSERT (num3 == -128);
498 TEST_ASSERT (num4 == 127);
499 TEST_ASSERT (num5 == -127);
500 TEST_ASSERT (num6 == 0);
501 TEST_ASSERT (num7 == 4294967295);
502 TEST_ASSERT (num8 == 65536);
503 TEST_ASSERT (num9 == -2147483648);
504 TEST_ASSERT (num10 == 2147483647);
505 TEST_ASSERT (num11 == -2147483647);
545 TEST_ASSERT (jerry_value_is_error (is_ok));
546 TEST_ASSERT (num0 == -2);
547 TEST_ASSERT (num1 == -2);
548 TEST_ASSERT (num2 == -1);
549 TEST_ASSERT (num3 == 2);
550 TEST_ASSERT (num4 == 1);
551 TEST_ASSERT (num5 == 2);
552 TEST_ASSERT (num6 == 127);
553 TEST_ASSERT (num7 == -128);
554 TEST_ASSERT (num8 == 127);
555 TEST_ASSERT (num9 == 123);
584 TEST_ASSERT (jerry_value_is_error (is_ok));
624 TEST_ASSERT (!jerry_value_is_error (is_ok));
628 TEST_ASSERT (native1 == 1);
629 TEST_ASSERT (native2 == 2);
630 TEST_ASSERT (native3 == 0);
659 TEST_ASSERT (jerry_value_is_error (is_ok));
660 TEST_ASSERT (native1 == 1);
661 TEST_ASSERT (!native2);
753 TEST_ASSERT (jerry_value_is_undefined (restore_result));
778 TEST_ASSERT (jerry_value_is_undefined (restore_result));
816 TEST_ASSERT (!jerry_value_is_error (is_ok));
823 TEST_ASSERT ((arg1_is_false && arg2_is_three) || (arg1_is_three && arg2_is_false));
849 TEST_ASSERT (!jerry_value_is_error (is_ok));
850 TEST_ASSERT (!strcmp (buf, expect_utf8_buf));
865 TEST_ASSERT (jerry_value_is_object (this_val));
885 TEST_ASSERT (jerry_value_is_object (this_val));
942 TEST_ASSERT (!jerry_value_is_error (parsed_code_val));
945 TEST_ASSERT (!jerry_value_is_error (res));
946 TEST_ASSERT (validator1_count == 5);
947 TEST_ASSERT (validator2_count == 3);
948 TEST_ASSERT (validator_prop_count == 4);
949 TEST_ASSERT (validator_int_count == 3);
950 TEST_ASSERT (validator_array_count == 3);
951 TEST_ASSERT (validator_restore_count == 4);