more verbose top-level test descriptions
authorAnssi Kostiainen <anssi.kostiainen@nokia.com>
Wed, 31 Oct 2012 12:08:27 +0100
changeset 266 62e0b2b6fd1c
parent 265 b0ba6739390f
child 267 3aff84243990
more verbose top-level test descriptions
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
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>
--- 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>