dap commit: more verbose top-level test descriptions

changeset:   266:62e0b2b6fd1c
tag:         tip
user:        Anssi Kostiainen <anssi.kostiainen@nokia.com>
date:        Wed Oct 31 12:08:27 2012 +0100
files:       battery/tests/submissions/anssik/battery-charging.html battery/tests/submissions/anssik/battery-created.html battery/tests/submissions/anssik/battery-discharging.html battery/tests/submissions/anssik/battery-full.html battery/tests/submissions/anssik/battery-interface.html battery/tests/submissions/anssik/battery-plugged-in.html battery/tests/submissions/anssik/battery-unplugged.html
description:
more verbose top-level test descriptions


diff -r b0ba6739390f -r 62e0b2b6fd1c battery/tests/submissions/anssik/battery-charging.html
--- a/battery/tests/submissions/anssik/battery-charging.html	Wed Oct 31 11:56:27 2012 +0100
+++ b/battery/tests/submissions/anssik/battery-charging.html	Wed Oct 31 12:08:27 2012 +0100
@@ -8,7 +8,7 @@
   <body>
     <h1>Description</h1>
     <p>
-      The battery is charging.
+      This test validates that all of the navigator.battery attributes exist and are set to correct values, when the battery is charging.
     </p>
     <h2>Preconditions</h2>
     <ol>
diff -r b0ba6739390f -r 62e0b2b6fd1c battery/tests/submissions/anssik/battery-created.html
--- a/battery/tests/submissions/anssik/battery-created.html	Wed Oct 31 11:56:27 2012 +0100
+++ b/battery/tests/submissions/anssik/battery-created.html	Wed Oct 31 12:08:27 2012 +0100
@@ -13,6 +13,9 @@
         but lack a backend implementation.
       </strong>
     </p>
+    <p>
+      This test validates that all of the navigator.battery attributes exist and are set to their default values.
+    </p>
     <h2>Preconditions</h2>
     <ol>
       <li>
diff -r b0ba6739390f -r 62e0b2b6fd1c battery/tests/submissions/anssik/battery-discharging.html
--- a/battery/tests/submissions/anssik/battery-discharging.html	Wed Oct 31 11:56:27 2012 +0100
+++ b/battery/tests/submissions/anssik/battery-discharging.html	Wed Oct 31 12:08:27 2012 +0100
@@ -8,7 +8,7 @@
   <body>
     <h1>Description</h1>
     <p>
-      The battery is discharging.
+      This test validates that all of the navigator.battery attributes exist and are set to correct values, when the battery is discharging.
     </p>
     <h2>Preconditions</h2>
     <ol>
diff -r b0ba6739390f -r 62e0b2b6fd1c battery/tests/submissions/anssik/battery-full.html
--- a/battery/tests/submissions/anssik/battery-full.html	Wed Oct 31 11:56:27 2012 +0100
+++ b/battery/tests/submissions/anssik/battery-full.html	Wed Oct 31 12:08:27 2012 +0100
@@ -8,7 +8,7 @@
   <body>
     <h1>Description</h1>
     <p>
-      The battery is full.
+      This test validates that all of the navigator.battery attributes exist and are set to correct values, when the battery is full.
     </p>
     <h2>Preconditions</h2>
     <ol>
diff -r b0ba6739390f -r 62e0b2b6fd1c battery/tests/submissions/anssik/battery-interface.html
--- a/battery/tests/submissions/anssik/battery-interface.html	Wed Oct 31 11:56:27 2012 +0100
+++ b/battery/tests/submissions/anssik/battery-interface.html	Wed Oct 31 12:08:27 2012 +0100
@@ -6,7 +6,11 @@
 <script src="battery-interface.js"></script>
 </head>
 <body>
-<h1>Test Suite for Battery Status API (Work in Progress)</h1>
+<h1>Description</h1>
+<p>
+  This test validates the BatteryManager interface IDL.
+</p>
+
 <div id="log"></div>
 <p>
   <small>
diff -r b0ba6739390f -r 62e0b2b6fd1c battery/tests/submissions/anssik/battery-plugged-in.html
--- a/battery/tests/submissions/anssik/battery-plugged-in.html	Wed Oct 31 11:56:27 2012 +0100
+++ b/battery/tests/submissions/anssik/battery-plugged-in.html	Wed Oct 31 12:08:27 2012 +0100
@@ -8,7 +8,7 @@
   <body>
     <h1>Description</h1>
     <p>
-       The battery charging state, charging time, discharging time and level are updated, and corresponding events fired, when the charger is plugged in.
+      This test validates that all of the navigator.battery attributes exist and are set to correct values, with corresponding events fired, when the charger is plugged in.
     </p>
     <h2>Preconditions</h2>
     <ol>
diff -r b0ba6739390f -r 62e0b2b6fd1c battery/tests/submissions/anssik/battery-unplugged.html
--- a/battery/tests/submissions/anssik/battery-unplugged.html	Wed Oct 31 11:56:27 2012 +0100
+++ b/battery/tests/submissions/anssik/battery-unplugged.html	Wed Oct 31 12:08:27 2012 +0100
@@ -8,7 +8,7 @@
   <body>
     <h1>Description</h1>
     <p>
-       The battery charging state, charging time, discharging time and level are updated, and corresponding events fired, when the charger is unplugged.
+      This test validates that all of the navigator.battery attributes exist and are set to correct values, with corresponding events fired, when the charger is unplugged.
     </p>
     <h2>Preconditions</h2>
     <ol>

Received on Wednesday, 31 October 2012 11:05:39 UTC