Adaptation/GUID-5F35ED29-18A0-4764-B84D-B43BF23BF44F.dita
changeset 15 307f4279f433
--- /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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
+<!-- This component and the accompanying materials are made available under the terms of the License 
+"Eclipse Public License v1.0" which accompanies this distribution, 
+and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
+<!-- Initial Contributors:
+    Nokia Corporation - initial contribution.
+Contributors: 
+-->
+<!DOCTYPE concept
+  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
+<concept id="GUID-5F35ED29-18A0-4764-B84D-B43BF23BF44F" xml:lang="en"><title>Time Testing Guide</title><shortdesc>Describes how to test a Time SHAI implementation.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
+<p>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:</p>
+<section id="GUID-7CF6788A-D44E-456C-AF6D-2B3A93E89539"><title>Time
+Tests</title><p>The following table is a list of the tests that need
+to be carried out in order to test the Time SHAI implementation.</p><table id="GUID-541A8B76-7008-4E81-8AFD-C2955996E79B">
+<tgroup cols="4"><colspec colname="COLSPEC0" colwidth="0.41*"/><colspec colname="col1" colwidth="0.79*"/><colspec colname="col2" colwidth="1.40*"/>
+<colspec colname="col3" colwidth="1.41*"/>
+<thead>
+<row>
+<entry align="center" valign="top"><p><b>No.</b></p></entry>
+<entry align="center" valign="top"><p><b>Functionality To Test</b></p></entry>
+<entry align="center" valign="top"><p><b>Description</b></p></entry>
+<entry align="center" valign="top"><p><b>Correct Result</b></p></entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry><p>1</p></entry>
+<entry><p>The Real Time Clock (RTC) works correctly.</p></entry>
+<entry><p>Check the output from the RTC with a reliable clock.</p></entry>
+<entry><p>The date and time should be identical.</p></entry>
+</row>
+<row>
+<entry><p>2</p></entry>
+<entry><p>Validating the RTC.</p></entry>
+<entry><p>The function <xref href="GUID-CC79A63E-15DF-3437-983B-9A90966B3004.dita#GUID-CC79A63E-15DF-3437-983B-9A90966B3004/GUID-AC7C2EFB-BE71-301A-9C03-A15BDC0EF310"><apiname>MRtcAdaptation::ValidateRtc()</apiname></xref> is called.</p></entry>
+<entry><p>The <codeph>KErrorNone</codeph> should be returned in the
+variable passed in the second argument.</p></entry>
+</row>
+<row>
+<entry><p>3</p></entry>
+<entry><p>Setting the wake-up alarm.</p></entry>
+<entry><p>The function <xref href="GUID-CC79A63E-15DF-3437-983B-9A90966B3004.dita#GUID-CC79A63E-15DF-3437-983B-9A90966B3004/GUID-208F81E5-E9F0-3152-9BCF-04A5147922A2"><apiname>MRtcAdaptation::SetWakeupAlarm()</apiname></xref></p></entry>
+<entry><p>The wake-up alarm should start at the set time.</p></entry>
+</row>
+<row>
+<entry><p>4</p></entry>
+<entry><p>Un-set the wake-up alarm.</p></entry>
+<entry><ol>
+<li id="GUID-7E749595-4BC7-4D28-8292-45C11D4160DB"><p>Set the wake-up
+alarm to a known date and time.</p></li>
+<li id="GUID-26183817-BD96-4DFD-B898-285546F9B318"><p>Execute the
+function <xref href="GUID-CC79A63E-15DF-3437-983B-9A90966B3004.dita#GUID-CC79A63E-15DF-3437-983B-9A90966B3004/GUID-13192CC5-661C-3696-BEFC-198C45C38B8C"><apiname>MRtcAdaptation::UnsetWakeupAlarm()</apiname></xref> to
+cancel the wake-up alarm.</p></li>
+</ol></entry>
+<entry><p>The wake-up alarm will not go off at the original preset
+time.</p></entry>
+</row>
+<row>
+<entry><p>5</p></entry>
+<entry><p>Cancel a request.</p></entry>
+<entry><p>As for the above, except that the function <xref href="GUID-CC79A63E-15DF-3437-983B-9A90966B3004.dita#GUID-CC79A63E-15DF-3437-983B-9A90966B3004/GUID-ADC7041A-23F0-319F-A163-29E8BB261D0B"><apiname>MRtcAdaptation::Cancel()</apiname></xref> is called instead of<xref href="GUID-CC79A63E-15DF-3437-983B-9A90966B3004.dita#GUID-CC79A63E-15DF-3437-983B-9A90966B3004/GUID-13192CC5-661C-3696-BEFC-198C45C38B8C"><apiname>MRtcAdaptation::UnsetWakeupAlarm()</apiname></xref>.</p></entry>
+<entry><p>The wake-up alarm will not go off at the original preset
+time.</p></entry>
+</row>
+</tbody>
+</tgroup>
+</table></section>
+</conbody></concept>
\ No newline at end of file