incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [8/8] removed duplicate mobile-spec tests, test project now redirects to tests hosted in the gh_pages branch of mobilespec
Date Mon, 14 May 2012 20:21:01 GMT
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/tests/MobileSpecUnitTests/www/events/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/events/index.html b/tests/MobileSpecUnitTests/www/events/index.html
deleted file mode 100644
index 2c7e8ba..0000000
--- a/tests/MobileSpecUnitTests/www/events/index.html
+++ /dev/null
@@ -1,88 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0"
/>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    function interceptBackbutton() {
-    	eventOutput("Back button intercepted");
-    }
-    function interceptMenubutton() {
-    	eventOutput("Menu button intercepted");
-    }
-    function interceptSearchbutton() {
-    	eventOutput("Search button intercepted");
-    }
-    function interceptResume() {
-      eventOutput("Resume event intercepted");
-    }
-    function interceptPause() {
-      eventOutput("Pause event intercepted");
-    }
-    function interceptOnline() {
-      eventOutput("Online event intercepted");
-    }
-    function interceptOffline() {
-      eventOutput("Offline event intercepted");
-    }
-    
-    var eventOutput = function(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() {
-                deviceReady = true;
-                console.log("Device="+device.platform+" "+device.version);
-                eventOutput("deviceready event: "+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>Events</h1>
-    <div id="info">
-        <b>Results:</b><br>
-        <span id="results"></span>
-    </div>
-
-    <h2>Action</h2>
-    <div class="btn large" onclick="document.addEventListener('backbutton', interceptBackbutton,
false);">Intercept backbutton</div>
-    <div class="btn large" onclick="document.removeEventListener('backbutton', interceptBackbutton,
false);">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 class="btn large" onclick="document.addEventListener('resume', interceptResume,
false);">Intercept resume</div>
-    <div class="btn large" onclick="document.removeEventListener('resume', interceptResume,
false);">Stop intercept of resume</div>
-    <div class="btn large" onclick="document.addEventListener('pause', interceptPause,
false);">Intercept pause</div>
-    <div class="btn large" onclick="document.removeEventListener('pause', interceptPause,
false);">Stop intercept of pause</div>
-    <div class="btn large" onclick="document.addEventListener('online', interceptOnline,
false);">Intercept online</div>
-    <div class="btn large" onclick="document.removeEventListener('online', interceptOnline,
false);">Stop intercept of online</div>
-    <div class="btn large" onclick="document.addEventListener('offline', interceptOffline,
false);">Intercept offline</div>
-    <div class="btn large" onclick="document.removeEventListener('offline', interceptOffline,
false);">Stop intercept of offline</div>
-
-    <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/tests/MobileSpecUnitTests/www/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/index.html b/tests/MobileSpecUnitTests/www/index.html
index d33dc5f..cc66dd4 100644
--- a/tests/MobileSpecUnitTests/www/index.html
+++ b/tests/MobileSpecUnitTests/www/index.html
@@ -1,37 +1,25 @@
-<!DOCTYPE html>
+<!DOCTYPE html>
 <html>
   <head>
     <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0"
/>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
     <title>Cordova Mobile Spec</title>
-	  <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title"
charset="utf-8">
-	  <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
-	  <script type="text/javascript" charset="utf-8" src="main.js"></script>
+	  <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title"
charset="utf-8"/>
+	  <script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>
+
+      <script>
+
+          function init() {
+              document.addEventListener("deviceready", onDeviceReady);
+          }
+
+          function onDeviceReady() {
+              window.location = "http://purplecabbage.github.com/incubator-cordova-mobile-spec/";
+          }
+      </script>
 
   </head>
   <body onload="init();" id="stage" class="theme">
-    <h1>PhoneGap Tests</h1>
-    <div id="info">
-        <h4>Platform: <span id="platform">  </span></h4>
-        <h4>Version: <span id="version"> </span></h4>
-        <h4>UUID: <span id="uuid">  </span></h4>
-        <h4>Name: <span id="name"> </span></h4>
-        <h4>Width: <span id="width">  </span>,   Height: <span id="height">

-                   </span>, Color Depth: <span id="colorDepth"></span></h4>
-     </div>
-    <a href="autotest/index.html" class="btn large">Automatic Test</a>
-    <a href="accelerometer/index.html" class="btn large">Accelerometer</a>
-    <a href="audio/index.html" class="btn large">Audio Play/Record</a>
-    <a href="battery/index.html" class="btn large">Battery</a>
-    <a href="camera/index.html" class="btn large">Camera</a>
-    <a href="compass/index.html" class="btn large">Compass</a>
-    <a href="contacts/index.html" class="btn large">Contacts</a>
-    <a href="events/index.html" class="btn large">Events</a>
-    <a href="location/index.html" class="btn large">Location</a>
-    <a href="misc/index.html" class="btn large">Misc Content</a>
-    <a href="network/index.html" class="btn large">Network</a>
-    <a href="notification/index.html" class="btn large">Notification</a>
-    <a href="sql/index.html" class="btn large">Web SQL</a>
-    <a href="storage/index.html" class="btn large">Local Storage</a>
+
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/tests/MobileSpecUnitTests/www/location/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/location/index.html b/tests/MobileSpecUnitTests/www/location/index.html
deleted file mode 100644
index e39c12e..0000000
--- a/tests/MobileSpecUnitTests/www/location/index.html
+++ /dev/null
@@ -1,123 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0"
/>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../cordova.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;
-        };
-
-        // 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;
-            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">
</td></tr>
-            <tr><td><b>Longitude:</b></td><td id="longitude">
</td></tr>
-        </table>
-    </div>
-    <h2>Action</h2>
-    <div class="btn large" onclick="getLocation();">Get Location</div>
-    <div class="btn large" onclick="watchLocation();">Start Watching Location</div>
-    <div class="btn large" onclick="stopLocation();">Stop Watching Location</div>
-    <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
   
-  </body>
-</html>      

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/tests/MobileSpecUnitTests/www/main.js
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/main.js b/tests/MobileSpecUnitTests/www/main.js
deleted file mode 100644
index ae447aa..0000000
--- a/tests/MobileSpecUnitTests/www/main.js
+++ /dev/null
@@ -1,140 +0,0 @@
-var deviceInfo = function() {
-    document.getElementById("platform").innerHTML = device.platform;
-    document.getElementById("version").innerHTML = device.version;
-    document.getElementById("uuid").innerHTML = device.uuid;
-    document.getElementById("name").innerHTML = device.name;
-    document.getElementById("width").innerHTML = screen.width;
-    document.getElementById("height").innerHTML = screen.height;
-    document.getElementById("colorDepth").innerHTML = screen.colorDepth;
-};
-
-var getLocation = function() {
-    var suc = function(p) {
-        alert(p.coords.latitude + " " + p.coords.longitude);
-    };
-    var locFail = function() {
-    };
-    navigator.geolocation.getCurrentPosition(suc, locFail);
-};
-
-var beep = function() {
-    navigator.notification.beep(2);
-};
-
-var vibrate = function() {
-    navigator.notification.vibrate(0);
-};
-
-function roundNumber(num) {
-    var dec = 3;
-    var result = Math.round(num * Math.pow(10, dec)) / Math.pow(10, dec);
-    return result;
-}
-
-var accelerationWatch = null;
-
-function updateAcceleration(a) {
-    document.getElementById('x').innerHTML = roundNumber(a.x);
-    document.getElementById('y').innerHTML = roundNumber(a.y);
-    document.getElementById('z').innerHTML = roundNumber(a.z);
-}
-
-var toggleAccel = function() {
-    if (accelerationWatch !== null) {
-        navigator.accelerometer.clearWatch(accelerationWatch);
-        updateAcceleration({
-            x : "",
-            y : "",
-            z : ""
-        });
-        accelerationWatch = null;
-    } else {
-        var options = {};
-        options.frequency = 1000;
-        accelerationWatch = navigator.accelerometer.watchAcceleration(
-                updateAcceleration, function(ex) {
-                    alert("accel fail (" + ex.name + ": " + ex.message + ")");
-                }, options);
-    }
-};
-
-var preventBehavior = function(e) {
-    e.preventDefault();
-};
-
-function dump_pic(data) {
-    var viewport = document.getElementById('viewport');
-    console.log(data);
-    viewport.style.display = "";
-    viewport.style.position = "absolute";
-    viewport.style.top = "10px";
-    viewport.style.left = "10px";
-    document.getElementById("test_img").src = "data:image/jpeg;base64," + data;
-}
-
-function fail(msg) {
-    alert(msg);
-}
-
-function show_pic() {
-    navigator.camera.getPicture(dump_pic, fail, {
-        quality : 50
-    });
-}
-
-function close() {
-    var viewport = document.getElementById('viewport');
-    viewport.style.position = "relative";
-    viewport.style.display = "none";
-}
-
-// This is just to do this.
-function readFile() {
-    navigator.file.read('/sdcard/phonegap.txt', fail, fail);
-}
-
-function writeFile() {
-    navigator.file.write('foo.txt', "This is a test of writing to a file",
-            fail, fail);
-}
-
-function contacts_success(contacts) {
-    alert(contacts.length
-            + ' contacts returned.'
-            + (contacts[2] && contacts[2].name ? (' Third contact is ' + contacts[2].name.formatted)
-                    : ''));
-}
-
-function get_contacts() {
-    var obj = new ContactFindOptions();
-    obj.filter = "";
-    obj.multiple = true;
-    obj.limit = 5;
-    navigator.service.contacts.find(
-            [ "displayName", "name" ], contacts_success,
-            fail, obj);
-}
-
-var networkReachableCallback = function(reachability) {
-    // There is no consistency on the format of reachability
-    var networkState = reachability.code || reachability;
-
-    var currentState = {};
-    currentState[NetworkStatus.NOT_REACHABLE] = 'No network connection';
-    currentState[NetworkStatus.REACHABLE_VIA_CARRIER_DATA_NETWORK] = 'Carrier data connection';
-    currentState[NetworkStatus.REACHABLE_VIA_WIFI_NETWORK] = 'WiFi connection';
-
-    confirm("Connection type:\n" + currentState[networkState]);
-};
-
-function check_network() {
-    navigator.network.isReachable("www.mobiledevelopersolutions.com",
-            networkReachableCallback, {});
-}
-
-function init() {
-    // the next line makes it impossible to see Contacts on the HTC Evo since it
-    // doesn't have a scroll button
-    // document.addEventListener("touchmove", preventBehavior, false);
-    document.addEventListener("deviceready", deviceInfo, true);
-}

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/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 697cb10..0000000
--- a/tests/MobileSpecUnitTests/www/misc/index.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0"
/>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../cordova.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;
-    }
-    
-    /**
-     * 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>Display Other Content</h1>
-    <div id="info">
-    </div>
-    <h2>Action</h2>
-    <div class="btn large" onclick="document.location='tel:5551212';" >Call 411</div>
-    <a href="mailto:bob@abc.org?subject=My Subject&body=This is the body.%0D%0ANew
line." class="btn large">Send Mail</a>
-    <a href="sms:5125551234?body=The SMS message." class="btn large">Send SMS</a>
-    <a href="http://www.google.com" class="btn large">Load Web Site</a>
-    <!--  Need new URL -->
-    <!-- a href="http://handle.library.cornell.edu/control/authBasic/authTest/" class="btn
large">Basic Auth: test/this</a -->
-    <a href="page2.html" hrefbad="page2.html?me=test" class="btn large">Load another
PhoneGap page</a>
-    <h2>Android Only</h2>
-    <a href="geo:0,0?q=11400 Burnet Rd, Austin, TX" class="btn large">Map IBM</a>
-    <a href="market://search?q=google" class="btn large">Search Android market</a>
-    <a href="content://media/external/images/media" class="btn large">View image app</a>
-
-    <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
-  </body>
-</html>      

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/tests/MobileSpecUnitTests/www/misc/page2.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/misc/page2.html b/tests/MobileSpecUnitTests/www/misc/page2.html
deleted file mode 100644
index 22026fc..0000000
--- a/tests/MobileSpecUnitTests/www/misc/page2.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0"
/>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
-    <title>Cordova Mobile Spec</title>
-      <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-      <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
-      <script type="text/javascript" charset="utf-8" src="../main.js"></script>
-
-  </head>
-  <body onload="init();" id="stage" class="theme">
-    <h1>Page2 App</h1>
-    <h2>This is page 2 of a PhoneGap app</h2>
-    <div id="info">
-        <h4>Platform: <span id="platform">  </span></h4>
-        <h4>Version: <span id="version"> </span></h4>
-        <h4>UUID: <span id="uuid">  </span></h4>
-        <h4>Name: <span id="name"> </span></h4>
-        <h4>Width: <span id="width">  </span>,   Height: <span id="height">

-                   </span>, Color Depth: <span id="colorDepth"></span></h4>
-     </div>
-      <div ><button class="backBtn" onclick="backHome();">Back</button></div>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/tests/MobileSpecUnitTests/www/network/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/network/index.html b/tests/MobileSpecUnitTests/www/network/index.html
deleted file mode 100644
index 0b2204b..0000000
--- a/tests/MobileSpecUnitTests/www/network/index.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0"
/>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    var eventOutput = function(s) {
-        var el = document.getElementById("results");
-        el.innerHTML = el.innerHTML + s + "<br>";
-    };
-
-    function printNetwork() {
-        eventOutput("Current network connection type is: " + navigator.network.connection.type);
-    }
-
-    /**
-     * Function called when page has finished loading.
-     */
-    function init() {
-        document.addEventListener("deviceready", function() {
-            deviceReady = true;
-            console.log("Device="+device.platform+" "+device.version);
-            eventOutput("Network Connection is: " + navigator.network.connection.type);
-            document.addEventListener('online', function() { eventOutput('Online event, connection
is: ' + navigator.network.connection.type); }, false);
-            document.addEventListener('offline', function() { eventOutput('Offline event,
connection is: ' + navigator.network.connection.type); }, false);
-
-        }, false);
-        window.setTimeout(function() {
-            if (!deviceReady) {
-                alert("Error: Cordova did not initialize.  Demo will not run correctly.");
-            }
-        },1000);
-    }
-
-</script>
-
-  </head>
-  <body onload="init();" id="stage" class="theme">
-  
-    <h1>Network Events and State</h1>
-    <div id="info">
-        <b>Results:</b><br>
-        <span id="results"></span>
-    </div>
-
-    <h2>Action</h2>
-    <div class="btn large" onclick="printNetwork();">Show Network Connection</div>
-    <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
-  </body>
-</html>
-

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/tests/MobileSpecUnitTests/www/notification/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/notification/index.html b/tests/MobileSpecUnitTests/www/notification/index.html
deleted file mode 100644
index e5c0d17..0000000
--- a/tests/MobileSpecUnitTests/www/notification/index.html
+++ /dev/null
@@ -1,81 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0"
/>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    //-------------------------------------------------------------------------
-    // Notifications
-    //-------------------------------------------------------------------------
-
-    var beep = function(){
-        navigator.notification.beep(3);
-    };
-
-    var vibrate = function(){
-      navigator.notification.vibrate(1000);
-    };
-
-    var alertDialog = function(message, title, button) {
-        console.log("alertDialog()");
-        navigator.notification.alert(message,
-            function(){
-                console.log("Alert dismissed.");
-            },
-            title, button);
-        console.log("After alert");
-    };
-
-    var confirmDialog = function(message, title, buttons) {
-        navigator.notification.confirm(message,
-            function(r) {
-                console.log("You selected " + r);
-                alert("You selected " + (buttons.split(","))[r-1]);
-            },
-            title,
-            buttons);
-    };
-    
-    /**
-     * 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>Notifications and Dialogs</h1>
-    <div id="info">
-    </div>
-    
-    <h2>Action</h2>
-    <div class="btn large" onclick="beep();">Beep</div>
-    <div class="btn large" onclick="vibrate();">Vibrate</div>
-    <div class="btn large" onclick="alertDialog('You pressed alert.', 'Alert Dialog',
'Continue');">Alert Dialog</div>
-    <div class="btn large" onclick="confirmDialog('You pressed confirm.', 'Confirm Dialog',
'Yes,No,Maybe');">Confirm Dialog</div>
-    <div class="btn large" onclick="alert('You pressed alert.');">Built-in Alert Dialog</div>
-    <div class="btn large" onclick="confirm('You selected confirm');">Built-in Confirm
Dialog</div>
-    <div class="btn large" onclick="prompt('This is a prompt.', 'Default value');">Built-in
Prompt Dialog</div>
-    <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
-  </body>
-</html>      

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/tests/MobileSpecUnitTests/www/sql/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/sql/index.html b/tests/MobileSpecUnitTests/www/sql/index.html
deleted file mode 100644
index 116f8d1..0000000
--- a/tests/MobileSpecUnitTests/www/sql/index.html
+++ /dev/null
@@ -1,132 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0"
/>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
-
-      
-<script type="text/javascript" charset="utf-8">
-
-    var deviceReady = false;
-
-    //-------------------------------------------------------------------------
-    // HTML5 Database
-    //-------------------------------------------------------------------------
-    var db;
-    var callDatabase = function() {
-        db = openDatabase("mydb", "1.0", "PhoneGap Demo", 20000);
-        if (db === null) {
-            databaseOutput("Database could not be opened.");
-            return;
-        }
-        databaseOutput("Database opened.");
-        db.transaction(function (tx) {
-            tx.executeSql('DROP TABLE IF EXISTS DEMO');
-            tx.executeSql('CREATE TABLE IF NOT EXISTS DEMO (id unique, data)', [],
-                 function(tx,results) { console.log("Created table"); },
-                 function(tx,err) { alert("Error creating table: "+err.message); });
-            tx.executeSql('INSERT INTO DEMO (id, data) VALUES (1, "First row")', [],
-                 function(tx,results) { console.log("Insert row1 success"); },
-                 function(tx,err) { alert("Error adding 1st row: "+err.message); });
-            tx.executeSql('INSERT INTO DEMO (id, data) VALUES (2, "Second row")', [],
-                 function(tx,results) { console.log("Insert row2 success"); },
-                 function(tx,err) { alert("Error adding 2nd row: "+err.message); });
-            databaseOutput("Data written to DEMO table.");
-            console.log("Data written to DEMO table.");
-
-            tx.executeSql('SELECT * FROM DEMO', [], function (tx, results) {
-                var len = results.rows.length;
-                var text = "DEMO table: " + len + " rows found.<br>";
-                text = text + "<table border='1'><tr><td>Row</td><td>Data</td></tr>";
-                for (var i=0; i<len; i++){
-                    text = text + "<tr><td>" + i + "</td><td>" +
results.rows.item(i).id + ", " + results.rows.item(i).data + "</td></tr>";
-                }
-                text = text + "</table>";
-                databaseOutput(text);
-            }, function(tx, err) {
-                alert("Error processing SELECT * SQL: "+err.message);
-            });
-            tx.executeSql('SELECT ID FROM DEMO', [], function (tx, results) {
-                var len = results.rows.length;
-                var text = "DEMO table: " + len + " rows found.<br>";
-                text = text + "<table border='1'><tr><td>Row</td><td>Data</td></tr>";
-                for (var i=0; i<len; i++){
-                    text = text + "<tr><td>" + i + "</td><td>" +
results.rows.item(i).id + "</td></tr>";
-                }
-                text = text + "</table>";
-                databaseOutput(text);
-            }, function(tx, err) {
-                alert("Error processing SELECT ID SQL: "+err.message);
-            });
-            
-        },
-        function(err) {
-            console.log("Transaction failed: " + err.message);
-        });
-
-
-    };
-
-    var readDatabase = function() {
-    	if (!db) {
-    	    db = openDatabase("mydb", "1.0", "PhoneGap Demo", 20000);
-    	    if (db === null) {
-                databaseOutput("Database could not be opened.");
-                return;
-    	    }
-        }
-        db.transaction(function (tx) {
-            tx.executeSql('SELECT * FROM DEMO WHERE id=2', [], function (tx, results) {
-                var len = results.rows.length;
-                var text = "DEMO table: " + len + " rows found.<br>";
-                text = text + "<table border='1'><tr><td>Row</td><td>Data</td></tr>";
-                for (var i=0; i<len; i++){
-                    text = text + "<tr><td>" + i + "</td><td>" +
results.rows.item(i).id + ", " + results.rows.item(i).data + "</td></tr>";
-                }
-                text = text + "</table>";
-                databaseOutput(text);
-            }, function(tx, err) {
-                alert("Error processing SELECT * WHERE id=2 SQL: "+err.message);
-            });
-        });
-    }
-
-    var databaseOutput = function(s) {
-        var el = document.getElementById("database_results");
-        el.innerHTML = el.innerHTML + s + "<br>";
-    };
-    
-    /**
-     * 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>HTML5 Database</h1>   
-    <div id="info">
-        <b>Results:</b><br>
-        <span id="database_results"></span>
-    </div>
-    <h2>Action</h2>
-    <div class="btn large" onclick="callDatabase();">Create, Add, Read Database</div>
-    <div class="btn large" onclick="readDatabase();">Read Database</div>
-    <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
   
-  </body>
-</html>      

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/4251cf3e/tests/MobileSpecUnitTests/www/storage/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/storage/index.html b/tests/MobileSpecUnitTests/www/storage/index.html
deleted file mode 100644
index 85a0dbd..0000000
--- a/tests/MobileSpecUnitTests/www/storage/index.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0"
/>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../cordova.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 run this app <span id="count">an untold number of</span> time(s).
-    </div>
-
-    <script>
-    if (!localStorage.pageLoadCount) {
-        localStorage.pageLoadCount = 0;
-    }
-    localStorage.pageLoadCount = parseInt(localStorage.pageLoadCount) + 1;
-    document.getElementById('count').textContent = localStorage.pageLoadCount;
-    </script>
-
-    <h2> </h2><div class="backBtn" onclick="backHome();">Back</div>
-  </body>
-</html>      


Mime
View raw message