You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/03/14 20:30:16 UTC

[2/2] spec commit: added separate pages for QUnit API tests.

added separate pages for QUnit API tests.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/commit/80cb3bde
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/80cb3bde
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/80cb3bde

Branch: refs/heads/master
Commit: 80cb3bde15e48175f230120b9f87c516ea725319
Parents: d242740
Author: Fil Maj <ma...@gmail.com>
Authored: Wed Mar 14 12:13:27 2012 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Wed Mar 14 12:13:27 2012 -0700

----------------------------------------------------------------------
 audio/index.html                  |    4 +-
 autotest/index.html               |   73 +++++++++----------------------
 autotest/pages/accelerometer.html |   52 ++++++++++++++++++++++
 autotest/pages/all.html           |   64 ++++++++++++++++++++++++++++
 autotest/pages/battery.html       |   53 +++++++++++++++++++++++
 autotest/pages/camera.html        |   53 +++++++++++++++++++++++
 autotest/pages/capture.html       |   53 +++++++++++++++++++++++
 autotest/pages/compass.html       |   53 +++++++++++++++++++++++
 autotest/pages/contacts.html      |   53 +++++++++++++++++++++++
 autotest/pages/device.html        |   53 +++++++++++++++++++++++
 autotest/pages/file.html          |   53 +++++++++++++++++++++++
 autotest/pages/geolocation.html   |   53 +++++++++++++++++++++++
 autotest/pages/media.html         |   53 +++++++++++++++++++++++
 autotest/pages/network.html       |   53 +++++++++++++++++++++++
 autotest/pages/notification.html  |   53 +++++++++++++++++++++++
 autotest/pages/storage.html       |   53 +++++++++++++++++++++++
 16 files changed, 775 insertions(+), 54 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/audio/index.html
----------------------------------------------------------------------
diff --git a/audio/index.html b/audio/index.html
index acf9127..d2c30cc 100755
--- a/audio/index.html
+++ b/audio/index.html
@@ -3,7 +3,7 @@
   <head>
     <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0" />
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>PhoneGap</title>
+    <title>Cordova Audio Tests</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
     <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>      
 
@@ -285,7 +285,7 @@
         </tr>
     </table>
     
-    <h2>&nbsp</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
+    <h2>&nbsp;</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
     
   </body>
 </html>      

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/index.html
----------------------------------------------------------------------
diff --git a/autotest/index.html b/autotest/index.html
index 5225946..8d62f4f 100755
--- a/autotest/index.html
+++ b/autotest/index.html
@@ -4,60 +4,29 @@
     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
     <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
 
-    <title>PhoneGap API Spec</title>
+    <title>Cordova API Specs</title>
 
-    <!-- Load QUnit -->
-    <link rel="stylesheet" type="text/css" href="qunit.css" />
-    <script type="text/javascript" src="qunit.js"></script>
+    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
 
-    <!-- Source -->
-    <script type="text/javascript" src="../phonegap.js"></script>
-
-    <!-- Load Test Runner -->
-    <script type="text/javascript" src="test-runner.js"></script>
+  </head>
+  <body id="stage" class="theme">
+    <h1>Cordova API Specs</h1>
 
-    <!-- Tests -->
-    <script type="text/javascript" src="tests/accelerometer.tests.js"></script>
-    <script type="text/javascript" src="tests/battery.tests.js"></script>
-    <script type="text/javascript" src="tests/capture.tests.js"></script>
-    <script type="text/javascript" src="tests/compass.tests.js"></script>
-    <script type="text/javascript" src="tests/contacts.tests.js"></script>
-    <script type="text/javascript" src="tests/camera.tests.js"></script>
-    <script type="text/javascript" src="tests/device.tests.js"></script>
-    <script type="text/javascript" src="tests/file.tests.js"></script>
-    <script type="text/javascript" src="tests/geolocation.tests.js"></script>
-    <script type="text/javascript" src="tests/media.tests.js"></script>
-    <script type="text/javascript" src="tests/network.tests.js"></script>
-    <script type="text/javascript" src="tests/notification.tests.js"></script>
-    <script type="text/javascript" src="tests/orientation.tests.js"></script>
-    <script type="text/javascript" src="tests/storage.tests.js"></script>
-    <script type="text/javascript">
-      document.addEventListener('deviceready', function() {
-        console.log('running tests');
-          var tests = new Tests();
+    <a href="pages/all.html" class="btn large" style="width:100%;">Run All Tests</a>
+    <a href="pages/accelerometer.html" class="btn large" style="width:100%;">Run Accelerometer Tests</a>
+    <a href="pages/battery.html" class="btn large" style="width:100%;">Run Battery Tests</a>
+    <a href="pages/camera.html" class="btn large" style="width:100%;">Run Camera Tests</a>
+    <a href="pages/capture.html" class="btn large" style="width:100%;">Run Capture Tests</a>
+    <a href="pages/compass.html" class="btn large" style="width:100%;">Run Compass Tests</a>
+    <a href="pages/contacts.html" class="btn large" style="width:100%;">Run Contacts Tests</a>
+    <a href="pages/device.html" class="btn large" style="width:100%;">Run Device Tests</a>
+    <a href="pages/file.html" class="btn large" style="width:100%;">Run File Tests</a>
+    <a href="pages/geolocation.html" class="btn large" style="width:100%;">Run Geolocation Tests</a>
+    <a href="pages/media.html" class="btn large" style="width:100%;">Run Media Tests</a>
+    <a href="pages/network.html" class="btn large" style="width:100%;">Run Network Tests</a>
+    <a href="pages/notification.html" class="btn large" style="width:100%;">Run Notification Tests</a>
+    <a href="pages/storage.html" class="btn large" style="width:100%;">Run Storage Tests</a>
 
-          // Each group of tests are declared as a function in the object `Tests`.
-          // A group of tests are identified by a name that contains the word 'Tests'.
-          //
-          // Load each group of tests into QUnit
-          for (var t in tests) {
-              if (t.indexOf('Tests') > -1) {
-                  tests[t]();
-              }
-          }
-          
-          // Start the QUnit test suite
-          QUnit.start();
-      }, false);
-    </script>
-  </head>
-    <body>
-        <h1 id="qunit-header">PhoneGap API Spec</h1>
-        <h2 id="qunit-banner"></h2>
-        <h2 id="qunit-userAgent"></h2>
-        <ol id="qunit-tests"></ol>
-        <div id="qunit-fixture">
-            <!-- Populated by tests -->
-        </div>
-    </body>
+    <h2>&nbsp;</h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/accelerometer.html
----------------------------------------------------------------------
diff --git a/autotest/pages/accelerometer.html b/autotest/pages/accelerometer.html
new file mode 100644
index 0000000..fa4cec9
--- /dev/null
+++ b/autotest/pages/accelerometer.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Accelerometer API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/accelerometer.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Accelerometer API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/all.html
----------------------------------------------------------------------
diff --git a/autotest/pages/all.html b/autotest/pages/all.html
new file mode 100644
index 0000000..d2564d1
--- /dev/null
+++ b/autotest/pages/all.html
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: All API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/accelerometer.tests.js"></script>
+    <script type="text/javascript" src="../tests/battery.tests.js"></script>
+    <script type="text/javascript" src="../tests/capture.tests.js"></script>
+    <script type="text/javascript" src="../tests/compass.tests.js"></script>
+    <script type="text/javascript" src="../tests/contacts.tests.js"></script>
+    <script type="text/javascript" src="../tests/camera.tests.js"></script>
+    <script type="text/javascript" src="../tests/device.tests.js"></script>
+    <script type="text/javascript" src="../tests/file.tests.js"></script>
+    <script type="text/javascript" src="../tests/geolocation.tests.js"></script>
+    <script type="text/javascript" src="../tests/media.tests.js"></script>
+    <script type="text/javascript" src="../tests/network.tests.js"></script>
+    <script type="text/javascript" src="../tests/notification.tests.js"></script>
+    <script type="text/javascript" src="../tests/orientation.tests.js"></script>
+    <script type="text/javascript" src="../tests/storage.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: All API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/battery.html
----------------------------------------------------------------------
diff --git a/autotest/pages/battery.html b/autotest/pages/battery.html
new file mode 100644
index 0000000..58c43b8
--- /dev/null
+++ b/autotest/pages/battery.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Battery API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/battery.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Battery API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/camera.html
----------------------------------------------------------------------
diff --git a/autotest/pages/camera.html b/autotest/pages/camera.html
new file mode 100644
index 0000000..f49e896
--- /dev/null
+++ b/autotest/pages/camera.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Camera API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/camera.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Camera API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/capture.html
----------------------------------------------------------------------
diff --git a/autotest/pages/capture.html b/autotest/pages/capture.html
new file mode 100644
index 0000000..885ab23
--- /dev/null
+++ b/autotest/pages/capture.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Capture API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/capture.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Capture API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/compass.html
----------------------------------------------------------------------
diff --git a/autotest/pages/compass.html b/autotest/pages/compass.html
new file mode 100644
index 0000000..4963219
--- /dev/null
+++ b/autotest/pages/compass.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Compass API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/compass.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Compass API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/contacts.html
----------------------------------------------------------------------
diff --git a/autotest/pages/contacts.html b/autotest/pages/contacts.html
new file mode 100644
index 0000000..0175d37
--- /dev/null
+++ b/autotest/pages/contacts.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Contacts API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/contacts.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Contacts API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/device.html
----------------------------------------------------------------------
diff --git a/autotest/pages/device.html b/autotest/pages/device.html
new file mode 100644
index 0000000..d2da684
--- /dev/null
+++ b/autotest/pages/device.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Device API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/device.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Device API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/file.html
----------------------------------------------------------------------
diff --git a/autotest/pages/file.html b/autotest/pages/file.html
new file mode 100644
index 0000000..bbc9110
--- /dev/null
+++ b/autotest/pages/file.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: File API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/file.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: File API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/geolocation.html
----------------------------------------------------------------------
diff --git a/autotest/pages/geolocation.html b/autotest/pages/geolocation.html
new file mode 100644
index 0000000..9d2a0da
--- /dev/null
+++ b/autotest/pages/geolocation.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Geolocation API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/geolocation.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Geolocation API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/media.html
----------------------------------------------------------------------
diff --git a/autotest/pages/media.html b/autotest/pages/media.html
new file mode 100644
index 0000000..c88a956
--- /dev/null
+++ b/autotest/pages/media.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Media API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/media.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Media API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/network.html
----------------------------------------------------------------------
diff --git a/autotest/pages/network.html b/autotest/pages/network.html
new file mode 100644
index 0000000..e8be0d3
--- /dev/null
+++ b/autotest/pages/network.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Network API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/network.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Network API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/notification.html
----------------------------------------------------------------------
diff --git a/autotest/pages/notification.html b/autotest/pages/notification.html
new file mode 100644
index 0000000..d790f73
--- /dev/null
+++ b/autotest/pages/notification.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Notification API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/notification.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Notification API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/80cb3bde/autotest/pages/storage.html
----------------------------------------------------------------------
diff --git a/autotest/pages/storage.html b/autotest/pages/storage.html
new file mode 100644
index 0000000..801636a
--- /dev/null
+++ b/autotest/pages/storage.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
+    <meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=1.0;" />
+
+    <title>Cordova: Storage API Specs</title>
+
+    <!-- Load QUnit -->
+    <link rel="stylesheet" type="text/css" href="../qunit.css" />
+    <script type="text/javascript" src="../qunit.js"></script>
+
+    <!-- Source -->
+    <script type="text/javascript" src="../../phonegap.js"></script>
+
+    <!-- Load Test Runner -->
+    <script type="text/javascript" src="../test-runner.js"></script>
+
+    <!-- Tests -->
+    <script type="text/javascript" src="../tests/storage.tests.js"></script>
+    <script type="text/javascript">
+      document.addEventListener('deviceready', function() {
+          console.log('running tests');
+          var tests = new Tests();
+
+          // Each group of tests are declared as a function in the object `Tests`.
+          // A group of tests are identified by a name that contains the word 'Tests'.
+          //
+          // Load each group of tests into QUnit
+          for (var t in tests) {
+              if (t.indexOf('Tests') > -1) {
+                  tests[t]();
+              }
+          }
+
+          // Start the QUnit test suite
+          QUnit.start();
+      }, false);
+    </script>
+  </head>
+    <body>
+        <h1 id="qunit-header">Cordova: Storage API Specs</h1>
+        <h2 id="qunit-banner"></h2>
+        <h2 id="qunit-userAgent"></h2>
+        <ol id="qunit-tests"></ol>
+        <div id="qunit-fixture">
+            <!-- Populated by tests -->
+        </div>
+    </body>
+</html>
+
+
+