Home
last modified time | relevance | path

Searched refs:passflag (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/time/clock/full/
Dclock_test_009.cpp48 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()
Dclock_test_008.cpp48 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()
Dclock_test_006.cpp48 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()
Dclock_test_007.cpp48 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()
Dclock_test_001.cpp48 int passflag = 0; in ClockTest() local
77passflag = (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()
Dclock_test_003.cpp39 int passflag = 0; in ClockTest() local
/kernel/liteos_a/testsuites/unittest/libc/time/clock/smoke/
Dclock_test_smoke.cpp38 int passflag = 0; in ClockSmokeTest() local
59passflag = (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()