다음을 통해 공유


Test Cases for the GTC Backwards Check with Busy Sleep Test (Windows Embedded CE 6.0)

1/6/2010

The following table shows the test cases for the GTC Backwards Check with Busy Sleep Test.

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.

1020

Tick Count Backwards Check - busy

Confirms that the clock for GetTickCount 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.

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.

The timer for GetTickCount wraps once approximately every 49 days. To test the condition where the timer overflows, set the timer to wrap soon.

See Also

Other Resources

GTC Backwards Check with Busy Sleep Test