diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-5F35ED29-18A0-4764-B84D-B43BF23BF44F.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-5F35ED29-18A0-4764-B84D-B43BF23BF44F.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,72 @@ + + + + + +Time Testing GuideDescribes how to test a Time SHAI implementation. +

There is no conformance testing suite for the Time platform service. +So, this is a list of tests that have to be conducted to check that +the Time platform service is working correctly:

+
Time +Tests

The following table is a list of the tests that need +to be carried out in order to test the Time SHAI implementation.

+ + + + +

No.

+

Functionality To Test

+

Description

+

Correct Result

+
+ + + +

1

+

The Real Time Clock (RTC) works correctly.

+

Check the output from the RTC with a reliable clock.

+

The date and time should be identical.

+
+ +

2

+

Validating the RTC.

+

The function MRtcAdaptation::ValidateRtc() is called.

+

The KErrorNone should be returned in the +variable passed in the second argument.

+
+ +

3

+

Setting the wake-up alarm.

+

The function MRtcAdaptation::SetWakeupAlarm()

+

The wake-up alarm should start at the set time.

+
+ +

4

+

Un-set the wake-up alarm.

+
    +
  1. Set the wake-up +alarm to a known date and time.

  2. +
  3. Execute the +function MRtcAdaptation::UnsetWakeupAlarm() to +cancel the wake-up alarm.

  4. +
+

The wake-up alarm will not go off at the original preset +time.

+
+ +

5

+

Cancel a request.

+

As for the above, except that the function MRtcAdaptation::Cancel() is called instead ofMRtcAdaptation::UnsetWakeupAlarm().

+

The wake-up alarm will not go off at the original preset +time.

+
+ + +
+
\ No newline at end of file