Home
last modified time | relevance | path

Searched refs:ICUNIT_ASSERT_EQUAL_VOID (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/kernel/liteos_m/testsuites/sample/kernel/atomic/
Dit_los_atomic_011.c45 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 0, g_testCount); in TaskF01()
50 ICUNIT_ASSERT_EQUAL_VOID(atomicRet, 0xbbbbbbbb, atomicRet); in TaskF01()
52 ICUNIT_ASSERT_EQUAL_VOID(readCounter, 0xbbbbbbbb, readCounter); in TaskF01()
56 ICUNIT_ASSERT_EQUAL_VOID(atomicRet, 0x22222221, atomicRet); in TaskF01()
58 ICUNIT_ASSERT_EQUAL_VOID(readCounter, 0x22222221, readCounter); in TaskF01()
62 ICUNIT_ASSERT_EQUAL_VOID(atomicRet, 0x44444444, atomicRet); in TaskF01()
64 ICUNIT_ASSERT_EQUAL_VOID(readCounter, 0x44444444, readCounter); in TaskF01()
68 ICUNIT_ASSERT_EQUAL_VOID(atomicRet, 0xaaaaaaab, atomicRet); in TaskF01()
70 ICUNIT_ASSERT_EQUAL_VOID(readCounter, 0xaaaaaaab, readCounter); in TaskF01()
75 ICUNIT_ASSERT_EQUAL_VOID(readCounter, 0x11111112, readCounter); in TaskF01()
[all …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/mux/full/
DIt_los_mutex_026.c45 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 6, g_testCount); // 6, here assert the result. in TaskDFunc()
49 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskDFunc()
52 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskDFunc()
56 ICUNIT_ASSERT_EQUAL_VOID(priority, 2, priority); // 2, here assert the result. in TaskDFunc()
57ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 9, g_testCount); // 9, here asse… in TaskDFunc()
67 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, here assert the result. in TaskCFunc()
71 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskCFunc()
74 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskCFunc()
78 ICUNIT_ASSERT_EQUAL_VOID(priority, 3, priority); // 3, here assert the result. in TaskCFunc()
79ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 11, g_testCount); // 11, here ass… in TaskCFunc()
[all …]
DIt_los_mutex_029.c45 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, here assert the result. in TaskD3Func()
47 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskD3Func()
49 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, here assert the result. in TaskD3Func()
51 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskD3Func()
54 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 6, g_testCount); // 6, here assert the result. in TaskD3Func()
57 ICUNIT_ASSERT_EQUAL_VOID(priority, 2, priority); // 2, here assert the result. in TaskD3Func()
67 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, here assert the result. in TaskC3Func()
69 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskC3Func()
72 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskC3Func()
83 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskC3Func()
[all …]
DIt_los_mutex_031.c45 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, here assert the result. in TaskD5Func()
48 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskD5Func()
50 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, here assert the result. in TaskD5Func()
53 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskD5Func()
56 ICUNIT_ASSERT_EQUAL_VOID(priority, 2, priority); // 2, here assert the result. in TaskD5Func()
57ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, here asse… in TaskD5Func()
66 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, here assert the result. in TaskC5Func()
69 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskC5Func()
71 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 6, g_testCount); // 6, here assert the result. in TaskC5Func()
74 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskC5Func()
[all …]
DIt_los_mutex_027.c45 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, here assert the result. in TaskD1Func()
48 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskD1Func()
51 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskD1Func()
54 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, here assert the result. in TaskD1Func()
56 ICUNIT_ASSERT_EQUAL_VOID(priority, 2, priority); // 2, here assert the result. in TaskD1Func()
65 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, here assert the result. in TaskC1Func()
68 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskC1Func()
71 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskC1Func()
73 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 6, g_testCount); // 6, here assert the result. in TaskC1Func()
76 ICUNIT_ASSERT_EQUAL_VOID(priority, 3, priority); // 3, here assert the result. in TaskC1Func()
[all …]
DIt_los_mutex_028.c45 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, here assert the result. in TaskD2Func()
47 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskD2Func()
50 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskD2Func()
52ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 6, g_testCount); // 6, here ass… in TaskD2Func()
54 ICUNIT_ASSERT_EQUAL_VOID(priority, 10, priority); // 10, here assert the result. in TaskD2Func()
63 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, here assert the result. in TaskC2Func()
65 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskC2Func()
68 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskC2Func()
70ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, here ass… in TaskC2Func()
72 ICUNIT_ASSERT_EQUAL_VOID(priority, 10, priority); // 10, here assert the result. in TaskC2Func()
[all …]
DIt_los_mutex_040.c54 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 15, g_testCount); // 15, here assert the result. in TaskFe7Func()
58 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFe7Func()
60 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 17, g_testCount); // 17, here assert the result. in TaskFe7Func()
64 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFe7Func()
66 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 21, g_testCount); // 21, here assert the result. in TaskFe7Func()
76 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 13, g_testCount); // 13, here assert the result. in TaskFe8Func()
80 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFe8Func()
82 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 18, g_testCount); // 18, here assert the result. in TaskFe8Func()
86 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFe8Func()
88 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 22, g_testCount); // 22, here assert the result. in TaskFe8Func()
[all …]
DIt_los_mutex_035.c47 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, here assert the result. in TaskFe2Func()
50 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFe2Func()
53 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 7, g_testCount); // 7, here assert the result. in TaskFe2Func()
56 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFe2Func()
63 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, here assert the result. in TaskService3Func()
66 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskService3Func()
69 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, here assert the result. in TaskService3Func()
72 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskService3Func()
75 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, here assert the result. in TaskService3Func()
78 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskService3Func()
[all …]
DIt_los_mutex_036.c47 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, here assert the result. in TaskFe4Func()
50 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFe4Func()
53 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, here assert the result. in TaskFe4Func()
56 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFe4Func()
63 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, here assert the result. in TaskService5Func()
66 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskService5Func()
69 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, here assert the result. in TaskService5Func()
72 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskService5Func()
80 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 1, g_testCount); in TaskMisc10Func()
83 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskMisc10Func()
[all …]
DIt_los_mutex_007.c44 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF01()
45 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 0, g_testCount); in TaskF01()
51 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF01()
63 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 1, g_testCount); in TaskF02()
67 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF02()
69 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, here assert the result. in TaskF02()
73 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF02()
75 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, here assert the result. in TaskF02()
/kernel/liteos_m/testsuites/sample/kernel/mux/
DIt_los_mutex_026.c43 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); in TaskFuncC()
47 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
50 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
54 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 3, g_losTask.runTask->priority); in TaskFuncC()
56 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 6, g_testCount); in TaskFuncC()
67ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskFuncB()
71 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
74 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
79 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 5, g_losTask.runTask->priority); in TaskFuncB()
81 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 8, g_testCount); in TaskFuncB()
[all …]
DIt_los_mutex_029.c42ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskFuncD()
45 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncD()
48 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncD()
51ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, Here, assert that g_testCount is equa… in TaskFuncD()
53 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 2, g_losTask.runTask->priority); in TaskFuncD()
55ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, Here, assert that g_testCount is equa… in TaskFuncD()
63ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskFuncC()
66 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
69 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
72ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 6, g_testCount); // 6, Here, assert that g_testCount is equa… in TaskFuncC()
[all …]
DIt_los_mutex_031.c42ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskFuncC()
45 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
47ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, Here, assert that g_testCount is equa… in TaskFuncC()
50 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
52 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 3, g_losTask.runTask->priority); in TaskFuncC()
61ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskFuncB()
64 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
66ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, Here, assert that g_testCount is equa… in TaskFuncB()
69 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
71 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 5, g_losTask.runTask->priority); in TaskFuncB()
[all …]
DIt_los_mutex_030.c42ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskFuncC()
44 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
46ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, Here, assert that g_testCount is equa… in TaskFuncC()
49 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
52 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 3, g_losTask.runTask->priority); in TaskFuncC()
54ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, Here, assert that g_testCount is equa… in TaskFuncC()
63ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskFuncB()
65 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_ERRNO_MUX_TIMEOUT, ret); in TaskFuncB()
68 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 5, g_losTask.runTask->priority); in TaskFuncB()
69ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskFuncB()
[all …]
DIt_los_mutex_027.c42ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskFuncC()
45 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
48 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
51 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); in TaskFuncC()
53 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 3, g_losTask.runTask->priority); in TaskFuncC()
62ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskFuncB()
65 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
68 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
71 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); in TaskFuncB()
74 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 5, g_losTask.runTask->priority); in TaskFuncB()
[all …]
DIt_los_mutex_034.c42ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskFuncC()
45 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
48ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, Here, assert that g_testCount is equa… in TaskFuncC()
51 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
54 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 5, g_losTask.runTask->priority); in TaskFuncC()
64ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskFuncB()
67 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
69ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskFuncB()
72 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
75 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 8, g_losTask.runTask->priority); in TaskFuncB()
[all …]
DIt_los_mutex_033.c43ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskFuncC()
46 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
49 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncC()
52 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 5, g_losTask.runTask->priority); in TaskFuncC()
54 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); in TaskFuncC()
64ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskFuncB()
67 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
70 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskFuncB()
73 ICUNIT_ASSERT_EQUAL_VOID(g_losTask.runTask->priority, 8, g_losTask.runTask->priority); in TaskFuncB()
76 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); in TaskFuncB()
[all …]
DIt_los_mutex_021.c40ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 1, g_testCount); // 1, Here, assert that g_testCount is equa… in TaskF01()
43 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF01()
48 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF01()
50ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskF01()
70 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF02()
75 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF02()
78 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF02()
79ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskF02()
DIt_los_mutex_007.c40 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF01()
41 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 0, g_testCount); in TaskF01()
47 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF01()
58ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 1, g_testCount); // 1, Here, assert that g_testCount is equa… in TaskF02()
62 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF02()
64ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskF02()
68 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in TaskF02()
70ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskF02()
/kernel/liteos_a/testsuites/unittest/security/vid/smoke/
Dvid_test_001.cpp71 ICUNIT_ASSERT_EQUAL_VOID(*(ret1 + i), 0, *(ret1 + i)); in ChildFunc()
72 ICUNIT_ASSERT_EQUAL_VOID(i, (int)(*(tid2 + i)), i); in ChildFunc()
74 ICUNIT_ASSERT_EQUAL_VOID(*(ret1 + i), -1, *(ret1 + i)); in ChildFunc()
82 ICUNIT_ASSERT_EQUAL_VOID(ret, 0, ret); in ChildFunc()
90 ICUNIT_ASSERT_EQUAL_VOID(*(ret1 + i), 0, *(ret1 + i)); in ChildFunc()
91 ICUNIT_ASSERT_EQUAL_VOID(i, (int)(*(tid2 + i)), i); in ChildFunc()
93 ICUNIT_ASSERT_EQUAL_VOID(*(ret1 + i), -1, *(ret1 + i)); in ChildFunc()
101 ICUNIT_ASSERT_EQUAL_VOID(ret, 0, ret); in ChildFunc()
107 ICUNIT_ASSERT_EQUAL_VOID(ret1, 0, ret1); in ChildFunc()
114 ICUNIT_ASSERT_EQUAL_VOID(ret1, 0, ret1); in ChildFunc()
[all …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/full/
DIt_los_task_016.c42 ICUNIT_ASSERT_EQUAL_VOID(arg1, 1, arg1); in TaskF04()
43 ICUNIT_ASSERT_EQUAL_VOID(arg2, 0xffffffff, arg2); in TaskF04()
44 ICUNIT_ASSERT_EQUAL_VOID(arg3, -1, arg3); in TaskF04()
45 ICUNIT_ASSERT_EQUAL_VOID(arg4, 0xffffffff, arg4); in TaskF04()
53 ICUNIT_ASSERT_EQUAL_VOID(arg1, 0, arg1); in TaskF03()
54 ICUNIT_ASSERT_EQUAL_VOID(arg2, 0xffff, arg2); in TaskF03()
55 ICUNIT_ASSERT_EQUAL_VOID(arg3, -1, arg3); in TaskF03()
64 ICUNIT_ASSERT_EQUAL_VOID(arg1, 0, arg1); in TaskF02()
65 ICUNIT_ASSERT_EQUAL_VOID(arg2, 0xffff, arg2); in TaskF02()
73 ICUNIT_ASSERT_EQUAL_VOID(arg1, 0xffff, arg1); in TaskF01()
/kernel/liteos_m/testsuites/sample/kernel/task/
DIt_los_task_084.c44ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 6, g_testCount); // 6, Here, assert that g_testCount is equa… in TaskF03()
52 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 1, g_testCount); in TaskF02()
56ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskF02()
66ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in HwiF03()
70ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, Here, assert that g_testCount is equa… in HwiF03()
80ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in HwiF02()
100 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in HwiF01()
106 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in HwiF01()
112 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in HwiF01()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/
DIt_smp_los_task_153.c46 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 1, g_testCount); in HwiF01()
51 ICUNIT_ASSERT_EQUAL_VOID(ret, (OS_TASK_STATUS_RUNNING | OS_TASK_STATUS_DETACHED), ret); in HwiF01()
55 ICUNIT_ASSERT_EQUAL_VOID(ret, TASK_PRIO_TEST_TASK - 2, ret); in HwiF01()
58 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in HwiF01()
61 ICUNIT_ASSERT_EQUAL_VOID(ret, TASK_PRIO_TEST_TASK - 1, ret); in HwiF01()
63ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, assert that g_testCount is equal to t… in HwiF01()
77 ICUNIT_ASSERT_EQUAL_VOID(ret, TASK_PRIO_TEST_TASK - 1, ret); in TaskF01()
79ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, assert that g_testCount is equal to t… in TaskF01()
DIt_smp_los_task_154.c46 ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 1, g_testCount); in HwiF01()
51 ICUNIT_ASSERT_EQUAL_VOID(ret, (OS_TASK_STATUS_RUNNING | OS_TASK_STATUS_DETACHED), ret); in HwiF01()
55 ICUNIT_ASSERT_EQUAL_VOID(ret, TASK_PRIO_TEST_TASK - 2, ret); in HwiF01()
58 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in HwiF01()
61 ICUNIT_ASSERT_EQUAL_VOID(ret, TASK_PRIO_TEST_TASK - 1, ret); in HwiF01()
63ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, assert that g_testCount is equal to t… in HwiF01()
79 ICUNIT_ASSERT_EQUAL_VOID(ret, TASK_PRIO_TEST_TASK - 1, ret); in TaskF01()
81ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, assert that g_testCount is equal to t… in TaskF01()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/mux/smp/
DIt_smp_los_mux_006.c45 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in Task01()
48 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in Task01()
51 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in Task01()
54 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in Task01()
63 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in Task02()
66 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in Task02()
69 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in Task02()
72 ICUNIT_ASSERT_EQUAL_VOID(ret, LOS_OK, ret); in Task02()

12345678910>>...25