/kernel/liteos_m/testsuites/sample/kernel/atomic/ |
D | it_los_atomic_011.c | 45 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/ |
D | It_los_mutex_026.c | 45 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() 57 …ICUNIT_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() 79 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 11, g_testCount); // 11, here ass… in TaskCFunc() [all …]
|
D | It_los_mutex_029.c | 45 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 …]
|
D | It_los_mutex_031.c | 45 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() 57 …ICUNIT_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 …]
|
D | It_los_mutex_027.c | 45 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 …]
|
D | It_los_mutex_028.c | 45 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() 52 …ICUNIT_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() 70 …ICUNIT_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 …]
|
D | It_los_mutex_040.c | 54 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 …]
|
D | It_los_mutex_035.c | 47 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 …]
|
D | It_los_mutex_036.c | 47 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 …]
|
D | It_los_mutex_007.c | 44 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/ |
D | It_los_mutex_026.c | 43 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() 67 …ICUNIT_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 …]
|
D | It_los_mutex_029.c | 42 …ICUNIT_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() 51 …ICUNIT_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() 55 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, Here, assert that g_testCount is equa… in TaskFuncD() 63 …ICUNIT_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() 72 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 6, g_testCount); // 6, Here, assert that g_testCount is equa… in TaskFuncC() [all …]
|
D | It_los_mutex_031.c | 42 …ICUNIT_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() 47 …ICUNIT_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() 61 …ICUNIT_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() 66 …ICUNIT_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 …]
|
D | It_los_mutex_030.c | 42 …ICUNIT_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() 46 …ICUNIT_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() 54 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 5, g_testCount); // 5, Here, assert that g_testCount is equa… in TaskFuncC() 63 …ICUNIT_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() 69 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskFuncB() [all …]
|
D | It_los_mutex_027.c | 42 …ICUNIT_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() 62 …ICUNIT_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 …]
|
D | It_los_mutex_034.c | 42 …ICUNIT_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(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() 64 …ICUNIT_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() 69 …ICUNIT_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 …]
|
D | It_los_mutex_033.c | 43 …ICUNIT_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() 64 …ICUNIT_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 …]
|
D | It_los_mutex_021.c | 40 …ICUNIT_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() 50 …ICUNIT_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() 79 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in TaskF02()
|
D | It_los_mutex_007.c | 40 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() 58 …ICUNIT_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() 64 …ICUNIT_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() 70 …ICUNIT_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/ |
D | vid_test_001.cpp | 71 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/ |
D | It_los_task_016.c | 42 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/ |
D | It_los_task_084.c | 44 …ICUNIT_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() 56 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 2, g_testCount); // 2, Here, assert that g_testCount is equa… in TaskF02() 66 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, Here, assert that g_testCount is equa… in HwiF03() 70 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 4, g_testCount); // 4, Here, assert that g_testCount is equa… in HwiF03() 80 …ICUNIT_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/ |
D | It_smp_los_task_153.c | 46 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() 63 …ICUNIT_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() 79 …ICUNIT_ASSERT_EQUAL_VOID(g_testCount, 3, g_testCount); // 3, assert that g_testCount is equal to t… in TaskF01()
|
D | It_smp_los_task_154.c | 46 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() 63 …ICUNIT_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() 81 …ICUNIT_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/ |
D | It_smp_los_mux_006.c | 45 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()
|