Test Cases for the RTC Backwards Check Test (Windows Embedded CE 6.0)

1/6/2010

The following table shows the test cases for the RTC Backwards Check Test.

Note

If a tested clock does not run accurately, the expected duration of a test case shown in the following table might not be accurate.

Test case Description

1

Timer Test Usage Message

Prints out the usage message for the OAL Timer Tests. Tells the user what the tests do and specifies the input if any that the user needs to provide to the tests.

1220

RTC Backwards Check - busy

Confirms that the real-time clock is a monotonically increasing value that runs backward only when it overflows. This test case reads each subsequent clock tick and verifies that the value is greater than the previous value. If the value is less than the previous value, the difference between the values must be less than twice the resolution of the clock. If the difference between the values is greater than twice the resolution of the clock, this test case fails.

This test uses GetSystemTime to access the RTC.

By default, this test case runs for 3 hours. You can specify the length of time that it runs by specifying -c "–backwardsRunTime seconds", where seconds is the run time for the test in seconds.

See Also

Other Resources

RTC Backwards Check Test