incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [23/51] [abbrv] git commit: removed functionality from UnitTests project
Date Thu, 12 Jan 2012 19:30:14 GMT
removed functionality from UnitTests project


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/6a55808e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/6a55808e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/6a55808e

Branch: refs/heads/master
Commit: 6a55808eb34172f4d82f450817604bf32634a8f8
Parents: 3248e66
Author: sgrebnov <sergeyg@bsquare.com>
Authored: Thu Dec 15 12:29:37 2011 +0400
Committer: sgrebnov <sergeyg@bsquare.com>
Committed: Thu Dec 15 12:29:37 2011 +0400

----------------------------------------------------------------------
 tests/MobileSpecUnitTests/GapSourceDictionary.xml  |   15 -
 .../MobileSpecUnitTests/MobileSpecUnitTests.csproj |   23 --
 tests/MobileSpecUnitTests/www/accelerometer.html   |  162 ---------
 tests/MobileSpecUnitTests/www/accelerometer2.html  |  172 ---------
 tests/MobileSpecUnitTests/www/audio.html           |  269 --------------
 tests/MobileSpecUnitTests/www/calculator.html      |   79 ----
 tests/MobileSpecUnitTests/www/camera.html          |  110 ------
 tests/MobileSpecUnitTests/www/capture.html         |  209 -----------
 tests/MobileSpecUnitTests/www/compass.html         |  147 --------
 tests/MobileSpecUnitTests/www/contacts.html        |  162 ---------
 tests/MobileSpecUnitTests/www/events.html          |  141 --------
 tests/MobileSpecUnitTests/www/file.html            |  279 ---------------
 tests/MobileSpecUnitTests/www/index.html           |   15 -
 tests/MobileSpecUnitTests/www/location.html        |  162 ---------
 tests/MobileSpecUnitTests/www/misc/index.html      |   27 --
 tests/MobileSpecUnitTests/www/network.html         |   93 -----
 tests/MobileSpecUnitTests/www/notification.html    |  120 ------
 tests/MobileSpecUnitTests/www/storage.html         |   75 ----
 18 files changed, 0 insertions(+), 2260 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/GapSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/GapSourceDictionary.xml b/tests/MobileSpecUnitTests/GapSourceDictionary.xml
index f5866d9..2641f10 100644
--- a/tests/MobileSpecUnitTests/GapSourceDictionary.xml
+++ b/tests/MobileSpecUnitTests/GapSourceDictionary.xml
@@ -1,23 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- This file is auto-generated, do not edit! -jm -->
 <GapSourceDictionary>
-    <FilePath Value="www\accelerometer.html"/>
-    <FilePath Value="www\accelerometer2.html"/>
-    <FilePath Value="www\audio.html"/>
-    <FilePath Value="www\calculator.html"/>
-    <FilePath Value="www\camera.html"/>
-    <FilePath Value="www\capture.html"/>
-    <FilePath Value="www\compass.html"/>
-    <FilePath Value="www\contacts.html"/>
-    <FilePath Value="www\events.html"/>
-    <FilePath Value="www\file.html"/>
     <FilePath Value="www\index.html"/>
-    <FilePath Value="www\location.html"/>
     <FilePath Value="www\master.css"/>
-    <FilePath Value="www\network.html"/>
-    <FilePath Value="www\notification.html"/>
     <FilePath Value="www\phonegap-1.2.0.js"/>
-    <FilePath Value="www\storage.html"/>
     <FilePath Value="www\autotest\index.html"/>
     <FilePath Value="www\autotest\qunit.css"/>
     <FilePath Value="www\autotest\qunit.js"/>
@@ -37,5 +23,4 @@
     <FilePath Value="www\autotest\tests\orientation.tests.js"/>
     <FilePath Value="www\autotest\tests\storage.tests.js"/>
     <FilePath Value="www\autotest\tests\system.tests.js"/>
-    <FilePath Value="www\misc\index.html"/>
 </GapSourceDictionary>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj b/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
index 0b3504a..f7c1159 100644
--- a/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
+++ b/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
@@ -91,13 +91,6 @@
     <None Include="ManifestProcessor.js" />
     <Content Include="GapSourceDictionary.xml" />
     <Content Include="SplashScreenImage.jpg" />
-    <Content Include="www\accelerometer.html">
-      <SubType>Designer</SubType>
-    </Content>
-    <Content Include="www\accelerometer2.html" />
-    <Content Include="www\audio.html">
-      <SubType>Designer</SubType>
-    </Content>
     <Content Include="www\autotest\index.html">
       <SubType>Designer</SubType>
     </Content>
@@ -119,25 +112,9 @@
     <Content Include="www\autotest\tests\orientation.tests.js" />
     <Content Include="www\autotest\tests\storage.tests.js" />
     <Content Include="www\autotest\tests\system.tests.js" />
-    <Content Include="www\calculator.html" />
-    <Content Include="www\camera.html" />
-    <Content Include="www\capture.html" />
-    <Content Include="www\compass.html" />
-    <Content Include="www\contacts.html" />
-    <Content Include="www\events.html" />
-    <Content Include="www\file.html" />
     <Content Include="www\index.html" />
-    <Content Include="www\location.html" />
     <Content Include="www\master.css" />
-    <Content Include="www\misc\index.html" />
-    <Content Include="www\network.html" />
-    <Content Include="www\notification.html">
-      <SubType>Designer</SubType>
-    </Content>
     <Content Include="www\phonegap-1.2.0.js" />
-    <Content Include="www\storage.html">
-      <SubType>Designer</SubType>
-    </Content>
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\..\framework\WP7GapClassLib.csproj">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/accelerometer.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/accelerometer.html b/tests/MobileSpecUnitTests/www/accelerometer.html
deleted file mode 100644
index 1262f9e..0000000
--- a/tests/MobileSpecUnitTests/www/accelerometer.html
+++ /dev/null
@@ -1,162 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-   
-    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> 
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
-    
-    	<script type="text/javascript">
-			// provide our own console if it does not exist, huge dev aid!
-			if(typeof window.console == "undefined")
-			{
-			window.console = {log:function(str){window.external.Notify(str);}};
-			}
-			
-			// output any errors to console log, created above.
-			window.onerror=function(e)
-			{
-				console.log("window.onerror ::" + JSON.stringify(e));
-			};
-			
-			console.log("Installed console ! ");
-	</script>
-    
-    
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>      
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    function roundNumber(num) {
-        var dec = 3;
-        var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);
-        return result;
-    }
-
-    //-------------------------------------------------------------------------
-    // Acceleration
-    //-------------------------------------------------------------------------
-    var watchAccelId = null;
-    
-    /**
-     * Start watching acceleration
-     */
-    var watchAccel = function() {
-        console.log("watchAccel()");
-
-        // Success callback
-        var success = function (a) {
-            document.getElementById('x').innerHTML = roundNumber(a.x);
-            document.getElementById('y').innerHTML = roundNumber(a.y);
-            document.getElementById('z').innerHTML = roundNumber(a.z);
-            console.log("watchAccel success callback");
-        };
-
-        // Fail callback
-        var fail = function(e){
-            console.log("watchAccel fail callback with error code "+e);
-            stopAccel();
-            setAccelStatus(Accelerometer.ERROR_MSG[e]);
-        };
-
-        // Update acceleration every 1 sec
-        var opt = {};
-        opt.frequency = 50;
-        watchAccelId = navigator.accelerometer.watchAcceleration(success, fail, opt);
-
-        setAccelStatus("Running");
-    };
-
-    /**
-     * Stop watching the acceleration
-     */
-    var stopAccel = function() {
-    	console.log("stopAccel()");
-        setAccelStatus("Stopped");
-        if (watchAccelId) {
-            navigator.accelerometer.clearWatch(watchAccelId);
-            watchAccelId = null;
-        }
-    };
-
-    /**
-     * Get current acceleration
-     */
-    var getAccel = function() {
-        console.log("getAccel()");
-
-        // Stop accel if running
-        //stopAccel();
-
-        // Success callback
-        var success = function (a) {
-            document.getElementById('x').innerHTML = roundNumber(a.x);
-            document.getElementById('y').innerHTML = roundNumber(a.y);
-            document.getElementById('z').innerHTML = roundNumber(a.z);
-        };
-
-        // Fail callback
-        var fail = function(e){
-            console.log("getAccel fail callback with error code "+e);
-            setAccelStatus(Accelerometer.ERROR_MSG[e]);
-        };
-
-        // Make call
-        var opt = {};
-        navigator.accelerometer.getCurrentAcceleration(success, fail, opt);
-    };
-
-    /**
-     * Set accelerometer status
-     */
-    var setAccelStatus = function (status) {
-
-        document.getElementById('accel_status').innerHTML = status;
-    };
-    
-    /**
-     * Function called when page has finished loading.
-     */
-    function init() {
-
-        document.addEventListener("deviceready", function() {
-                deviceReady = true;
-                console.log("Device="+device.platform+" "+device.version);
-            }, false);
-        window.setTimeout(function() {
-        	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-        	}
-        },1000);
-    }
-
-</script>
-
-
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Acceleration</h1>
-    <div id="info">
-        <div id="accel_status">Stopped</div>
-        <div><table width="100%">
-            <tr><td width="20%">X:</td><td id="x">&nbsp;</td></tr>
-            <tr><td width="20%">Y:</td><td id="y">&nbsp;</td></tr>
-            <tr><td width="20%">Z:</td><td id="z">&nbsp;</td></tr>
-        </table></div>
-    </div>
-    
-
-
-    <h2>Action</h2>
-    <a href="#" class="btn large" onclick="getAccel();">Get Acceleration</a>
-    <a href="#" class="btn large" onclick="watchAccel();">Start Watch</a>
-    <a href="#" class="btn large" onclick="stopAccel();">Clear Watch</a>
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/accelerometer2.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/accelerometer2.html b/tests/MobileSpecUnitTests/www/accelerometer2.html
deleted file mode 100644
index 3b06bf4..0000000
--- a/tests/MobileSpecUnitTests/www/accelerometer2.html
+++ /dev/null
@@ -1,172 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
-    
-    	<script type="text/javascript">
-			// provide our own console if it does not exist, huge dev aid!
-			if(typeof window.console == "undefined")
-			{
-			window.console = {log:function(str){window.external.Notify(str);}};
-			}
-			
-			// output any errors to console log, created above.
-			window.onerror=function(e)
-			{
-				console.log("window.onerror ::" + JSON.stringify(e));
-			};
-			
-			console.log("Installed console ! ");
-	</script>
-    
-    
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>      
-
-      
-<script type="text/javascript" charset="utf-8">
-
-
-  //-------------------------------------------------------------------------
-  // Acceleration
-  //-------------------------------------------------------------------------
-  var watchAccelId = null;
-
-  /**
-  * Start watching acceleration
-  */
-  var watchAccel = function() {
-  console.log("watchAccel()");
-
-  if(watchAccelId)
-  {
-      return;
-  }
-
-  // Success callback
-  var success = function (a) {
-  document.getElementById("ball").style.left = parseInt(a.x * 100 + 100) + "px" ;
-  document.getElementById("ball").style.top = parseInt(a.z * 100 + 100) + "px" ;
-
-  };
-
-  // Fail callback
-  var fail = function(e){
-  console.log("watchAccel fail callback with error code "+e);
-  stopAccel();
-  };
-
-  // Update acceleration every 1 sec
-  var opt = {};
-  opt.frequency = 50;
-  watchAccelId = navigator.accelerometer.watchAcceleration(onAccelData, fail, opt);
-
-  setAccelStatus("Running");
-  };
-
-
-  var ballX = 0;
-  var ballY = 0;
-  var ballPixelsPerUpdate = 10;
-
-  function onAccelData(a)
-  {
-  ballX += a.x * ballPixelsPerUpdate;
-  ballY += a.z * ballPixelsPerUpdate;
-
-  ballX = Math.max(ballX,0);
-  ballX = Math.min(ballX,200);
-
-  ballY = Math.max(ballY,0);
-  ballY = Math.min(ballY,200);
-
-
-  document.getElementById("ball").style.left = ballX + "px" ;
-  document.getElementById("ball").style.top = ballY +  "px" ;
-  }
-
-  /**
-  * Stop watching the acceleration
-  */
-  var stopAccel = function() {
-  console.log("stopAccel()");
-  if (watchAccelId) {
-  navigator.accelerometer.clearWatch(watchAccelId);
-  watchAccelId = null;
-  }
-  };
-
-
-  /**
-  * Function called when page has finished loading.
-  */
-  function init() {
-
-  document.addEventListener("deviceready", function() {
-  console.log("Device="+device.platform+" "+device.version);
-  }, false);
-  }
-
-</script>
-
-<style>
-	#ball
-	{
-		position:relative;
-		width:20px;
-		height:20px;
-		border-radius:10px;
-		background-color:#FFF;
-	}
-	
-	#playfield
-	{
-		position:absolute;
-		left:50px;
-		top:220px;
-		width:220px;
-		height:220px;
-		background-color:#ff8800;	
-	}
-	
-	.dButton
-	{
-		width:80px;
-		height:40px;
-		display:inline;
-		float:left;
-		clear:none;	
-		border-style:solid;
-		border-width:1px;
-		border-radius:2px;
-		line-height:40px;
-	}
-	
-	.backBtnz
-	{
-		position:absolute;
-		bottom:-20px;
-	}
-</style>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <div id="playfield">
-    	<div id="ball">
-        
-        </div>
-    </div>
-
-    <h2>Actions</h2>
-    
-    <div class="dButton" onclick="watchAccel();">Start</div>
-    <div class="dButton" onclick="stopAccel();">Stop</div>
-    
-    <div/>
-    <a href="index.html" class="backBtn backBtnz">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/audio.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/audio.html b/tests/MobileSpecUnitTests/www/audio.html
deleted file mode 100644
index d0588fd..0000000
--- a/tests/MobileSpecUnitTests/www/audio.html
+++ /dev/null
@@ -1,269 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen">
-
-    <script type="text/javascript">
-        // provide our own console if it does not exist, huge dev aid!
-        if (typeof window.console == "undefined") {
-            window.console = { log: function (str) { window.external.Notify(str); } };
-        }
-
-        // output any errors to console log, created above.
-        window.onerror = function (e) {
-            console.log("window.onerror ::" + JSON.stringify(e));
-        };
-
-        console.log("Installed console ! ");
-    </script>
-
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>      
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    //-------------------------------------------------------------------------
-    // Audio player
-    //-------------------------------------------------------------------------
-    var media1 = null;
-    var media1Timer = null;
-    var audioSrc = null;
-    var recordSrc = "/folder/1.wav";
-
-    /**
-     * Play audio
-     */
-    function playAudio(path) {
-        console.log("playAudio()");
-        console.log(" -- media="+media1);
-        var src = path; 
-
-        // Stop playing if src is different from currently playing source
-        if (src != audioSrc) {
-            if (media1 != null) {
-                stopAudio();
-                media1 = null;
-            }
-        }
-
-        if (media1 == null) {
-            console.log("Start creating media...");
-            media1 = new Media(src,
-                function() {
-                    console.log("playAudio():Audio Success");
-                },
-                function(err) {
-                    console.log("playAudio():Audio Error: "+err);
-                    setAudioStatus("Error: " + err);
-                },
-                function(status) {
-                    console.log("playAudio():Audio Status: "+status);
-                    setAudioStatus(Media.MEDIA_MSG[status]);
-
-                    // If stopped, then stop getting current position
-                    if (Media.MEDIA_STOPPED == status) {
-                        clearInterval(media1Timer);
-                        media1Timer = null;
-                    }
-                });
-        }
-        console.log("Start play audio...");
-        audioSrc = src;
-        document.getElementById('audio_duration').innerHTML = "";
-        // Play audio
-        media1.play();
-        
-        document.getElementById('play_caption').innerHTML = "<b>Now playing:</b> ";
-        document.getElementById('file_name').innerHTML = path;
-        
-        if (media1Timer == null && media1.getCurrentPosition) {
-            media1Timer = setInterval(
-                function() {
-                    media1.getCurrentPosition(
-                        function(position) {
-                            console.log("Pos="+position);
-                            if (position > -1) {
-                                setAudioPosition(position+" sec");
-                            }
-                        },
-                        function(e) {
-                            console.log("Error getting pos="+e);
-                            setAudioPosition("Error: "+e);
-                        }
-                    );
-                },
-                1000
-            );
-        }
-
-        // Get duration
-        var counter = 0;
-        var timerDur = setInterval(
-            function() {
-                counter = counter + 100;
-                if (counter > 2000) {
-                    clearInterval(timerDur);
-                }
-                var dur = media1.getDuration();
-                if (dur > 0) {
-                    clearInterval(timerDur);
-                    document.getElementById('audio_duration').innerHTML = dur + " sec";
-                }
-            }, 100);
-            
-    }    
-
-    /**
-     * Pause audio playback
-     */
-    function pauseAudio() {
-        console.log("pauseAudio()");
-        if (media1) {
-            media1.pause();
-        }
-    }
-
-    /**
-     * Stop audio
-     */
-    function stopAudio() {
-        console.log("stopAudio()");
-        if (media1) {
-            media1.stop();
-        }
-        clearInterval(media1Timer);
-        media1Timer = null;
-    }
-
-    /**
-     * Set audio status
-     */
-    var setAudioStatus = function(status) {
-        document.getElementById('audio_status').innerHTML = status;
-    };
-
-    /**
-     * Set audio position
-     */
-    var setAudioPosition = function(position) {
-        document.getElementById('audio_position').innerHTML = position;
-    };
-
-    //-------------------------------------------------------------------------
-    // Audio recorder
-    //-------------------------------------------------------------------------
-    var mediaRec = null;
-    var recTime = 0;
-
-    /**
-     * Record audio
-     */
-    function recordAudio() {
-        console.log("recordAudio()");
-        console.log(" -- media="+mediaRec);
-        if (mediaRec == null) {
-
-            var src = recordSrc;
-            mediaRec = new Media(src,
-                    function() {
-                        console.log("recordAudio():Audio Success");
-                    },
-                    function(err) {
-                        console.log("recordAudio():Audio Error: "+err);
-                        setAudioStatus("Error: " + err);
-                    },
-                    function(status) {
-                        console.log("recordAudio():Audio Status: "+status);
-                        setAudioStatus(Media.MEDIA_MSG[status]);
-                    }
-                );
-        }
-
-        navigator.notification.beep(1);
-
-        console.log("Start recording...");
-        mediaRec.startRecord();
-
-        document.getElementById('play_caption').innerHTML = "<b>Recording in:<b>";
-        document.getElementById('file_name').innerHTML = recordSrc;
-
-        // Stop recording after 10 sec
-        recTime = 0;
-        var recInterval = setInterval(function() {
-            recTime = recTime + 1;
-            setAudioPosition(recTime+" sec");
-            if (recTime >= 10) {
-                clearInterval(recInterval);
-                if (mediaRec.stopAudioRecord){
-                    console.log("stopAudioRecord");
-                    mediaRec.stopAudioRecord();
-                } else {
-                    console.log("stopRecord");
-                    mediaRec.stopRecord();
-                }
-                console.log("recordAudio(): stop");
-                navigator.notification.beep(1);
-            }
-        }, 1000);
-    }
-
-    /**
-     * Play back recorded audio
-     */
-    function playRecording() {
-        playAudio(recordSrc);
-    }
-
-    function seekTo() {
-        console.log("seekTo()");
-        if (media1) {
-            media1.seekTo(15000);
-        }
-    }
-
-    /**
-     * Function called when page has finished loading.
-     */
-    function init() {
-        document.addEventListener("deviceready", function() {
-                deviceReady = true;
-                console.log("Device="+device.platform+" "+device.version);
-            }, false);
-        window.setTimeout(function() {
-        	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-        	}
-        },1000);
-    }
-
-</script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Audio</h1>  
-    <div id="info">    
-        <table width="100%">
-        <tr><td id="play_caption"><b>Now playing:</b></td><td id="file_name">&nbsp;</td></tr>
-        <tr><td><b>Status:</b></td><td id="audio_status">&nbsp;</td></tr>
-        <tr><td><b>Duration:</b></td><td id="audio_duration"></td></tr>
-        <tr><td><b>Position:</b></td><td id="audio_position"></td></tr>
-        </table>
-    </div>
-    <h2>Action</h2>
-    <a href="#" class="btn large" onClick="playAudio('http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3');">Play/Unpause Audio</a>
-    <a href="#" class="btn large" onClick="pauseAudio();">Pause Playing Audio</a>
-    <a href="#" class="btn large" onClick="stopAudio();">Stop Playing Audio</a>
-    <a href="#" class="btn large" onClick="recordAudio();">Record Audio for 10 sec</a>
-    <a href="#" class="btn large" onClick="playRecording();">Play/Unpause Recording</a>
-    <a href="#" class="btn large" onClick="seekTo();">Seek To 15 sec</a>
-      <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-    
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/calculator.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/calculator.html b/tests/MobileSpecUnitTests/www/calculator.html
deleted file mode 100644
index b5a05d8..0000000
--- a/tests/MobileSpecUnitTests/www/calculator.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
-   
-    <script type="text/javascript">
-        // provide our own console if it does not exist, huge dev aid!
-        if (typeof window.console == "undefined") {
-            window.console = { log: function (str) { window.external.Notify(str); } };
-        }
-
-        // output any errors to console log, created above.
-        window.onerror = function (e) {
-            console.log("window.onerror ::" + JSON.stringify(e));
-        };
-
-        console.log("Installed console ! ");
-    </script>
-   
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-    
-    /**
-    * Function called when page has finished loading.
-    */
-    function init() {
-        document.addEventListener("deviceready", function () {
-            deviceReady = true;
-            console.log("Device=" + device.platform + " " + device.version);
-        }, false);
-        window.setTimeout(function () {
-            if (!deviceReady) {
-                alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-            }
-        }, 1000);
-    }
-
-    function calculateSum() {
-
-        PhoneGap.exec(
-            function (res) {
-                document.getElementById('res').innerHTML = res;
-            },
-            function (e) {
-                console.log("Error occurred: " + e);
-                document.getElementById('res').innerHTML = "Error occurred: " + e;
-            },
-            "Calculator", "sum",
-            { x: document.getElementById('x').value, y: document.getElementById('y').value });
-    };
-
-</script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Calculator</h1>
-    <div id="info">        
-        <b>X:</b> <span id="Span1"></span><br/>
-        <input type="text" id="x" value="1" style="width:250px;height:20px;"/>
-        <br/>
-        <b>Y:</b> <span id="Span2"></span><br/>
-        <input type="text" id="y" value="2" style="width:250px;height:20px;"/>        
-        <br/>
-        <b>Sum:</b> <span id="res"></span>
-    </div>
-    <h2>Action</h2>
-    <a href="#" class="btn large" onclick="calculateSum();">Calculate</a>
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/camera.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/camera.html b/tests/MobileSpecUnitTests/www/camera.html
deleted file mode 100644
index ce67906..0000000
--- a/tests/MobileSpecUnitTests/www/camera.html
+++ /dev/null
@@ -1,110 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
-   
-    <script type="text/javascript">
-        // provide our own console if it does not exist, huge dev aid!
-        if (typeof window.console == "undefined") {
-            window.console = { log: function (str) { window.external.Notify(str); } };
-        }
-
-        // output any errors to console log, created above.
-        window.onerror = function (e) {
-            console.log("window.onerror ::" + JSON.stringify(e));
-        };
-
-        console.log("Installed console ! ");
-    </script>
-   
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>   
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    //-------------------------------------------------------------------------
-    // Camera 
-    //-------------------------------------------------------------------------
-
-    /**
-     * Capture picture
-     */
-    function getPicture() {
-        
-        //navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50, 
-        //    destinationType: Camera.DestinationType.FILE_URI, sourceType : Camera.PictureSourceType.CAMERA });
-        
-        navigator.camera.getPicture(
-            function(data) {
-                var img = document.getElementById('camera_image');
-                img.style.visibility = "visible";
-                img.style.display = "block";
-                img.src = "data:image/jpeg;base64," + data;
-                //img.src = data;
-                document.getElementById('camera_status').innerHTML = "Success";
-            },
-            function(e) {
-                console.log("Error getting picture: " + e);
-                document.getElementById('camera_status').innerHTML = "Error getting picture.";
-            },
-            { quality: 50, destinationType: navigator.camera.DestinationType.DATA_URL, sourceType : navigator.camera.PictureSourceType.CAMERA});
-    };
-
-    /**
-     * Select image from library
-     */
-    function getImage() {
-        navigator.camera.getPicture(
-            function(data) {
-                var img = document.getElementById('camera_image');
-                img.style.visibility = "visible";
-                img.style.display = "block";
-                //img.src = "data:image/jpeg;base64," + data;
-                img.src = data;
-                document.getElementById('camera_status').innerHTML = "Success";
-            },
-            function(e) {
-                console.log("Error getting picture: " + e);
-                document.getElementById('camera_status').innerHTML = "Error getting picture.";
-            },
-            { quality: 50, destinationType: navigator.camera.DestinationType.FILE_URI, sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY });
-    };
-
-    
-    /**
-     * Function called when page has finished loading.
-     */
-    function init() {
-        document.addEventListener("deviceready", function() {
-                deviceReady = true;
-                console.log("Device="+device.platform+" "+device.version);
-            }, false);
-        window.setTimeout(function() {
-        	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-        	}
-        },1000);
-    }
-
-</script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Camera</h1>
-    <div id="info">
-        <b>Status:</b> <span id="camera_status"></span><br>
-        <img style="width:120px;height:120px;visibility:hidden;display:none;" id="camera_image" src="" />
-    </div>
-    <h2>Action</h2>
-    <a href="#" class="btn large" onclick="getPicture();">Take Picture</a>
-    <a href="#" class="btn large" onclick="getImage();">Select Image from Library</a>
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/capture.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/capture.html b/tests/MobileSpecUnitTests/www/capture.html
deleted file mode 100644
index a4313fc..0000000
--- a/tests/MobileSpecUnitTests/www/capture.html
+++ /dev/null
@@ -1,209 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
-   
-    <script type="text/javascript">
-        // provide our own console if it does not exist, huge dev aid!
-        if (typeof window.console == "undefined") {
-            window.console = { log: function (str) { window.external.Notify(str); } };
-        }
-
-        // output any errors to console log, created above.
-        window.onerror = function (e) {
-            console.log("window.onerror ::" + JSON.stringify(e));
-        };
-
-        console.log("Installed console ! ");
-    </script>
-   
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>   
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    // last captured media file
-    var mediaFile = null;
-
-    function clearMediaPlaceholder() {
-        document.getElementById('audio_player').setAttribute('style', 'visibility:hidden;display:none;');
-
-        var img = document.getElementById('camera_image');
-        img.style.visibility = "hidden";
-        img.style.display = "none";
-        img.src = "";
-    }
-
-    //-------------------------------------------------------------------------
-    // Capture
-    //-------------------------------------------------------------------------
-
-    /**
-    * Capture image
-    */
-    function captureImage() {
-
-        navigator.device.capture.captureImage(
-            function (mediaFiles) {
-
-                document.getElementById('capture_status').innerHTML = "Success. Captured " + mediaFiles.length + " media file(s).";
-
-                if (mediaFiles.length <= 0) return;
-
-                mediaFile = mediaFiles[0];
-
-                document.getElementById('name').innerHTML = mediaFile.name;
-                document.getElementById('fullPath').innerHTML = mediaFile.fullPath;
-                document.getElementById('size').innerHTML = mediaFile.size;
-                document.getElementById('lastModifiedDate').innerHTML = mediaFile.lastModifiedDate;
-                document.getElementById('type').innerHTML = mediaFile.type;
-
-                clearMediaPlaceholder();
-
-                var img = document.getElementById('camera_image');
-                img.style.visibility = "visible";
-                img.style.display = "block";
-                img.src = mediaFile.fullPath;
-            },
-            function (e) {
-                console.log("Error getting picture: " + e);
-                document.getElementById('capture_status').innerHTML = "Error getting picture.";
-            },
-            { limit: 1 });
-    };
-
-    /**
-    * Capture Audio
-    */
-    function captureAudio() {
-
-        navigator.device.capture.captureAudio(
-            function (mediaFiles) {
-
-                document.getElementById('capture_status').innerHTML = "Success. Captured " + mediaFiles.length + " media file(s).";
-
-                if (mediaFiles.length <= 0) return;
-
-                mediaFile = mediaFiles[0];
-
-                document.getElementById('name').innerHTML = mediaFile.name;
-                document.getElementById('fullPath').innerHTML = mediaFile.fullPath;
-                document.getElementById('size').innerHTML = mediaFile.size;
-                document.getElementById('lastModifiedDate').innerHTML = mediaFile.lastModifiedDate;
-                document.getElementById('type').innerHTML = mediaFile.type;
-
-                clearMediaPlaceholder();
-
-                var player = document.getElementById('audio_player');
-                player.setAttribute('style', 'visibility:visible;');
-                player.src = mediaFile.fullPath; 
-                //player.play();
-            },
-            function (e) {
-                console.log("Error getting audio: " + e);
-                document.getElementById('capture_status').innerHTML = "Error getting audio.";
-            },
-            { limit: 1 });
-    };
-
-    /**
-    * Capture Video
-    */
-    function captureVideo() {
-
-        navigator.device.capture.captureVideo(
-            function (mediaFiles) {
-
-                document.getElementById('capture_status').innerHTML = "Success. Captured " + mediaFiles.length + " media file(s).";
-
-                if (mediaFiles.length <= 0) return;
-
-                mediaFile = mediaFiles[0];
-
-                document.getElementById('name').innerHTML = mediaFile.name;
-                document.getElementById('fullPath').innerHTML = mediaFile.fullPath;
-                document.getElementById('size').innerHTML = mediaFile.size;
-                document.getElementById('lastModifiedDate').innerHTML = mediaFile.lastModifiedDate;
-                document.getElementById('type').innerHTML = mediaFile.type;
-
-                clearMediaPlaceholder();
-
-                var player = document.getElementById('video_player');
-                player.setAttribute('style', 'visibility:visible;');
-                player.src = mediaFile.fullPath;
-                console.log("src: " + mediaFile.fullPath);
-            },
-            function (e) {
-                console.log("Error getting video: " + e);
-                document.getElementById('capture_status').innerHTML = "Error getting video.";
-            },
-            { limit: 1 });
-    };
-
-    /**
-    * Function called when page has finished loading.
-    */
-    function init() {
-        document.addEventListener("deviceready", function () {
-            deviceReady = true;
-            console.log("Device=" + device.platform + " " + device.version);
-        }, false);
-        window.setTimeout(function () {
-            if (!deviceReady) {
-                alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-            }
-        }, 1000);
-    }
-
-    /**
-    * Function to play last captured media.
-    */
-    function playMedia() {
-        if (typeof mediaFile !== 'undefined') {
-            mediaFile.play(
-                null,
-                function (e) {
-                    console.log("Error playing media: " + e);
-                    document.getElementById('capture_status').innerHTML = "Error playing media.";
-                });
-        }
-    }
-
-</script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Capture</h1>
-    <div id="info">
-        <b>Status:</b> <span id="capture_status"></span><br/>
-        <img style="width:120px;height:120px;visibility:hidden;display:none;" id="camera_image" src="" />
-        <audio style="visibility:hidden;display:none;" id="audio_player" src="" controls />
-        <video style="visibility:hidden;display:none;"  width="150" height="150" id="video_player" src=""
-            onclick="playMedia();" >
-            Browser does not support the video tag.
-        </video>
-
-
-        <div><table width="100%">
-            <tr><td width="20%">Name:</td><td id="name">&nbsp;</td></tr>
-            <tr><td width="20%">FullPath:</td><td id="fullPath">&nbsp;</td></tr>
-            <tr><td width="20%">Type:</td><td id="type">&nbsp;</td></tr>
-            <tr><td width="20%">Size:</td><td id="size">&nbsp;</td></tr>
-            <tr><td width="20%">Modified:</td><td id="lastModifiedDate">&nbsp;</td></tr>            
-        </table></div>
-
-    </div>
-    <h2>Actions</h2>
-    <a href="#" class="btn large" onclick="captureImage();">Capture Image</a>
-    <a href="#" class="btn large" onclick="captureAudio();">Capture Audio</a>
-    <a href="#" class="btn large" onclick="captureVideo();">Capture Video</a>
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/compass.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/compass.html b/tests/MobileSpecUnitTests/www/compass.html
deleted file mode 100644
index 6c48aea..0000000
--- a/tests/MobileSpecUnitTests/www/compass.html
+++ /dev/null
@@ -1,147 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
-
-      <script type="text/javascript">
-        // provide our own console if it does not exist, huge dev aid!
-        if(typeof window.console == "undefined")
-        {
-        window.console = {log:function(str){window.external.Notify(str);}};
-        }
-
-        // output any errors to console log, created above.
-        window.onerror=function(e)
-        {
-        console.log("window.onerror ::" + JSON.stringify(e));
-        };
-
-        console.log("Installed console ! ");
-      </script>
-      
-      
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    function roundNumber(num) {
-        var dec = 3;
-        var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);
-        return result;
-    }
-
-    //-------------------------------------------------------------------------
-    // Compass
-    //-------------------------------------------------------------------------
-    var watchCompassId = null;
-
-    /**
-     * Start watching compass
-     */
-    var watchCompass = function() {
-        console.log("watchCompass()");
-
-        // Success callback
-        var success = function(a){
-            document.getElementById('compassHeading').innerHTML = roundNumber(a);
-        };
-
-        // Fail callback
-        var fail = function(e){
-            console.log("watchCompass fail callback with error code "+e);
-            stopCompass();
-            setCompassStatus(Compass.ERROR_MSG[e]);
-        };
-
-        // Update heading every 1 sec
-        var opt = {};
-        opt.frequency = 1000;
-        watchCompassId = navigator.compass.watchHeading(success, fail, opt);
-
-        setCompassStatus("Running");
-    };
-
-    /**
-     * Stop watching the acceleration
-     */
-    var stopCompass = function() {
-        setCompassStatus("Stopped");
-        if (watchCompassId) {
-            navigator.compass.clearWatch(watchCompassId);
-            watchCompassId = null;
-        }
-    };
-
-    /**
-     * Get current compass
-     */
-    var getCompass = function() {
-        console.log("getCompass()");
-
-        // Stop compass if running
-        stopCompass();
-
-        // Success callback
-        var success = function(a){
-            document.getElementById('compassHeading').innerHTML = roundNumber(a);
-        };
-
-        // Fail callback
-        var fail = function(e){
-            console.log("getCompass fail callback with error code "+e);
-            setCompassStatus(Compass.ERROR_MSG[e]);
-        };
-
-        // Make call
-        var opt = {};
-        navigator.compass.getCurrentHeading(success, fail, opt);
-    };
-
-    /**
-     * Set compass status
-     */
-    var setCompassStatus = function(status) {
-        document.getElementById('compass_status').innerHTML = status;
-    };
-    
-    /**
-     * Function called when page has finished loading.
-     */
-    function init() {
-        document.addEventListener("deviceready", function() {
-                deviceReady = true;
-                console.log("Device="+device.platform+" "+device.version);
-            }, false);
-        window.setTimeout(function() {
-        	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-        	}
-        },1000);
-    }
-
-</script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Compass</h1>
-    <div id="info">
-        <b>Status:</b> <span id="compass_status">Stopped</span>
-        <table width="100%"><tr>
-            <td width="33%">Heading: <span id="compassHeading">&nbsp;</td>
-        </tr></table>
-    </div>
-    <h2>Action</h2>
-    <a href="#" class="btn large" onClick="getCompass();">Get Compass</a>
-    <a href="#" class="btn large" onClick="watchCompass();">Start Watching Compass</a>
-    <a href="#" class="btn large" onClick="stopCompass();">Stop Watching Compass</a>
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/contacts.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/contacts.html b/tests/MobileSpecUnitTests/www/contacts.html
deleted file mode 100644
index d65ee15..0000000
--- a/tests/MobileSpecUnitTests/www/contacts.html
+++ /dev/null
@@ -1,162 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen">
-
-      <script type="text/javascript">
-        // provide our own console if it does not exist, huge dev aid!
-        if (typeof window.console == "undefined") {
-        window.console = { log: function (str) { window.external.Notify(str); } };
-        }
-
-        // output any errors to console log, created above.
-        window.onerror = function (e) {
-        console.log("window.onerror ::" + JSON.stringify(e));
-        };
-
-        console.log("Installed console ! ");
-      </script>
-      
-      
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>       
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    //-------------------------------------------------------------------------
-    // Contacts
-    //-------------------------------------------------------------------------
-    function getContacts() {
-        obj = new ContactFindOptions();
-        obj.filter = ""; //Brooks";
-        obj.multiple = true;
-        navigator.contacts.find(["displayName", "name", "phoneNumbers", "emails", "urls", "note"],
-            function(contacts) 
-			{
-				console.log("received contacts :: " + contacts.length);
-				console.log("contacts[0] = " + contacts[0]);
-				
-                var s = "";
-                if (contacts.length == 0) 
-				{
-                    s = "No contacts found";
-                }
-                else 
-				{
-                    s = "Number of contacts: "+contacts.length+"<br><table width='100%'><tr><th>Name</th><td>Phone</td><td>Email</td></tr>";
-                    
-					for (var i=0; i< contacts.length; i++) 
-					{
-						try
-						{
-                        	var contact = JSON.parse(contacts[i]);
-						}
-						catch(e)
-						{
-							console.log(e.message + " " + contacts[i]);
-							continue;	
-						}
-                        s = s + "<tr><td>" + contact.displayName + "</td><td>";
-						
-                        if (contact.phoneNumbers && contact.phoneNumbers.length > 0) 
-						{
-                            s = s + contact.phoneNumbers[0];
-                        }
-                        s = s + "</td><td>"
-						
-                        if (contact.emails && contact.emails.length > 0) 
-						{
-                            s = s + contact.emails[0];
-                        }
-                        s = s + "</td></tr>";
-                    }
-                    s = s + "</table>";
-                 }
-                      
-				 document.getElementById('contacts_results').innerHTML = s;
-             },
-             function(e) 
-			 {
-                 document.getElementById('contacts_results').innerHTML = "Error: "+e.code;
-              },
-			obj);
-			};
-
-                      function addContact(){
-                      console.log("addContact()");
-                      try{
-
-                      console.log("before create");
-
-                      // create seems to be failing...
-                      var contact = navigator.contacts.create({"displayName": "Dooney Evans"});
-
-                      console.log("contact created");
-
-                      var contactName = {
-                      formatted: "Dooney Evans",
-                      familyName: "Evans",
-                      givenName: "Dooney",
-                      middleName: ""
-                      };
-
-                      console.log("create contactName");
-
-                      contact.name = contactName;
-
-                      contact.phoneNumbers = [new ContactField('work', '512-555-1234', true)];
-
-                      console.log("create contact phone number");
-
-                      contact.save(
-                      function(id) { console.log("Contact saved." + id);},
-                      function(e) { console.log("Contact save failed: " + e.code); }
-                      );
-
-                      console.log("saving the contact");
-                      }
-                      catch (e)
-                      {
-                      //alert(e);
-                      console.log("failed to save contact");
-                      }
-
-                      };
-
-                      /**
-                      * Function called when page has finished loading.
-                      */
-                      function init() {
-                      document.addEventListener("deviceready", function() {
-                      deviceReady = true;
-                      console.log("Device="+device.platform+" "+device.version);
-                      }, false);
-                      window.setTimeout(function() {
-                      if (!deviceReady) {
-                      alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-                      }
-                      },1000);
-                      }
-
-                    </script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Contacts</h1>    
-    <div id="info">
-        <b>Results:</b><br>
-        <span id="contacts_results">&nbsp;</span>
-    </div>
-    <h2>Action</h2>
-    <a href="#" class="btn large" onClick="getContacts();">Get phone's contacts</a>
-    <a href="#" class="btn large" onClick="addContact();">Add a new contact 'Dooney Evans'</a>
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/events.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/events.html b/tests/MobileSpecUnitTests/www/events.html
deleted file mode 100644
index 836ddbc..0000000
--- a/tests/MobileSpecUnitTests/www/events.html
+++ /dev/null
@@ -1,141 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>PhoneGap</title>
-    
-	<script type="text/javascript">
-		// provide our own console if it does not exist, huge dev aid!
-		if (typeof window.console == "undefined") {
-			window.console = { log: function (str) { window.external.Notify(str); } };
-		}
-		
-		// output any errors to console log, created above.
-		window.onerror = function (e) {
-			console.log("window.onerror ::" + JSON.stringify(e));
-		};
-		
-		console.log("Installed console ! ");
-    </script>
-      
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen">
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>       
-
-      
-<script type="text/javascript" charset="utf-8">
-
-
-    function interceptBackbutton() {
-    	eventOutput("Back button intercepted");
-    }
-    function interceptMenubutton() {
-    	eventOutput("Menu button intercepted");
-    }
-    function interceptSearchbutton() {
-    	eventOutput("Search button intercepted");
-    }
-    
-    var eventOutput = function(s) {
-		console.log("eventOutput :: " + s);
-        var el = document.getElementById("results");
-        el.innerHTML = el.innerHTML + s + "<br>";
-    };
-
-    
-    /**
-     * Function called when page has finished loading.
-     */
-    function init() 
-    {
-        document.addEventListener("deviceready", function() {
-                console.log("Device="+device.platform+" "+device.version);
-                eventOutput("deviceready event: "+device.platform+" "+device.version);
-            }, false);
-            
-		
-        document.addEventListener("resume", function() {eventOutput("resume event");}, false);
-        document.addEventListener("pause", function() {eventOutput("pause event");}, false);
-        window.addEventListener("online", function() {eventOutput("online event");});  
-        window.addEventListener("offline", function() {eventOutput("offline event");}); 
-        
-        window.addEventListener("orientationchange", onOrientationChangedA);  
-        
-        window.onorientationchange  = onOrientationChangedB;
-        
-        console.log("window.orientation = " + window.orientation);
-    }
-    
-    function tryCallback(orientation)
-    {
-        var evt = document.createEvent('HTMLEvents')
-        evt.initEvent( 'orientationchange', true, false );
-        window.dispatchEvent(evt);
-    }
-    
-    function onOrientationChangedA(e)
-    {
-      console.log("A OrientationChange event received!!!!!! " + window.orientation);
-    }
-    
-    function onOrientationChangedB(e)
-    {
-      console.log("B OrientationChange event received!!!!!! " + window.orientation);
-    }
-	
-	function onInterceptClicked(bAdd)
-	{
-		console.log("onInterceptClicked " + bAdd);
-		if(bAdd)
-		{
-			document.addEventListener('backbutton', interceptBackbutton, false);	
-		}
-		else
-		{
-			document.removeEventListener('backbutton', interceptBackbutton, false);	
-		}
-	}
-	
-	function goBack()
-	{
-		document.location = "index.html";	
-	}
-
-	function doBlur()
-	{
-		console.log("doBlur");	
-	}
-	
-	function doUnload()
-	{
-		console.log("doUnload");	
-	}
-	
-	function doFocus()
-	{
-		console.log("doFocus");	
-	}
-
-</script>
-
-  </head>
-  <body onLoad="init();" onBlur="doBlur()" onUnload="doUnload()" onFocus="doFocus()" id="stage" class="theme">
-  
-    <h1>Events</h1>
-    <div id="info">
-        <b>Results:</b><br>
-        <span id="results"></span>
-    </div>
-
-    <h2>Action</h2>
-    <div class="btn large" onclick="onInterceptClicked(1);">Intercept backbutton</div>
-    <div class="btn large" onclick="onInterceptClicked(0);">Stop intercept of backbutton</div>
-    <div class="btn large" onclick="document.addEventListener('menubutton', interceptMenubutton, false);">Intercept menubutton</div>
-    <div class="btn large" onclick="document.removeEventListener('menubutton', interceptMenubutton, false);">Stop intercept of menubutton</div>
-    <div class="btn large" onclick="document.addEventListener('searchbutton', interceptSearchbutton, false);">Intercept searchbutton</div>
-    <div class="btn large" onclick="document.removeEventListener('searchbutton', interceptSearchbutton, false);">Stop intercept of searchbutton</div>
-    <div/>
-    <div onclick="goBack()" class="backBtn">Back</div>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/file.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/file.html b/tests/MobileSpecUnitTests/www/file.html
deleted file mode 100644
index ff071c0..0000000
--- a/tests/MobileSpecUnitTests/www/file.html
+++ /dev/null
@@ -1,279 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
-   
-    <script type="text/javascript">
-        // provide our own console if it does not exist, huge dev aid!
-        if (typeof window.console == "undefined") {
-            window.console = { log: function (str) { window.external.Notify(str); } };
-        }
-
-        // output any errors to console log, created above.
-        window.onerror = function (e) {
-            console.log("window.onerror ::" + JSON.stringify(e));
-        };
-
-        console.log("Installed console ! ");
-    </script>
-   
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-    var persistent_root;
-
-    var getFileSystemRoot = (function () {
-
-        var onError = function (error) {
-            console.log('unable to retrieve file system: ' + error.code);
-        };
-
-        // one-time retrieval of the root file system entry
-        if (typeof persistent_root === 'undefined') {
-            window.requestFileSystem(LocalFileSystem.PERSISTENT, 0,
-                function (fileSystem) {
-                    persistent_root = fileSystem.root;
-                }, onError);
-        }
-
-        // public function returns private root entry
-        return persistent_root;
- 
-    });
-
-
-    /**
-    * Gets file or directory
-    */
-    function getEntry(isFile, onSuccess, options) {
-
-        var root = getFileSystemRoot();
-        //TODO
-        console.log(typeof root);
-        var filePath = document.getElementById('filePath');
-        
-        var onGetEntryError = function (fileError) {
-        console.log("Error creating/opening file/directory: " + fileError.code);
-        document.getElementById('file_status').innerHTML = "Error creating/opening file/directory: " + fileError.code;
-        };
-
-        if (isFile == true) {
-            console.log('Creating file');
-            root.getFile(
-            filePath.value,
-            options,
-            onSuccess,
-            onGetEntryError);
-        } else {
-            console.log('Creating directory');
-            root.getDirectory(
-            filePath.value,
-            options,
-            onSuccess,
-            onGetEntryError);
-        }
-    };
-
-    /**
-    * Creates or opens file/directory
-    */
-    function createOrOpen(isFile) {        
-        var onGetEntrySuccess = function (fileEntry) {
-        document.getElementById('file_status').innerHTML = "isFile: " + fileEntry.isFile + "; isDirectory: " + fileEntry.isDirectory + "; name: " + fileEntry.name + "; path: " + fileEntry.fullPath;
-        entry = fileEntry;
-        };
-        getEntry(isFile, onGetEntrySuccess, {create: true, exclusive: true});      
-    };
-
-    /**
-    * Check if file/directory exists
-    */
-    function isExists(isFile) {
-
-        console.log("Start checking...");
-
-        var root = getFileSystemRoot();
-
-        var onError = function (fileError) {
-            console.log("Error checking file/directory: " + fileError.code);
-            document.getElementById('file_status').innerHTML = "Error checking file/directory: " + fileError.code;
-        };
-
-        var onSuccess = function (isExist) {
-            document.getElementById('file_status').innerHTML = "is exists: " + isExist;
-        };
-
-        var filePath = document.getElementById('filePath');
-
-        if (isFile == true) {
-            console.log('check if file exists');
-            navigator.fileMgr.testFileExists(
-            filePath.value,
-            onSuccess,
-            onError);
-        } else {
-            navigator.fileMgr.testDirectoryExists(
-            filePath.value,
-            onSuccess,
-            onError);
-        }
-    };
-
-    
-
-    /**
-    * Remove file or directory
-    */
-    function remove(isFile) {
-
-        var onSuccess = function (fileEntry) {
-
-            var onRemoveError = function (fileError) {
-            console.log("Error removing file/directory: " + fileError.code);
-            document.getElementById('file_status').innerHTML = "Error removing file/directory: " + fileError.code;
-            };
-
-            var onRemoveSuccess = function () {
-                document.getElementById('file_status').innerHTML = "file/directory was removed";
-            };
-
-            fileEntry.remove(onRemoveSuccess, onRemoveError);            
-        };
-
-        getEntry(isFile, onSuccess, {create: false});
-
-    };
-
-    /**
-    * Writes data in file
-    */
-    function writeInFile() {
-        var onSuccess = function (fileEntry) {
-
-            var writer = new FileWriter(fileEntry);
-
-            writer.onwrite = function (evt) {
-                console.log("End writing...");
-                document.getElementById('file_status').innerHTML = writer.length + " bytes was written";
-            };
-            writer.onerror = function (evt) {
-                console.log("writing error");
-                document.getElementById('file_status').innerHTML = "writing error: " + evt.target.error;
-            };
-            writer.write(textToWrite.value);
-            console.log("End writing");
-        };                
-        console.log("Start getting entry");
-        getEntry(true, onSuccess, { create: false });
-    };
-
-    /**
-    * Reads file as base64 string
-    */
-    function readAsBase64() {
-        var onSuccess = function (fileEntry) {
-            var reader = new FileReader();
-            reader.onloadend = function (evt) {
-                console.log("read success");
-                document.getElementById('file_status').innerHTML = evt.target.result;
-            };
-            reader.onerror = function (evt) {
-                console.log("read error");
-                document.getElementById('file_status').innerHTML = "read error: " + evt.target.error;
-            };
-
-            reader.readAsDataURL(fileEntry);
-        };
-
-        console.log("Start getting entry");
-        getEntry(true, onSuccess, { create: false });
-
-    };
-
-    /**
-    * Uploads selected file to specified server
-    */
-    function uploadFile() {
-
-        var onSuccess = function (fileUploadResult) {
-            console.log("Upload success");
-            document.getElementById('file_status').innerHTML = "Code: " + fileUploadResult.responseCode + "; Sent = " + fileUploadResult.bytesSent + "; Response:  " + fileUploadResult.response;
-        };
-
-        var onError = function (error) {
-            document.getElementById('file_status').innerHTML = "Upload error: " + error.code;
-        };
-
-        console.log("Set upload parameters");
-        var options = new FileUploadOptions();
-
-        options.fileKey = "file";
-        options.fileName = "newFile.txt";
-        options.mimeType = "text/plain";
-        var filePath = document.getElementById('filePath').value;
-        var server = document.getElementById('server').value;
-
-        var params = new Object();
-        params.key1 = "value1";
-        params.key2 = "value2";
-        options.params = params;
-
-        var fileTransfer = new FileTransfer();
-
-        fileTransfer.upload(filePath, server, onSuccess, onError, options);
-    };
-
-    /**
-    * Function called when page has finished loading.
-    */
-    function init() {
-        document.addEventListener("deviceready", function () {
-            deviceReady = true;
-            console.log("Device=" + device.platform + " " + device.version);
-            getFileSystemRoot();
-        }, false);
-        window.setTimeout(function () {
-            if (!deviceReady) {
-                alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-            }
-        }, 1000);
-    }
-
-</script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>File</h1>
-    <div id="info">        
-        <b>Enter file/directory name here:</b> <span id="Span1"></span><br/>
-        <input type="text" id="filePath" style="width:250px;height:20px;"/>
-        <br/>
-        <b>Enter text to write in file :</b> <span id="Span2"></span><br/>
-        <input type="text" id="textToWrite" style="width:250px;height:20px;"/>        
-        <br/>
-        <b>Enter URL to upload file to: </b> <span id="Span3"></span><br/>
-        <input type="text" id="server" value='http://posttestserver.com/post.php?dir=phonegapTest' style="width:250px;height:20px;"/>        
-        <br/>
-        <b>Result:</b> <span id="file_status"></span>
-    </div>
-    <h2>Action</h2>
-    <a href="#" class="btn large" onclick="createOrOpen(true);">Create/Open file</a>
-    <a href="#" class="btn large" onclick="createOrOpen(false);">Create/Open directory</a>
-    <a href="#" class="btn large" onclick="isExists(true);">Check if file exists</a>
-    <a href="#" class="btn large" onclick="isExists(false);">Check if directory exists</a>
-    <a href="#" class="btn large" onclick="remove(true);">Remove file</a>
-    <a href="#" class="btn large" onclick="remove(false);">Remove directory</a>  
-    <a href="#" class="btn large" onclick="writeInFile();">Write in file (type text in the second field)</a>
-    <a href="#" class="btn large" onclick="readAsBase64();">Read file as base64</a>
-    <a href="#" class="btn large" onclick="uploadFile();">Upload file</a>
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/index.html b/tests/MobileSpecUnitTests/www/index.html
index f3f990f..b9c0fbd 100644
--- a/tests/MobileSpecUnitTests/www/index.html
+++ b/tests/MobileSpecUnitTests/www/index.html
@@ -87,20 +87,5 @@
      
      
     <a href="autotest/index.html" class="btn large">Automatic Test</a>
-    <a href="accelerometer.html" class="btn large">Accelerometer</a>
-    <a href="accelerometer2.html" class="btn large">Accel Game</a>
-    <a href="audio.html" class="btn large">Audio Play/Record</a>
-    <a href="camera.html" class="btn large">Camera</a>
-    <a href="capture.html" class="btn large">Capture</a>
-    <a href="compass.html" class="btn large">Compass</a>
-    <a href="network.html" class="btn large">Connection</a>
-    <a href="contacts.html" class="btn large">Contacts</a>
-    <a href="events.html" class="btn large">Events</a>
-    <a href="file.html" class="btn large">File</a>
-    <a href="location.html" class="btn large">Location</a>
-    <a href="misc/index.html" class="btn large">Misc Content</a>
-    <a href="notification.html" class="btn large">Notification</a>
-    <a href="storage.html" class="btn large">Local Storage</a>
-    <a href="calculator.html" class="btn large">Calculator (custom plugin)</a>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/location.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/location.html b/tests/MobileSpecUnitTests/www/location.html
deleted file mode 100644
index 8e50b6d..0000000
--- a/tests/MobileSpecUnitTests/www/location.html
+++ /dev/null
@@ -1,162 +0,0 @@
-<!doctype html>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> 
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen">
-    
-    <script type="text/javascript">
-      // provide our own console if it does not exist, huge dev aid!
-      if(typeof window.console == "undefined")
-      {
-      window.console = {log:function(str){window.external.Notify(str);}};
-      }
-
-      // output any errors to console log, created above.
-      window.onerror=function(e)
-      {
-      console.log("window.onerror ::" + JSON.stringify(e));
-      };
-
-      console.log("Installed console ! ");
-    </script>
-    
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>       
-    
- 
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    //-------------------------------------------------------------------------
-    // Location
-    //-------------------------------------------------------------------------
-    var watchLocationId = null;
-
-    /**
-     * Start watching location
-     */
-    var watchLocation = function() {
-        console.log("watchLocation()");
-
-        // Success callback
-        var success = function(p){
-            document.getElementById('latitude').innerHTML = p.coords.latitude;
-            document.getElementById('longitude').innerHTML = p.coords.longitude;
-			
-			document.getElementById('tdAlt').innerHTML = p.coords.altitude;
-			document.getElementById('tdAcc').innerHTML = p.coords.accuracy;
-			document.getElementById('tdAltAcc').innerHTML = p.coords.altitudeAccuracy;
-			document.getElementById('tdHeading').innerHTML = p.coords.heading;
-			document.getElementById('tdSpeed').innerHTML = p.coords.speed;
-        };
-
-        // Fail callback
-        var fail = function(e){
-            console.log("watchLocation fail callback with error code "+e);
-            stopLocation();
-        };
-
-        // Get location
-        watchLocationId = navigator.geolocation.watchPosition(success, fail, {enableHighAccuracy: true});
-        setLocationStatus("Running");
-    };
-
-    /**
-     * Stop watching the location
-     */
-    var stopLocation = function() {
-        setLocationStatus("Stopped");
-        if (watchLocationId) {
-            navigator.geolocation.clearWatch(watchLocationId);
-            watchLocationId = null;
-        }
-    };
-
-    /**
-     * Get current location
-     */
-    var getLocation = function() {
-        console.log("getLocation()");
-
-        // Stop location if running
-        stopLocation();
-
-        // Success callback
-        var success = function(p)
-		{
-            document.getElementById('latitude').innerHTML = p.coords.latitude;
-            document.getElementById('longitude').innerHTML = p.coords.longitude;
-			
-			document.getElementById('tdAlt').innerHTML = p.coords.altitude;
-			document.getElementById('tdAcc').innerHTML = p.coords.accuracy;
-			document.getElementById('tdAltAcc').innerHTML = p.coords.altitudeAccuracy;
-			document.getElementById('tdHeading').innerHTML = p.coords.heading;
-			document.getElementById('tdSpeed').innerHTML = p.coords.speed;
-
-            setLocationStatus("Done");
-        };
-
-        // Fail callback
-        var fail = function(e){
-            console.log("getLocation fail callback with error code "+e.code);
-            setLocationStatus("Error: "+e.code);
-        };
-
-        // Get location
-        navigator.geolocation.getCurrentPosition(success, fail, {enableHighAccuracy: true}); //, {timeout: 10000});
-        setLocationStatus("Retrieving location...");
-
-    };
-
-    /**
-     * Set location status
-     */
-    var setLocationStatus = function(status) {
-        document.getElementById('location_status').innerHTML = status;
-    };
-    
-    /**
-     * Function called when page has finished loading.
-     */
-    function init() {
-        document.addEventListener("deviceready", function() {
-                deviceReady = true;
-                console.log("Device="+device.platform+" "+device.version);
-            }, false);
-        window.setTimeout(function() {
-        	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-        	}
-        },1000);
-    }
-
-</script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Location</h1>
-    <div id="info">
-        <b>Status:</b> <span id="location_status">Stopped</span>
-        <table width="100%">
-            <tr><td><b>Latitude:</b></td><td id="latitude">&nbsp;</td></tr>
-            <tr><td><b>Longitude:</b></td><td id="longitude">&nbsp;</td></tr>
-            <tr><td><b>Altitude:</b></td><td id="tdAlt">&nbsp;</td></tr>
-            <tr><td><b>Accuracy:</b></td><td id="tdAcc">&nbsp;</td></tr>
-            <tr><td><b>Altitude Accuracy:</b></td><td id="tdAltAcc">&nbsp;</td></tr>
-            <tr><td><b>Heading:</b></td><td id="tdHeading">&nbsp;</td></tr>
-            <tr><td><b>Speed:</b></td><td id="tdSpeed">&nbsp;</td></tr>
-        </table>
-    </div>
-    <h2>Action</h2>
-    <a href="#" class="btn large" onClick="getLocation();">Get Location</a>
-    <a href="#" class="btn large" onClick="watchLocation();">Start Watching Location</a>
-    <a href="#" class="btn large" onClick="stopLocation();">Stop Watching Location</a>
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>   
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/misc/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/misc/index.html b/tests/MobileSpecUnitTests/www/misc/index.html
deleted file mode 100644
index 89bd5e1..0000000
--- a/tests/MobileSpecUnitTests/www/misc/index.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen">
-    <script type="text/javascript" charset="utf-8" src="../phonegap-1.2.0.js"></script>      
-
-  </head>
-  <body onload="init();" id="stage" class="theme">
-  
-    <h1>Display Other Content</h1>
-    <div id="info">
-    </div>
-    <h2>Action</h2>
-    <a href="#" class="btn large" onclick="document.location='tel:5551212';" >Make a phone call</a>
-    <a href="mailto:bob@abc.org?subject=My Subject&body=This is the body.%0D%0ANew line." class="btn large">Send an email</a>
-    <!--
-    <a href="sms:5125551234?body=The SMS message." class="btn large">Send SMS</a>
-    <a href="http://www.google.com" target="_blank" class="btn large">Load google.com</a>
-    -->
-
-    <h2>&nbsp;</h2><a href="../index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/network.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/network.html b/tests/MobileSpecUnitTests/www/network.html
deleted file mode 100644
index c1ef707..0000000
--- a/tests/MobileSpecUnitTests/www/network.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
-    <script type="text/javascript">
-      // provide our own console if it does not exist, huge dev aid!
-      if(typeof window.console == "undefined")
-      {
-      window.console = {log:function(str){window.external.Notify(str);}};
-      }
-
-      // output any errors to console log, created above.
-      window.onerror=function(e)
-      {
-      console.log("window.onerror ::" + JSON.stringify(e));
-      };
-
-      console.log("Installed console ! ");
-    </script>
-    
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script> 
-
-
-    <script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    //-------------------------------------------------------------------------
-    // Notifications
-    //-------------------------------------------------------------------------
-
-    function getConnectionState()
-	{
-        var networkState = navigator.network.connection.type;
-
-        var states = {};
-        states[Connection.UNKNOWN]  = 'Unknown connection';
-        states[Connection.ETHERNET] = 'Ethernet connection';
-        states[Connection.WIFI]     = 'WiFi connection';
-        states[Connection.CELL_2G]  = 'Cell 2G connection';
-        states[Connection.CELL_3G]  = 'Cell 3G connection';
-        states[Connection.CELL_4G]  = 'Cell 4G connection';
-        states[Connection.NONE]     = 'No network connection';
-
-		
-        document.getElementById("info").innerHTML = 'Connection type: ' + networkState;
-    };
-
-
-
-
-
-    
-    /**
-     * Function called when page has finished loading.
-     */
-    function init() {
-		
-		
-		
-        document.addEventListener("deviceready", function() {
-                deviceReady = true;
-                console.log("Device="+device.platform+" "+device.version);
-				
-				PhoneGap.onPhoneGapConnectionReady.subscribeOnce(getConnectionState);
-				
-            }, false);
-        window.setTimeout(function() {
-        	if (!deviceReady) {
-        		console.log("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-        	}
-        },1000);
-    }
-
-</script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Network Connection</h1>
-    <div id="info">
-    </div>
-    
-    <h2>Action</h2>
-    <a href="#" class="btn large" onClick="getConnectionState();">Get Connection State</a>
-
-    <a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/notification.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/notification.html b/tests/MobileSpecUnitTests/www/notification.html
deleted file mode 100644
index 0f8d8d1..0000000
--- a/tests/MobileSpecUnitTests/www/notification.html
+++ /dev/null
@@ -1,120 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
-    <script type="text/javascript">
-      // provide our own console if it does not exist, huge dev aid!
-      if(typeof window.console == "undefined")
-      {
-      window.console = {log:function(str){window.external.Notify(str);}};
-      }
-
-      // output any errors to console log, created above.
-      window.onerror=function(e)
-      {
-      console.log("window.onerror ::" + JSON.stringify(e));
-      };
-
-      console.log("Installed console ! ");
-    </script>
-    
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script> 
-
-
-    <script type="text/javascript" charset="utf-8">
-
-      var deviceReady = false;
-
-      //-------------------------------------------------------------------------
-      // Notifications
-      //-------------------------------------------------------------------------
-
-      function doBeep(x)
-      {
-
-      navigator.notification.beep(x);
-      };
-
-      function doVibrate()
-      {
-      navigator.notification.vibrate(0);
-      };
-
-      function doAlert()
-      {
-      var message = "This is an Alert dialog";
-      var title = "Attention!";
-
-      navigator.notification.alert(message,
-      function()
-      {
-      console.log("Alert dismissed.");
-      },
-      title);
-
-      console.log("After alert");
-      };
-
-      function doConfirm()
-      {
-      var message = "This is a confirm dialog";
-      var title = "Please Confirm";
-      var buttons = "OK,Cancel";
-      navigator.notification.confirm(message,
-      function(r) {
-      console.log("You selected " + r);
-
-      },
-      title,
-      buttons);
-      }
-
-      function startActivity()
-      {
-      navigator.notification.activityStart();
-      }
-
-      function stopActivity()
-      {
-      navigator.notification.activityStop();
-      }
-
-      /**
-      * Function called when page has finished loading.
-      */
-      function init() {
-      document.addEventListener("deviceready", function() {
-      deviceReady = true;
-      console.log("Device="+device.platform+" "+device.version);
-      }, false);
-      window.setTimeout(function() {
-      if (!deviceReady) {
-      console.log("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-      }
-      },1000);
-      }
-
-    </script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Notifications and Dialogs</h1>
-    <div id="info">
-    </div>
-    
-    <h2>Action</h2>
-    <a href="#" class="btn large" onClick="doBeep();">Beep Once</a>
-    <a href="#" class="btn large" onClick="doBeep(3);">Beep 3X</a>
-    <a href="#" class="btn large" onClick="doVibrate();">Vibrate</a>
-    <a href="#" class="btn large" onClick="doAlert();">Show Alert Dialog</a>
-    <a href="#" class="btn large" onClick="doConfirm();">Show Confirm Dialog</a>
-    <a href="#" class="btn large" onClick="startActivity();">startActivity</a>
-    <a href="#" class="btn large" onClick="stopActivity();">stopActivity</a>
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/6a55808e/tests/MobileSpecUnitTests/www/storage.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/storage.html b/tests/MobileSpecUnitTests/www/storage.html
deleted file mode 100644
index f7f4e10..0000000
--- a/tests/MobileSpecUnitTests/www/storage.html
+++ /dev/null
@@ -1,75 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
-    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
-    <title>PhoneGap</title>
-    <link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
-    
-    <script type="text/javascript">
-      // provide our own console if it does not exist, huge dev aid!
-      if(typeof window.console == "undefined")
-      {
-      window.console = {log:function(str){window.external.Notify(str);}};
-      }
-
-      // output any errors to console log, created above.
-      window.onerror=function(e)
-      {
-      console.log("window.onerror ::" + JSON.stringify(e));
-      };
-
-      console.log("Installed console ! ");
-    </script>
-    
-    <script type="text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>       
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-    
-    /**
-     * Function called when page has finished loading.
-     */
-    function init() {
-        document.addEventListener("deviceready", function() {
-                deviceReady = true;
-                console.log("Device="+device.platform+" "+device.version);
-            }, false);
-        window.setTimeout(function() {
-        	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
-        	}
-        },1000);
-    }
-
-</script>
-
-  </head>
-  <body onLoad="init();" id="stage" class="theme">
-  
-    <h1>Local Storage</h1>
-    <div id="info">
-        You have loaded this view <span id="count">an untold number of</span> time(s).
-    </div>
-
-    <script>
-	
-	    console.log("sessionStorage = " + (  'sessionStorage' in window && window.sessionStorage != null ));
-	    console.log("localStorage = " + (  'localStorage' in window && window.localStorage != null ));
-
-      if (!localStorage.pageLoadCount) 
-      {
-        localStorage.setItem("pageLoadCount",0);
-      }
-      
-      localStorage.setItem("pageLoadCount",parseInt(localStorage.pageLoadCount) + 1);
-      
-      document.getElementById('count').textContent = localStorage.pageLoadCount;
-    </script>
-
-    <h2>&nbsp;</h2><a href="index.html" class="backBtn">Back</a>
-  </body>
-</html>      
\ No newline at end of file


Mime
View raw message