Home
last modified time | relevance | path

Searched refs:error_tests (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/tests/unit-core/
Dtest-api-binary-operations-instanceof.c84 test_entry_t error_tests[] = in main() local
102 for (uint32_t idx = 0; idx < sizeof (error_tests) / sizeof (test_entry_t); idx++) in main()
105 error_tests[idx].lhs, in main()
106 error_tests[idx].rhs); in main()
107 TEST_ASSERT (jerry_value_is_error (result) == error_tests[idx].expected); in main()
108 jerry_release_value (error_tests[idx].lhs); in main()
109 jerry_release_value (error_tests[idx].rhs); in main()
Dtest-api-binary-operations-comparisons.c275 test_entry_t error_tests[] = in main() local
282 for (uint32_t idx = 0; idx < sizeof (error_tests) / sizeof (test_entry_t); idx++) in main()
284 …jerry_value_t result = jerry_binary_operation (tests[idx].op, error_tests[idx].lhs, error_tests[id… in main()
285 TEST_ASSERT (jerry_value_is_error (result) == error_tests[idx].expected); in main()
286 jerry_release_value (error_tests[idx].lhs); in main()
287 jerry_release_value (error_tests[idx].rhs); in main()
Dtest-api-binary-operations-arithmetics.c244 test_error_entry_t error_tests[] = in main() local
273 for (uint32_t idx = 0; idx < sizeof (error_tests) / sizeof (test_error_entry_t); idx++) in main()
275 …jerry_value_t result = jerry_binary_operation (tests[idx].op, error_tests[idx].lhs, error_tests[id… in main()
277 jerry_release_value (error_tests[idx].lhs); in main()
278 jerry_release_value (error_tests[idx].rhs); in main()
/third_party/re2/re2/testing/
Dre2_test.cc1280 } error_tests[] = { variable
1300 for (size_t i = 0; i < arraysize(error_tests); i++) { in TEST()
1301 RE2 re(error_tests[i].regexp, RE2::Quiet); in TEST()
1303 EXPECT_EQ(re.error_arg(), error_tests[i].error) << re.error(); in TEST()