/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/ |
D | pthread_test_004.cpp | 44 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc8() 47 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc8() 50 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc8() 66 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc7() 69 ICUNIT_GOTO_EQUAL(ret, 0, -ret, EXIT); in ThreadFunc7() 78 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc7() 81 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc7() 84 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFunc7() 101 ICUNIT_GOTO_EQUAL(ret, EINVAL, ret, EXIT); in ThreadFunc5() 104 ICUNIT_GOTO_EQUAL(ret, 0, -ret, EXIT); in ThreadFunc5() [all …]
|
D | pthread_test_002.cpp | 71 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFuncTest2() 76 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFuncTest2() 78 ICUNIT_GOTO_EQUAL(threadPolicy, SCHED_FIFO, threadPolicy, EXIT); in ThreadFuncTest2() 79 ICUNIT_GOTO_EQUAL(param.sched_priority, (g_currThreadPri + 1), param.sched_priority, EXIT); in ThreadFuncTest2() 83 ICUNIT_GOTO_EQUAL(g_testCnt1, old, g_testCnt1, EXIT); in ThreadFuncTest2() 87 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFuncTest2() 92 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in ThreadFuncTest2() 94 ICUNIT_GOTO_EQUAL(threadPolicy, SCHED_RR, threadPolicy, EXIT); in ThreadFuncTest2() 95 ICUNIT_GOTO_EQUAL(param.sched_priority, g_currThreadPri, param.sched_priority, EXIT); in ThreadFuncTest2() 99 ICUNIT_GOTO_EQUAL(g_testCnt1, old, g_testCnt1, EXIT); in ThreadFuncTest2() [all …]
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
D | process_test_059.cpp | 43 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 46 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 49 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 53 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 56 ICUNIT_GOTO_EQUAL(ret, 1, ret, EXIT); in TestSpawnAttrDef() 69 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 72 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 75 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 79 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 82 ICUNIT_GOTO_EQUAL(ret, 1, ret, EXIT); in TestSpawnAttrMask() [all …]
|
D | process_test_058.cpp | 43 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 46 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 49 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 53 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrDef() 56 ICUNIT_GOTO_EQUAL(ret, 1, ret, EXIT); in TestSpawnAttrDef() 69 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 72 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 75 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 79 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrMask() 82 ICUNIT_GOTO_EQUAL(ret, 1, ret, EXIT); in TestSpawnAttrMask() [all …]
|
D | process_test_067.cpp | 43 ICUNIT_GOTO_EQUAL(val, 0, val, EXIT); in TestSpawnAttrGroup() 47 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrGroup() 52 ICUNIT_GOTO_EQUAL(val, pid, val, EXIT); in TestSpawnAttrGroup() 64 ICUNIT_GOTO_EQUAL(val.sched_priority, 0, ret, EXIT); in TestSpawnAttrPrio() 68 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPrio() 71 ICUNIT_GOTO_EQUAL(val1.sched_priority, HIGH_PRIORITY, ret, EXIT); in TestSpawnAttrPrio() 84 ICUNIT_GOTO_EQUAL(val, 0, val, EXIT); in TestSpawnAttrPol() 88 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPol() 93 ICUNIT_GOTO_EQUAL(val, SCHED_RR, val, EXIT); in TestSpawnAttrPol() 96 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPol() [all …]
|
D | process_test_066.cpp | 43 ICUNIT_GOTO_EQUAL(val, 0, val, EXIT); in TestSpawnAttrGroup() 47 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrGroup() 52 ICUNIT_GOTO_EQUAL(val, pid, val, EXIT); in TestSpawnAttrGroup() 64 ICUNIT_GOTO_EQUAL(val.sched_priority, 0, ret, EXIT); in TestSpawnAttrPrio() 68 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPrio() 71 ICUNIT_GOTO_EQUAL(val1.sched_priority, HIGH_PRIORITY, ret, EXIT); in TestSpawnAttrPrio() 84 ICUNIT_GOTO_EQUAL(val, 0, val, EXIT); in TestSpawnAttrPol() 88 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPol() 93 ICUNIT_GOTO_EQUAL(val, SCHED_RR, val, EXIT); in TestSpawnAttrPol() 96 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in TestSpawnAttrPol() [all …]
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
D | process_test_013.cpp | 44 ICUNIT_GOTO_EQUAL(currPolicy, SCHED_RR, currPolicy, ERROR_OUT); in TestCase() 47 ICUNIT_GOTO_EQUAL(val, currProcessPri, val, ERROR_OUT); in TestCase() 50 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT); in TestCase() 51 ICUNIT_GOTO_EQUAL(param.sched_priority, currProcessPri, param.sched_priority, ERROR_OUT); in TestCase() 54 ICUNIT_GOTO_EQUAL(val, currPolicy, val, ERROR_OUT); in TestCase() 57 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT); in TestCase() 60 ICUNIT_GOTO_EQUAL(ret, PROCESS_TEST_PRI1, ret, ERROR_OUT); in TestCase() 64 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT); in TestCase() 67 ICUNIT_GOTO_EQUAL(ret, currProcessPri, ret, ERROR_OUT); in TestCase() 70 ICUNIT_GOTO_EQUAL(ret, -1, ret, ERROR_OUT); in TestCase() [all …]
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smp/ |
D | process_test_smp_008.cpp | 41 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 45 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 47 ICUNIT_GOTO_EQUAL(ret, 1, ret, ERROR_OUT1); in PthreadTest01() 49 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 55 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 59 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 61 ICUNIT_GOTO_EQUAL(ret, 1, ret, ERROR_OUT1); in PthreadTest01() 63 ICUNIT_GOTO_EQUAL(ret, 1, ret, ERROR_OUT1); in PthreadTest01() 67 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 69 ICUNIT_GOTO_EQUAL(ret, 1, ret, ERROR_OUT1); in PthreadTest01() [all …]
|
D | process_test_smp_002.cpp | 41 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 45 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 47 ICUNIT_GOTO_EQUAL(ret, 1, ret, ERROR_OUT1); in PthreadTest01() 49 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 53 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 55 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT1); in PthreadTest01() 57 ICUNIT_GOTO_EQUAL(ret, 1, ret, ERROR_OUT1); in PthreadTest01() 78 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT); in Testcase() 83 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT); in Testcase() 87 ICUNIT_GOTO_EQUAL(ret, 0, ret, ERROR_OUT); in Testcase() [all …]
|
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
D | It_posix_queue_121.cpp | 44 ICUNIT_GOTO_EQUAL(ret, MQUEUE_SHORT_ARRAY_LENGTH, ret, EXIT); in PthreadF01() 65 ICUNIT_GOTO_EQUAL(ret, MQUEUE_SHORT_ARRAY_LENGTH, ret, EXIT); in PthreadF02() 86 ICUNIT_GOTO_EQUAL(ret, MQUEUE_SHORT_ARRAY_LENGTH, ret, EXIT); in PthreadF03() 107 ICUNIT_GOTO_EQUAL(ret, MQUEUE_SHORT_ARRAY_LENGTH, ret, EXIT); in PthreadF04() 151 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 157 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 160 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT1); in Testcase() 163 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT1); in Testcase() 167 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT2); in Testcase() 170 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT2); in Testcase() [all …]
|
D | It_posix_queue_118.cpp | 40 ICUNIT_GOTO_EQUAL(g_testCount, MQUEUE_SHORT_ARRAY_LENGTH, g_testCount, EXIT); in PthreadF01() 46 ICUNIT_GOTO_EQUAL(ret, MQUEUE_SHORT_ARRAY_LENGTH, ret, EXIT); in PthreadF01() 67 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT); in PthreadF02() 72 ICUNIT_GOTO_EQUAL(ret, MQUEUE_IS_ERROR, ret, EXIT); in PthreadF02() 109 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT); in Testcase() 113 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT1); in Testcase() 116 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT1); in Testcase() 119 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT2); in Testcase() 123 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT2); in Testcase() 126 ICUNIT_GOTO_EQUAL(ret, MQUEUE_NO_ERROR, ret, EXIT2); in Testcase() [all …]
|
/kernel/liteos_m/testsuites/sample/kernel/swtmr/ |
D | It_los_swtmr_072.c | 60 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 63 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 67 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 70 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 76 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 79 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 80 ICUNIT_GOTO_EQUAL(tick, TIMER_LOS_EXPIRATION3 - delayTime - 1, tick, EXIT); in Testcase() 83 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 86 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 89 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
D | It_los_swtmr_071.c | 60 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 63 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 67 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 70 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 76 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 79 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 80 ICUNIT_GOTO_EQUAL(tick, TIMER_LOS_EXPIRATION3 - delayTime - 1, tick, EXIT); in Testcase() 83 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 86 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_SWTMR_NOT_STARTED, ret, EXIT); in Testcase() 89 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
D | It_los_swtmr_Align_031.c | 84 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 89 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 92 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 95 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 98 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 101 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 104 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 107 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 108 …ICUNIT_GOTO_EQUAL(g_swtmrCount1, 1, g_swtmrCount1, EXIT); // 1, Here, assert that g_testCount is e… in Testcase() 109 …ICUNIT_GOTO_EQUAL(g_swtmrCount2, 0, g_swtmrCount2, EXIT); // 0, Here, assert that g_testCount is e… in Testcase() [all …]
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
D | It_posix_pthread_053.cpp | 41 ICUNIT_GOTO_EQUAL(g_testCount, 0, g_testCount, EXIT); in pthread_f01() 45 ICUNIT_GOTO_EQUAL(result, NULL, result, EXIT); in pthread_f01() 48 ICUNIT_GOTO_EQUAL(result, NULL, result, EXIT); in pthread_f01() 51 ICUNIT_GOTO_EQUAL(result, NULL, result, EXIT); in pthread_f01() 54 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in pthread_f01() 57 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in pthread_f01() 60 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in pthread_f01() 63 ICUNIT_GOTO_EQUAL(ret, 200, ret, EXIT); in pthread_f01() 66 ICUNIT_GOTO_EQUAL(ret, 20000, ret, EXIT); in pthread_f01() 72 ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); in pthread_f01() [all …]
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/smoke/ |
D | It_los_queue_105.c | 50 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 53 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 56 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 58 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 61 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_WRITE_SIZE_TOO_BIG, ret, EXIT); in Testcase() 64 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 66 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_ISEMPTY, ret, EXIT); in Testcase() 69 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 72 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 74 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
D | It_los_queue_100.c | 49 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 52 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 55 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 58 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 61 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 64 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 67 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 70 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 73 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 76 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
/kernel/liteos_m/testsuites/sample/kernel/queue/ |
D | It_los_queue_053.c | 43 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in TaskF01() 47 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in TaskF01() 50 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in TaskF01() 70 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 73 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_NOT_FOUND, ret, EXIT); in Testcase() 76 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT1); in Testcase() 78 ICUNIT_GOTO_EQUAL(g_testCount, 1, g_testCount, EXIT1); in Testcase() 81 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_IN_TSKUSE, ret, EXIT1); in Testcase() 84 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT1); in Testcase() 86 ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT1); // Compare wiht the expected value 2. in Testcase() [all …]
|
D | It_los_queue_head_040.c | 43 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in ItQueueHead040F01() 47 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in ItQueueHead040F01() 50 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in ItQueueHead040F01() 71 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 74 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_NOT_FOUND, ret, EXIT); in Testcase() 79 ICUNIT_GOTO_EQUAL(g_testCount, 1, g_testCount, EXIT); in Testcase() 82 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_IN_TSKUSE, ret, EXIT); in Testcase() 85 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 87 ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // Compare wiht the expected value 2. in Testcase() 90 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_IN_TSKUSE, ret, EXIT); in Testcase() [all …]
|
D | It_los_queue_088.c | 44 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 47 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 48 ICUNIT_GOTO_EQUAL(queueInfo.queueLen, len, queueInfo.queueLen, EXIT); in Testcase() 49 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in Testcase() 53 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 56 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_ISFULL, ret, EXIT); in Testcase() 60 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 63 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_ISEMPTY, ret, EXIT); in Testcase() 66 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 69 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
D | It_los_queue_110.c | 44 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in SwtmrF01() 45 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in SwtmrF01() 46 ICUNIT_GOTO_EQUAL(queueInfo.queueID, g_testQueueID01, queueInfo.queueID, EXIT); in SwtmrF01() 65 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 68 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 77 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 80 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 83 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 85 ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // Compare wiht the expected value 2. in Testcase() 88 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/full/ |
D | It_los_queue_053.c | 47 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in TaskF01() 51 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in TaskF01() 54 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in TaskF01() 74 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 77 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_NOT_FOUND, ret, EXIT); in Testcase() 80 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT1); in Testcase() 83 ICUNIT_GOTO_EQUAL(g_testCount, 1, g_testCount, EXIT1); in Testcase() 86 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_IN_TSKUSE, ret, EXIT1); in Testcase() 89 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT1); in Testcase() 92 …ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT1); // 2, Here, assert that g_testCount is equa… in Testcase() [all …]
|
D | It_los_queue_089.c | 53 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 56 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 57 ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, len, queueInfo.usQueueLen, EXIT); in Testcase() 58 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase() 63 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 66 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_ISFULL, ret, EXIT); in Testcase() 70 ICUNIT_GOTO_EQUAL(ret, 0, ret, EXIT); in Testcase() 72 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 75 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_ISEMPTY, ret, EXIT); in Testcase() 78 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|
D | It_los_queue_head_040.c | 47 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in ItQueueHead040F01() 51 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in ItQueueHead040F01() 54 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in ItQueueHead040F01() 75 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 78 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_NOT_FOUND, ret, EXIT); in Testcase() 84 ICUNIT_GOTO_EQUAL(g_testCount, 1, g_testCount, EXIT); in Testcase() 87 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_IN_TSKUSE, ret, EXIT); in Testcase() 90 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 93 …ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // 2, Here, assert that g_testCount is equal… in Testcase() 96 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_IN_TSKUSE, ret, EXIT); in Testcase() [all …]
|
D | It_los_queue_088.c | 51 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 54 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 55 ICUNIT_GOTO_EQUAL(queueInfo.usQueueLen, len, queueInfo.usQueueLen, EXIT); in Testcase() 56 ICUNIT_GOTO_EQUAL(queueInfo.uwQueueID, g_testQueueID01, queueInfo.uwQueueID, EXIT); in Testcase() 60 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 63 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_ISFULL, ret, EXIT); in Testcase() 67 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 70 ICUNIT_GOTO_EQUAL(ret, LOS_ERRNO_QUEUE_ISEMPTY, ret, EXIT); in Testcase() 73 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() 76 ICUNIT_GOTO_EQUAL(ret, LOS_OK, ret, EXIT); in Testcase() [all …]
|