You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/04/10 00:40:30 UTC

[16/34] wp7 commit: spec pages cleanup

spec pages cleanup


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/commit/ff61d7d0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/ff61d7d0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/ff61d7d0

Branch: refs/heads/master
Commit: ff61d7d0ea0bac9468144ac2954a9d43b2327d17
Parents: 141e38a
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Mon Apr 9 10:56:21 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Mon Apr 9 10:56:21 2012 -0700

----------------------------------------------------------------------
 .../CordovaSourceDictionary.xml                    |  193 ---------------
 .../MobileSpecUnitTests/MobileSpecUnitTests.csproj |    2 +-
 .../www/autotest/pages/accelerometer.html          |    2 +-
 .../www/autotest/pages/all.html                    |   62 +++--
 .../www/autotest/test-runner.js                    |    6 +-
 .../www/autotest/tests/device.tests.js             |   71 +++---
 6 files changed, 82 insertions(+), 254 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/ff61d7d0/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml b/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
deleted file mode 100644
index dea2523..0000000
--- a/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
+++ /dev/null
@@ -1,193 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This file is auto-generated, do not edit! -jm -->
-<CordovaSourceDictionary>
-    <FilePath Value="www\index.html"/>
-    <FilePath Value="www\main.js"/>
-    <FilePath Value="www\master.css"/>
-    <FilePath Value="www\phonegap.js"/>
-    <FilePath Value="www\.git\COMMIT_EDITMSG"/>
-    <FilePath Value="www\.git\config"/>
-    <FilePath Value="www\.git\description"/>
-    <FilePath Value="www\.git\FETCH_HEAD"/>
-    <FilePath Value="www\.git\HEAD"/>
-    <FilePath Value="www\.git\index"/>
-    <FilePath Value="www\.git\ORIG_HEAD"/>
-    <FilePath Value="www\.git\hooks\applypatch-msg.sample"/>
-    <FilePath Value="www\.git\hooks\commit-msg.sample"/>
-    <FilePath Value="www\.git\hooks\post-commit.sample"/>
-    <FilePath Value="www\.git\hooks\post-receive.sample"/>
-    <FilePath Value="www\.git\hooks\post-update.sample"/>
-    <FilePath Value="www\.git\hooks\pre-applypatch.sample"/>
-    <FilePath Value="www\.git\hooks\pre-commit.sample"/>
-    <FilePath Value="www\.git\hooks\pre-rebase.sample"/>
-    <FilePath Value="www\.git\hooks\prepare-commit-msg.sample"/>
-    <FilePath Value="www\.git\hooks\update.sample"/>
-    <FilePath Value="www\.git\info\exclude"/>
-    <FilePath Value="www\.git\logs\HEAD"/>
-    <FilePath Value="www\.git\logs\refs\heads\FixMarkup"/>
-    <FilePath Value="www\.git\logs\refs\heads\master"/>
-    <FilePath Value="www\.git\logs\refs\remotes\origin\FixMarkup"/>
-    <FilePath Value="www\.git\logs\refs\remotes\origin\master"/>
-    <FilePath Value="www\.git\objects\00\852a9c29baf5964d09123a5a9102bd2e785b76"/>
-    <FilePath Value="www\.git\objects\01\427660cf1b9181f02404c0c483329ba96cc44a"/>
-    <FilePath Value="www\.git\objects\02\3678d3fbcea50f936615ceba123371b02f539c"/>
-    <FilePath Value="www\.git\objects\03\81010419221e8f300301171555d0f00b11b496"/>
-    <FilePath Value="www\.git\objects\06\465ed81993a02e57f6f50d5e76d6ddd786cbc7"/>
-    <FilePath Value="www\.git\objects\0b\05192470bad6d7833f6fce441fbd9dd14e2b0e"/>
-    <FilePath Value="www\.git\objects\0d\a640788bbb8c2daa4d2579d086ebabd7c74026"/>
-    <FilePath Value="www\.git\objects\15\dc462a492bd2d885a5c66a9ebedb428f3f0653"/>
-    <FilePath Value="www\.git\objects\16\23a5e6bd4b4644e8818d1cb186b4dbe373365f"/>
-    <FilePath Value="www\.git\objects\18\a9ceb6f5058acd9bd67f1ce15f261b5876dc0c"/>
-    <FilePath Value="www\.git\objects\19\b1ee68c1c215bc6b94492bf58d22da33af9897"/>
-    <FilePath Value="www\.git\objects\1d\43c998df62997fe5d4805ee8c98e4c6a2b3b14"/>
-    <FilePath Value="www\.git\objects\1f\0864799f0111dcf9c3c1ff62be745eebf230ab"/>
-    <FilePath Value="www\.git\objects\1f\871a02650c8ebc5113ff58c551f86fa8d69f7d"/>
-    <FilePath Value="www\.git\objects\23\70fa5d32a5e317fffd51e07d3fa87d4b974a65"/>
-    <FilePath Value="www\.git\objects\25\824ddbc83aaffecb9ba1c13656f61254223f35"/>
-    <FilePath Value="www\.git\objects\27\8c11eeda787a3307957168451db245a72d5ab6"/>
-    <FilePath Value="www\.git\objects\2c\a11d82b9e7705be62d571099cdb7a7f0915d48"/>
-    <FilePath Value="www\.git\objects\2d\427f363ba5d107b04bfcb5ead9ea2a8b3c1ac3"/>
-    <FilePath Value="www\.git\objects\2e\0b3bb2c032cb9d0de52ca26681c2d4298fff79"/>
-    <FilePath Value="www\.git\objects\2e\27da5193f218c91e4d759fe9351114c7528749"/>
-    <FilePath Value="www\.git\objects\2f\034c14c690ffe8893e224c4a22118256c2da20"/>
-    <FilePath Value="www\.git\objects\2f\24e2eda40fbbb393580dfab4451e7f1424da22"/>
-    <FilePath Value="www\.git\objects\31\bd3564cb01d5ff75ca5db681ed6a8f79a09fe1"/>
-    <FilePath Value="www\.git\objects\35\a71bf2db555a614a5e7ebf95c5f9b2e596e4c5"/>
-    <FilePath Value="www\.git\objects\3b\1a1888ac6fa02cf932c7125e7a14cc1ceb5c97"/>
-    <FilePath Value="www\.git\objects\3b\c4d9b6492bab080fcf4c3bfe84184f5b56b13f"/>
-    <FilePath Value="www\.git\objects\3d\c8dcb62cba6319cd97e62eb14ab9c597b3f9d4"/>
-    <FilePath Value="www\.git\objects\43\4bdbcf5ec5ec3695451ac3a15f6cf6fefb68ed"/>
-    <FilePath Value="www\.git\objects\43\8bfbb9b52f07a736e21775035e9c0093996e2f"/>
-    <FilePath Value="www\.git\objects\43\a5c8682349c77449b906d1e8aa519e69eea832"/>
-    <FilePath Value="www\.git\objects\46\d767597eaaf315f4b836f3af8ef72b813b67ac"/>
-    <FilePath Value="www\.git\objects\46\fe95b82054465635a2f3c8127117b2553350be"/>
-    <FilePath Value="www\.git\objects\48\efa273f7bf6f7e46254a122976a7978076b438"/>
-    <FilePath Value="www\.git\objects\4b\69561b9f3624eafe256d886f17fa513d60bd28"/>
-    <FilePath Value="www\.git\objects\4d\132001b18caa2a390ea8e513e2b3e388e1e2a4"/>
-    <FilePath Value="www\.git\objects\4e\9ac4bcb597e16d8d3e65d55848f93a0a15f715"/>
-    <FilePath Value="www\.git\objects\50\1d246a4359a620c754e0acbb043e736743ef06"/>
-    <FilePath Value="www\.git\objects\52\196fede4dc878a3bad8dd833aaeb569665c26d"/>
-    <FilePath Value="www\.git\objects\58\50c507389f59496c98863b628ba074ab02939a"/>
-    <FilePath Value="www\.git\objects\59\3104ae5d7e83ec3deab8c55f663c8559e85994"/>
-    <FilePath Value="www\.git\objects\59\ce3aa754ed566aaa81f1209632ec8eaac15e5e"/>
-    <FilePath Value="www\.git\objects\5c\77260101ff78454693d80824208ae06897d620"/>
-    <FilePath Value="www\.git\objects\5c\f27b0a61f6628954f46683db6e61c0ad6da468"/>
-    <FilePath Value="www\.git\objects\5e\ab91e0fec1d630539170ed63eb4219c9f00fa5"/>
-    <FilePath Value="www\.git\objects\5f\3c5e78ceb00423f355c5a0bfdf5a7f1c6f23fc"/>
-    <FilePath Value="www\.git\objects\5f\7ff8a7dd51a3e4ad1af1351b1e411e24406f11"/>
-    <FilePath Value="www\.git\objects\64\81ec9621e87030ea1f51d5d928e350786bf6e0"/>
-    <FilePath Value="www\.git\objects\66\4f8d7f56a248ce5ff43682a0bdbc299bfa2187"/>
-    <FilePath Value="www\.git\objects\67\fb28cf312dcca56a5de52623b6a61a9d5fcec5"/>
-    <FilePath Value="www\.git\objects\6a\9c5a7a4627f2539eb2ab5f0f03af7c1b779721"/>
-    <FilePath Value="www\.git\objects\6b\045ab17d563b388528c59c4907be66bdd8d2d9"/>
-    <FilePath Value="www\.git\objects\6b\e26e963b7ea0cde0bb4993277d62e9b7161113"/>
-    <FilePath Value="www\.git\objects\6b\f737ecb14b1489442ef685fd1f876e4d68a5c8"/>
-    <FilePath Value="www\.git\objects\6b\fdf962a53627ef073d29dff6e393b8ef347c27"/>
-    <FilePath Value="www\.git\objects\6c\e3ae61c79562241f5ec3c21bd2e4ed129bcbb9"/>
-    <FilePath Value="www\.git\objects\70\033705eee5defaa4ecab9d9bb64c7bdde36211"/>
-    <FilePath Value="www\.git\objects\78\90b40fd557069be2af61da302374479bb8729a"/>
-    <FilePath Value="www\.git\objects\79\a84e59383501f1cccb025e64e35e31d284aac4"/>
-    <FilePath Value="www\.git\objects\7b\482fb014de3283331bd1ee5bc36677ac9dc9a3"/>
-    <FilePath Value="www\.git\objects\7c\a69f34333437e41817a47fcea494e7691f23c6"/>
-    <FilePath Value="www\.git\objects\80\47722211c36b2f7ae82ae02d2b6c5894e3e24a"/>
-    <FilePath Value="www\.git\objects\81\894cff4f5492f92893c00ff159afb63064599d"/>
-    <FilePath Value="www\.git\objects\83\1f508e20bdfc23c309f7c38097e2797b0445a3"/>
-    <FilePath Value="www\.git\objects\86\547f23dbf617fb59e3e0f107a510071380bfcb"/>
-    <FilePath Value="www\.git\objects\89\632b8ac5ba0d09d1328ea482690fa026f1ea2a"/>
-    <FilePath Value="www\.git\objects\8a\8545c407f16cad77a25c9a3d5fd0749260b09c"/>
-    <FilePath Value="www\.git\objects\8b\0f6d2d8b46a2a16a001b3aa36b451f30edefca"/>
-    <FilePath Value="www\.git\objects\90\5aea8a563feb8ce3eb2c5cbab33b2657d75983"/>
-    <FilePath Value="www\.git\objects\96\59b4801630d40e7f43d9d727a4feef752e96db"/>
-    <FilePath Value="www\.git\objects\9b\2e6199fbcc63b3ddcd61d67176f8d20c8ce0ed"/>
-    <FilePath Value="www\.git\objects\9b\9deb43bc103574dc5a616f9ff0d6de1eeb34d5"/>
-    <FilePath Value="www\.git\objects\9c\858bbb3fb96c21c98d9933e7ff6fbd380d01fa"/>
-    <FilePath Value="www\.git\objects\9f\bf9a2df1b15d002ab906dfe83c41d6acc795df"/>
-    <FilePath Value="www\.git\objects\a4\77b057691d9822344f71f5ee8a0ffa6a0d08f2"/>
-    <FilePath Value="www\.git\objects\a6\4f5671e923c2a8f62933223a91149913066d0c"/>
-    <FilePath Value="www\.git\objects\aa\55885ff9773a88b7a40c432db96c1f8e514945"/>
-    <FilePath Value="www\.git\objects\aa\bef1bd13e823c949a0118d294d52ed06fe643f"/>
-    <FilePath Value="www\.git\objects\ac\8be10b1f453e00502fab35a3d99d2547168313"/>
-    <FilePath Value="www\.git\objects\af\0ae42cd2d24f98e40a1894907dbe9a7c312350"/>
-    <FilePath Value="www\.git\objects\b0\7cfe3bb2fc4ebbdaf4d202bbea8e855b38a56f"/>
-    <FilePath Value="www\.git\objects\b3\2ba86619f7f55084fa4a04cd6ed5817fe9290f"/>
-    <FilePath Value="www\.git\objects\b5\f9ae4686b8bafdb37de7ef53eef178140a6cdc"/>
-    <FilePath Value="www\.git\objects\ba\2f8e067487e0f0791588c6f22799cf9eae17f9"/>
-    <FilePath Value="www\.git\objects\bb\d86424f313d94e41b1f4930e8d7b251eb4896b"/>
-    <FilePath Value="www\.git\objects\bc\74cbee6dad9b92fc576b436931ce42ea46c3a9"/>
-    <FilePath Value="www\.git\objects\bf\49d843c515bfe36e6930b12e230806d0a068dd"/>
-    <FilePath Value="www\.git\objects\c6\46db1f8925cd4e23913e794d6332987665b0cf"/>
-    <FilePath Value="www\.git\objects\c9\987ccc4572ac6b33033b0688a0cb58978e4885"/>
-    <FilePath Value="www\.git\objects\ca\e19ce4bffa249621ea9607b2a1bef7835cdc7a"/>
-    <FilePath Value="www\.git\objects\cf\6ded415b1a9c0e701a667f5ff33cb938c50a47"/>
-    <FilePath Value="www\.git\objects\d1\43a94b3f477405bc181d22b02148e48199607d"/>
-    <FilePath Value="www\.git\objects\d3\e057bf677f7625fecf1004b14f9656b2151082"/>
-    <FilePath Value="www\.git\objects\d4\862dd8b9c056d6a8830767a41a1cbce0f5ffdb"/>
-    <FilePath Value="www\.git\objects\d6\38a296555728c4d6f4ed5516ce371f547e3442"/>
-    <FilePath Value="www\.git\objects\d8\d7446466dd5d69f5a46904b7e80d883fbe5684"/>
-    <FilePath Value="www\.git\objects\df\5fa3f2dd25748c0b3bd92a0e4774fa10a6db5d"/>
-    <FilePath Value="www\.git\objects\e8\2b5d93262cfab4d06c0c4273c4e0b396167d52"/>
-    <FilePath Value="www\.git\objects\e8\3fb5de51b4ea2e82091bbf8bdb84674ec4d99b"/>
-    <FilePath Value="www\.git\objects\eb\00a7c6440fe048444aac46d3c79812c1d2e543"/>
-    <FilePath Value="www\.git\objects\ee\6c398d211176966d54eb06e812476cd9ccb737"/>
-    <FilePath Value="www\.git\objects\f3\859c7b685bb0a2c3c5dfa4586984ca29d8bdc5"/>
-    <FilePath Value="www\.git\objects\fa\5dd659184571d6faad903ae83fb47edebea3a3"/>
-    <FilePath Value="www\.git\objects\fb\c268403b93ef911943ed5936f2dbb95b41bf36"/>
-    <FilePath Value="www\.git\objects\fd\61aa447ae20b082fc1b59f8bd3d48e95a433b7"/>
-    <FilePath Value="www\.git\objects\fe\1a11928b429a55dadedf8663db02ae6e74b481"/>
-    <FilePath Value="www\.git\objects\ff\1f290b4128015331a85461474ccf2faa25e2c9"/>
-    <FilePath Value="www\.git\objects\pack\pack-4fc82e1b469e633c178779442509b196fdfc06c0.idx"/>
-    <FilePath Value="www\.git\objects\pack\pack-4fc82e1b469e633c178779442509b196fdfc06c0.pack"/>
-    <FilePath Value="www\.git\refs\heads\FixMarkup"/>
-    <FilePath Value="www\.git\refs\heads\master"/>
-    <FilePath Value="www\.git\refs\remotes\origin\FixMarkup"/>
-    <FilePath Value="www\.git\refs\remotes\origin\master"/>
-    <FilePath Value="www\accelerometer\index.html"/>
-    <FilePath Value="www\audio\index.html"/>
-    <FilePath Value="www\autotest\index.html"/>
-    <FilePath Value="www\autotest\qunit.css"/>
-    <FilePath Value="www\autotest\qunit.js"/>
-    <FilePath Value="www\autotest\test-runner.js"/>
-    <FilePath Value="www\autotest\pages\accelerometer.html"/>
-    <FilePath Value="www\autotest\pages\all.html"/>
-    <FilePath Value="www\autotest\pages\battery.html"/>
-    <FilePath Value="www\autotest\pages\camera.html"/>
-    <FilePath Value="www\autotest\pages\capture.html"/>
-    <FilePath Value="www\autotest\pages\compass.html"/>
-    <FilePath Value="www\autotest\pages\contacts.html"/>
-    <FilePath Value="www\autotest\pages\device.html"/>
-    <FilePath Value="www\autotest\pages\file.html"/>
-    <FilePath Value="www\autotest\pages\geolocation.html"/>
-    <FilePath Value="www\autotest\pages\media.html"/>
-    <FilePath Value="www\autotest\pages\network.html"/>
-    <FilePath Value="www\autotest\pages\notification.html"/>
-    <FilePath Value="www\autotest\pages\platform.html"/>
-    <FilePath Value="www\autotest\pages\storage.html"/>
-    <FilePath Value="www\autotest\tests\accelerometer.tests.js"/>
-    <FilePath Value="www\autotest\tests\battery.tests.js"/>
-    <FilePath Value="www\autotest\tests\camera.tests.js"/>
-    <FilePath Value="www\autotest\tests\capture.tests.js"/>
-    <FilePath Value="www\autotest\tests\compass.tests.js"/>
-    <FilePath Value="www\autotest\tests\contacts.tests.js"/>
-    <FilePath Value="www\autotest\tests\device.tests.js"/>
-    <FilePath Value="www\autotest\tests\file.tests.js"/>
-    <FilePath Value="www\autotest\tests\geolocation.tests.js"/>
-    <FilePath Value="www\autotest\tests\media.tests.js"/>
-    <FilePath Value="www\autotest\tests\network.tests.js"/>
-    <FilePath Value="www\autotest\tests\notification.tests.js"/>
-    <FilePath Value="www\autotest\tests\orientation.tests.js"/>
-    <FilePath Value="www\autotest\tests\platform.tests.js"/>
-    <FilePath Value="www\autotest\tests\storage.tests.js"/>
-    <FilePath Value="www\autotest\tests\system.tests.js"/>
-    <FilePath Value="www\battery\index.html"/>
-    <FilePath Value="www\camera\index.html"/>
-    <FilePath Value="www\compass\index.html"/>
-    <FilePath Value="www\contacts\index.html"/>
-    <FilePath Value="www\events\index.html"/>
-    <FilePath Value="www\location\index.html"/>
-    <FilePath Value="www\misc\index.html"/>
-    <FilePath Value="www\misc\page2.html"/>
-    <FilePath Value="www\notification\index.html"/>
-    <FilePath Value="www\sql\index.html"/>
-    <FilePath Value="www\storage\index.html"/>
-    <FilePath Value="www\cordova.wp7.js"/>
-</CordovaSourceDictionary>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/ff61d7d0/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj b/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
index f730fac..3c13faf 100644
--- a/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
+++ b/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
@@ -82,7 +82,7 @@
     <None Include="Properties\WMAppManifest.xml" />
   </ItemGroup>
   <ItemGroup>
-    <Content Include="..\..\..\cordova-js\pkg\cordova.wp7.js">
+    <Content Include="..\..\..\js\pkg\cordova.wp7.js">
       <Link>www\cordova.wp7.js</Link>
     </Content>
     <Content Include="ApplicationIcon.png">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/ff61d7d0/tests/MobileSpecUnitTests/www/autotest/pages/accelerometer.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/autotest/pages/accelerometer.html b/tests/MobileSpecUnitTests/www/autotest/pages/accelerometer.html
index af0ae42..b5f41f2 100644
--- a/tests/MobileSpecUnitTests/www/autotest/pages/accelerometer.html
+++ b/tests/MobileSpecUnitTests/www/autotest/pages/accelerometer.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/ff61d7d0/tests/MobileSpecUnitTests/www/autotest/pages/all.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/autotest/pages/all.html b/tests/MobileSpecUnitTests/www/autotest/pages/all.html
index 6b045ab..21a3264 100644
--- a/tests/MobileSpecUnitTests/www/autotest/pages/all.html
+++ b/tests/MobileSpecUnitTests/www/autotest/pages/all.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
@@ -17,38 +17,54 @@
     <script type="text/javascript" src="../test-runner.js"></script>
 
     <!-- Tests -->
+
+
+
+    <script type="text/javascript" src="../tests/device.tests.js"></script>
     <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/platform.tests.js"></script>
     <script type="text/javascript" src="../tests/storage.tests.js"></script>
+
+
+
+    <!--
+    <script type="text/javascript" src="../tests/contacts.tests.js"></script>
+    <script type="text/javascript" src="../tests/battery.tests.js"></script>
+    <script type="text/javascript" src="../tests/media.tests.js"></script>
+    <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);
+        document.addEventListener('deviceready', function () {
+
+            console.log("doc got device ready event");
+            var tests = new Tests();
+            console.log('running 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>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/ff61d7d0/tests/MobileSpecUnitTests/www/autotest/test-runner.js
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/autotest/test-runner.js b/tests/MobileSpecUnitTests/www/autotest/test-runner.js
index 76fecbb..35a4c63 100644
--- a/tests/MobileSpecUnitTests/www/autotest/test-runner.js
+++ b/tests/MobileSpecUnitTests/www/autotest/test-runner.js
@@ -1,6 +1,10 @@
 // Prevent QUnit from running when the DOM load event fires
 QUnit.config.autostart = false;
-sessionStorage.clear();
+
+if (window.sessionStorage != null) {
+
+    window.sessionStorage.clear();
+}
 
 // Timeout is 2 seconds to allow physical devices enough
 // time to query the response. This is important for some

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/ff61d7d0/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js b/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js
index bbb4af4..b61ded9 100644
--- a/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js
+++ b/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js
@@ -1,36 +1,37 @@
-Tests.prototype.DeviceTests = function() {
-	module('Device Information (window.device)');
-	test("should exist", function() {
-  		expect(1);
-  		ok(window.device != null, "window.device should not be null.");
-	});
-	test("should contain a platform specification that is a string", function() {
-		expect(2);
-		ok(typeof window.device.platform != 'undefined' && window.device.platform != null, "window.device.platform should not be null.")
-		ok((new String(window.device.platform)).length > 0, "window.device.platform should contain some sort of description.")
-	});
-	test("should contain a version specification that is a string", function() {
-		expect(2);
-		ok(typeof window.device.version != 'undefined' && window.device.version != null, "window.device.version should not be null.")
-		ok((new String(window.device.version)).length > 0, "window.device.version should contain some kind of description.")
-	});
-	test("should contain a name specification that is a string", function() {
-		expect(2);
-		ok(typeof window.device.name != 'undefined' && window.device.name != null, "window.device.name should not be null.")
-		ok((new String(window.device.name)).length > 0, "window.device.name should contain some kind of description.")
-	});
-	test("should contain a UUID specification that is a string or a number", function() {
-		expect(2);
-		ok(typeof window.device.uuid != 'undefined' && window.device.uuid != null, "window.device.uuid should not be null.")
-		if (typeof window.device.uuid == 'string' || typeof window.device.uuid == 'object') {
-			ok((new String(window.device.uuid)).length > 0, "window.device.uuid, as a string, should have at least one character.")
-		} else {
-			ok(window.device.uuid > 0, "window.device.uuid, as a number, should be greater than 0. (should it, even?)")
-		}
-	});
-	test("should contain a cordova specification that is a string", function() {
-		expect(2);
-		ok(typeof window.device.cordova != 'undefined' && window.device.cordova != null, "window.device.cordova should not be null.")
-		ok((new String(window.device.cordova)).length > 0, "window.device.cordova should contain some kind of description.")
-	});
+Tests.prototype.DeviceTests = function () {
+    module('Device Information (window.device)');
+    test("should exist", function () {
+        console.log("running test 1");
+        expect(1);
+        ok(window.device != null, "window.device should not be null.");
+    });
+    test("should contain a platform specification that is a string", function () {
+        expect(2);
+        ok(typeof window.device.platform != 'undefined' && window.device.platform != null, "window.device.platform should not be null.")
+        ok((new String(window.device.platform)).length > 0, "window.device.platform should contain some sort of description.")
+    });
+    test("should contain a version specification that is a string", function () {
+        expect(2);
+        ok(typeof window.device.version != 'undefined' && window.device.version != null, "window.device.version should not be null.")
+        ok((new String(window.device.version)).length > 0, "window.device.version should contain some kind of description.")
+    });
+    test("should contain a name specification that is a string", function () {
+        expect(2);
+        ok(typeof window.device.name != 'undefined' && window.device.name != null, "window.device.name should not be null.")
+        ok((new String(window.device.name)).length > 0, "window.device.name should contain some kind of description.")
+    });
+    test("should contain a UUID specification that is a string or a number", function () {
+        expect(2);
+        ok(typeof window.device.uuid != 'undefined' && window.device.uuid != null, "window.device.uuid should not be null.")
+        if (typeof window.device.uuid == 'string' || typeof window.device.uuid == 'object') {
+            ok((new String(window.device.uuid)).length > 0, "window.device.uuid, as a string, should have at least one character.")
+        } else {
+            ok(window.device.uuid > 0, "window.device.uuid, as a number, should be greater than 0. (should it, even?)")
+        }
+    });
+    test("should contain a cordova specification that is a string", function () {
+        expect(2);
+        ok(typeof window.device.cordova != 'undefined' && window.device.cordova != null, "window.device.cordova should not be null.")
+        ok((new String(window.device.cordova)).length > 0, "window.device.cordova should contain some kind of description.")
+    });
 };