Home
last modified time | relevance | path

Searched refs:ZUC_ASSERT_EQ (Results 1 – 7 of 7) sorted by relevance

/third_party/weston/tests/
Dtimespec-test.c51 ZUC_ASSERT_EQ(r.tv_sec, 0); in ZUC_TEST()
52 ZUC_ASSERT_EQ(r.tv_nsec, NSEC_PER_SEC - 1); in ZUC_TEST()
61 ZUC_ASSERT_EQ(timespec_to_nsec(&a), (NSEC_PER_SEC * 4ULL) + 4); in ZUC_TEST()
70 ZUC_ASSERT_EQ(timespec_to_usec(&a), (4000000ULL) + 4); in ZUC_TEST()
79 ZUC_ASSERT_EQ(timespec_to_msec(&a), (4000ULL) + 4); in ZUC_TEST()
92 ZUC_ASSERT_EQ(0, tv_sec_hi); in ZUC_TEST()
93 ZUC_ASSERT_EQ(0, tv_sec_lo); in ZUC_TEST()
94 ZUC_ASSERT_EQ(0, tv_nsec); in ZUC_TEST()
99 ZUC_ASSERT_EQ(0, tv_sec_hi); in ZUC_TEST()
100 ZUC_ASSERT_EQ(1234, tv_sec_lo); in ZUC_TEST()
[all …]
Dconfig-parser-test.c224 ZUC_ASSERT_EQ(-1, r); in ZUC_TEST_F()
225 ZUC_ASSERT_EQ(ENOENT, errno); in ZUC_TEST_F()
274 ZUC_ASSERT_EQ(0, r); in ZUC_TEST_F()
275 ZUC_ASSERT_EQ(5252, n); in ZUC_TEST_F()
276 ZUC_ASSERT_EQ(0, errno); in ZUC_TEST_F()
289 ZUC_ASSERT_EQ(-1, r); in ZUC_TEST_F()
290 ZUC_ASSERT_EQ(ENOENT, errno); in ZUC_TEST_F()
291 ZUC_ASSERT_EQ(700, n); in ZUC_TEST_F()
304 ZUC_ASSERT_EQ(0, r); in ZUC_TEST_F()
305 ZUC_ASSERT_EQ(5252, u); in ZUC_TEST_F()
[all …]
/third_party/weston/tools/zunitc/test/
Dzunitc_test.c50 ZUC_ASSERT_EQ(4, 2 + 2); in ZUC_TEST()
61 ZUC_ASSERT_EQ(5, 2 + 2); in ZUC_TEST()
71 ZUC_ASSERT_EQ(5, 2 + 2); in ZUC_TEST()
80 ZUC_ASSERT_EQ(5, 2 + 2); in ZUC_TEST()
85 ZUC_ASSERT_EQ(7, 9); in ZUC_TEST()
94 ZUC_ASSERT_EQ(0, usleep(10000 * 5)); /* 50ms to show up in reporting */ in ZUC_TEST()
107 ZUC_ASSERT_EQ(5, 2 + 3); in ZUC_TEST()
108 ZUC_ASSERT_EQ(5, 2 + 3); in ZUC_TEST()
207 ZUC_ASSERT_EQ(1, fixture_info.case_counter); in complex_test_tear_down()
227 ZUC_ASSERT_EQ(4, 3 + 1); in ZUC_TEST_F()
[all …]
Dfixtures_test.c51 ZUC_ASSERT_EQ(0, strcmp("for all good men to", str)); in ZUC_TEST_F()
94 ZUC_ASSERT_EQ(0, strcmp("NOW IS THE TIME", str)); in ZUC_TEST_F()
105 ZUC_ASSERT_EQ(0, islower(str[i])); in ZUC_TEST_F()
/third_party/weston/tools/zunitc/inc/zunitc/
Dzunitc.h479 #define ZUC_ASSERT_EQ(expected, actual) \ macro
/third_party/weston/tools/zunitc/doc/
Dzunitc.dox70 - ZUC_ASSERT_EQ()
/third_party/weston/tools/zunitc/src/
Dzunitc_impl.c1103 ZUC_ASSERT_EQ(0, exit_code); in spawn_test()