Searched refs:passflag (Results 1 – 7 of 7) sorted by relevance
/kernel/liteos_a/testsuites/unittest/libc/time/clock/full/ |
D | clock_test_009.cpp | 48 int passflag = 0; in ClockTest() local 73 passflag = (tp.tv_sec >= oldtp.tv_sec) && (tp.tv_sec <= oldtp.tv_sec + 1); in ClockTest() 75 ICUNIT_ASSERT_EQUAL(passflag, 1, passflag); in ClockTest()
|
D | clock_test_008.cpp | 48 int passflag = 0; in ClockTest() local 73 passflag = (tp.tv_sec >= oldtp.tv_sec) && (tp.tv_sec <= oldtp.tv_sec + 1); in ClockTest() 75 ICUNIT_ASSERT_EQUAL(passflag, 1, passflag); in ClockTest()
|
D | clock_test_006.cpp | 48 int passflag = 0; in ClockTest() local 75 passflag = (tp.tv_sec >= oldtp.tv_sec) && (tp.tv_sec <= oldtp.tv_sec + 1); in ClockTest() 76 ICUNIT_ASSERT_EQUAL(passflag, 1, passflag); in ClockTest()
|
D | clock_test_007.cpp | 48 int passflag = 0; in ClockTest() local 72 passflag = (tp.tv_sec >= oldtp.tv_sec) && (tp.tv_sec <= oldtp.tv_sec + 1); in ClockTest() 74 ICUNIT_ASSERT_EQUAL(passflag, 1, passflag); in ClockTest()
|
D | clock_test_001.cpp | 48 int passflag = 0; in ClockTest() local 77 …passflag = (tp.tv_sec >= 2 + oldtp.tv_sec) && (tp.tv_sec <= 2 + oldtp.tv_sec + 1); // 2, use for t… in ClockTest() 79 ICUNIT_ASSERT_EQUAL(passflag, true, passflag); in ClockTest()
|
D | clock_test_003.cpp | 39 int passflag = 0; in ClockTest() local
|
/kernel/liteos_a/testsuites/unittest/libc/time/clock/smoke/ |
D | clock_test_smoke.cpp | 38 int passflag = 0; in ClockSmokeTest() local 59 …passflag = (ts.tv_sec >= setts.tv_sec) && (ts.tv_sec <= setts.tv_sec + 1); // 1, means obtaining t… in ClockSmokeTest() 61 ICUNIT_ASSERT_EQUAL(passflag, true, passflag); in ClockSmokeTest()
|