Home
last modified time | relevance | path

Searched refs:ICUNIT_ASSERT_WITHIN_EQUAL (Results 1 – 25 of 47) sorted by relevance

12

/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
Dprocess_test_005.cpp43ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
51ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
59ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
67ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
75ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
83ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
91ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
99ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
107ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
115ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest002()
[all …]
Dprocess_test_004.cpp49ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, 100000, ret); // 100000, assert that function Result is equal t… in Testcase()
63ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, 100000, ret); // 100000, assert that function Result is equal t… in Testcase()
76ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, 100000, ret); // 100000, assert that function Result is equal t… in Testcase()
89ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, 100000, ret); // 100000, assert that function Result is equal t… in Testcase()
101ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, 100000, ret); // 100000, assert that function Result is equal t… in Testcase()
114ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, 100000, ret); // 100000, assert that function Result is equal t… in Testcase()
Dprocess_test_009.cpp51ICUNIT_ASSERT_WITHIN_EQUAL(currProcessPri, 0, 31, currProcessPri); // 31, assert that function Res… in ProcessTest001()
62ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest001()
101ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in Testcase()
Dprocess_test_006.cpp58ICUNIT_ASSERT_WITHIN_EQUAL(currProcessPri, 0, 31, currProcessPri); // 31, assert that function Res… in ProcessTest001()
69ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, 100000, pid); // 100000, assert that function Result is equal t… in ProcessTest001()
76ICUNIT_ASSERT_WITHIN_EQUAL(pid1, 0, 100000, pid1); // 100000, assert that function Result is equal… in ProcessTest001()
Dprocess_test_010.cpp45ICUNIT_ASSERT_WITHIN_EQUAL(currProcessPri, 0, 31, currProcessPri); // 31, assert currProcessPri eq… in ProcessTest001()
103ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, 100000, ret); // 100000, assert that function Result is equal t… in Testcase()
Dprocess_test_008.cpp60ICUNIT_ASSERT_WITHIN_EQUAL(currProcessPri, 0, 31, currProcessPri); // 31, assert that function Res… in ProcessTest001()
108ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, 100000, ret); // 100000, assert that function Result is equal t… in Testcase()
/kernel/liteos_m/testsuites/unittest/xts/io/
Dxts_io_strings_test.c56 ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, INT_MAX, ret);
59 ICUNIT_ASSERT_WITHIN_EQUAL(ret, INT_MIN, 0, ret);
74 ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, INT_MAX, ret);
77 ICUNIT_ASSERT_WITHIN_EQUAL(ret, INT_MIN, 0, ret);
Dxts_io_string_test.c53 ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, INT_MAX, ret);
56 ICUNIT_ASSERT_WITHIN_EQUAL(ret, INT_MIN, 0, ret);
73 ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, INT_MAX, ret);
76 ICUNIT_ASSERT_WITHIN_EQUAL(ret, INT_MIN, 0, ret);
/kernel/liteos_m/testsuites/unittest/posix/src/string/
Dstring_func_test_01.c157 ICUNIT_ASSERT_WITHIN_EQUAL(ret, RET_OK + 1, ret, 0);
170 ICUNIT_ASSERT_WITHIN_EQUAL(ret, RET_OK + 1, ret, 0);
196 ICUNIT_ASSERT_WITHIN_EQUAL(ret, RET_OK + 1, ret, 0);
209 ICUNIT_ASSERT_WITHIN_EQUAL(ret, RET_OK + 1, ret, 0);
222 ICUNIT_ASSERT_WITHIN_EQUAL(ret, RET_OK + 1, ret, 0);
235 ICUNIT_ASSERT_WITHIN_EQUAL(ret, RET_OK + 1, ret, 0);
261 ICUNIT_ASSERT_WITHIN_EQUAL(ret, RET_OK + 1, ret, 0);
Dmemory_func_test.c198 ICUNIT_ASSERT_WITHIN_EQUAL(ret, 1, ret, 0);
204 ICUNIT_ASSERT_WITHIN_EQUAL(ret, ret, -1, 0);
224 ICUNIT_ASSERT_WITHIN_EQUAL(retValue, 1, retValue, 0);
227 ICUNIT_ASSERT_WITHIN_EQUAL(ret, 1, ret, 0);
230 ICUNIT_ASSERT_WITHIN_EQUAL(ret, ret, -1, 0);
250 ICUNIT_ASSERT_WITHIN_EQUAL(retValue, retValue, -1, 0);
Dstring_func_test_03.c84 ICUNIT_ASSERT_WITHIN_EQUAL(ret, 1, ret, 0);
87 ICUNIT_ASSERT_WITHIN_EQUAL(ret, ret, -1, 0);
105 ICUNIT_ASSERT_WITHIN_EQUAL(retValue, 1, retValue, 0);
122 ICUNIT_ASSERT_WITHIN_EQUAL(retValue, retValue, -1, 0);
/kernel/liteos_a/testsuites/unittest/libc/io/full/
DIO_test_confstr_001.cpp41 ICUNIT_ASSERT_WITHIN_EQUAL(n, 0, UINT_MAX, n); in testcase()
52 ICUNIT_ASSERT_WITHIN_EQUAL(n, 0, UINT_MAX, n); in testcase()
65 ICUNIT_ASSERT_WITHIN_EQUAL(n, 0, UINT_MAX, n); in testcase()
/kernel/liteos_m/testsuites/unittest/xts/time/
Dclock_time_test.c103 ICUNIT_ASSERT_WITHIN_EQUAL(ret, sleepSec, INT_MAX, ret);
105ICUNIT_ASSERT_WITHIN_EQUAL(ret, INT_MIN, sleepSec + 1, ret); /* 1, common data for test, no specia…
134 ICUNIT_ASSERT_WITHIN_EQUAL(ret, sleepSec, INT_MAX, ret);
136ICUNIT_ASSERT_WITHIN_EQUAL(ret, INT_MIN, sleepSec + 1, ret); /* 1, common data for test, no specia…
/kernel/liteos_m/testsuites/unittest/posix/src/time/
Dtime_func_test_01.c168 ICUNIT_ASSERT_WITHIN_EQUAL(d, interval[j], d, 0);
169ICUNIT_ASSERT_WITHIN_EQUAL(d, interval[j] - SLEEP_ACCURACY, interval[j] + SLEEP_ACCURACY, d);
189 ICUNIT_ASSERT_WITHIN_EQUAL(duration, duration, 1000, 0);
475 ICUNIT_ASSERT_WITHIN_EQUAL(timeRet, timeRet, -1, 0);
494 ICUNIT_ASSERT_WITHIN_EQUAL(ftime, 1, ftime, 0);
500 ICUNIT_ASSERT_WITHIN_EQUAL(ftime, 1, ftime, 0);
506 ICUNIT_ASSERT_WITHIN_EQUAL(ftime, 1, ftime, 0);
512 ICUNIT_ASSERT_WITHIN_EQUAL(ftime, 1, ftime, 0);
531 ICUNIT_ASSERT_WITHIN_EQUAL(ftime, 1, ftime, 0);
536 ICUNIT_ASSERT_WITHIN_EQUAL(ftime, 1, ftime, 0);
[all …]
/kernel/liteos_a/testsuites/unittest/basic/exc/smoke/
Dit_test_exc_004.cpp42 ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, INVALID_PROCESS_ID, pid); in TestThread()
63 ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, INVALID_PROCESS_ID, pid); in TestCase()
Dit_test_exc_005.cpp56 ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, INVALID_PROCESS_ID, pid); in TestCase()
64 ICUNIT_ASSERT_WITHIN_EQUAL(pid1, 0, INVALID_PROCESS_ID, pid1); in TestCase()
Dit_test_exc_001.cpp39 ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, INVALID_PROCESS_ID, pid); in TestCase()
55 ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, INVALID_PROCESS_ID, pid); in TestCase()
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
Dprocess_test_007.cpp50ICUNIT_ASSERT_WITHIN_EQUAL(currProcessPri, 0, 31, currProcessPri); // 31, assert that function Res… in ProcessTest001()
87ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, 100000, ret); // 100000, assert that function Result is equal t… in Testcase()
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
Dsignal_test_004.cpp57 ICUNIT_ASSERT_WITHIN_EQUAL(fpid, 0, UINT_MAX, fpid); in TestRaiseWake()
80ICUNIT_ASSERT_WITHIN_EQUAL(count, 0, SIG_TEST_COUNT * 30, count); // 30, assert that function Resu… in TestRaiseWake()
Dsignal_test_015.cpp52 ICUNIT_ASSERT_WITHIN_EQUAL(fpid, 0, UINT_MAX, fpid); in TestPauseNormal()
79 ICUNIT_ASSERT_WITHIN_EQUAL(fpid, 0, UINT_MAX, fpid); in TestPauseNormal()
Dsignal_test_017.cpp107 ICUNIT_ASSERT_WITHIN_EQUAL(fpid, 0, UINT_MAX, fpid); in TestMultiPthreadFatherProcessExit()
110 ICUNIT_ASSERT_WITHIN_EQUAL(fpids, 0, UINT_MAX, fpids); in TestMultiPthreadFatherProcessExit()
Dsignal_test_006.cpp51 ICUNIT_ASSERT_WITHIN_EQUAL(fpid, 0, UINT_MAX, fpid); in TestSigDefActionChild()
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/
Dmmap_test_009.cpp45 ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, INVALID_PROCESS_ID, pid); in Testcase()
63 ICUNIT_ASSERT_WITHIN_EQUAL(pid, 0, INVALID_PROCESS_ID, pid); in Testcase()
/kernel/liteos_m/testsuites/unittest/xts/mem/
Dmem_api_test.c179 ICUNIT_ASSERT_WITHIN_EQUAL(ret, INT_MIN, 0, ret);
185 ICUNIT_ASSERT_WITHIN_EQUAL(ret, 0, INT_MAX, ret);
/kernel/liteos_m/testsuites/sample/kernel/hwi/
Dit_los_hwi_038.c51ICUNIT_ASSERT_WITHIN_EQUAL(deltaTicks, tickUpdate - tickRecord - 1, tickUpdate - tickRecord + 1, d… in Testcase()

12