You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/02/23 23:29:31 UTC
[21/50] [abbrv] update 1.4.1 references to 1.5.0
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/a9056cc7/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml b/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
index baa5383..e8f13ef 100644
--- a/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
+++ b/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This file is auto-generated, do not edit! -jm -->
<CordovaSourceDictionary>
- <FilePath Value="www\cordova-1.4.1.js"/>
+ <FilePath Value="www\cordova-1.5.0.js"/>
<FilePath Value="www\index.html"/>
<FilePath Value="www\master.css"/>
<FilePath Value="www\autotest\index.html"/>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/a9056cc7/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj b/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
index c5c19c8..f360fd8 100644
--- a/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
+++ b/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
@@ -89,7 +89,6 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="CordovaSourceDictionary.xml" />
- <Content Include="www\cordova-1.4.1.js" />
<None Include="ManifestProcessor.js" />
<Content Include="SplashScreenImage.jpg" />
<Content Include="www\autotest\index.html">
@@ -113,6 +112,7 @@
<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\cordova-1.5.0.js" />
<Content Include="www\index.html">
<SubType>Designer</SubType>
</Content>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/a9056cc7/tests/MobileSpecUnitTests/www/autotest/index.html
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/autotest/index.html b/tests/MobileSpecUnitTests/www/autotest/index.html
index 1e133a6..b724f59 100644
--- a/tests/MobileSpecUnitTests/www/autotest/index.html
+++ b/tests/MobileSpecUnitTests/www/autotest/index.html
@@ -40,7 +40,7 @@
<!-- Source -->
- <script type="text/javascript" src="../cordova-1.4.1.js"></script>
+ <script type="text/javascript" src="../cordova-1.5.0.js"></script>
<!-- Load Test Runner -->
<script type="text/javascript" src="test-runner.js"></script>
@@ -49,34 +49,34 @@
<!-- Individual Tests -->
- <!--<script type="text/javascript" src="tests/accelerometer.tests.js"></script>
+ <script type="text/javascript" src="tests/accelerometer.tests.js"></script>
<script type="text/javascript" src="tests/camera.tests.js"></script>
<script type="text/javascript" src="tests/capture.tests.js"></script>
<script type="text/javascript" src="tests/notification.tests.js"></script>
<script type="text/javascript" src="tests/network.tests.js"></script>
- <script type="text/javascript" src="tests/geolocation.tests.js"></script>-->
+ <script type="text/javascript" src="tests/geolocation.tests.js"></script>
- <script type="text/javascript" src="tests/compass.tests.js"></script>
+ <!--<script type="text/javascript" src="tests/compass.tests.js"></script>-->
- <!--<script type="text/javascript" src="tests/contacts.tests.js"></script>
+ <script type="text/javascript" src="tests/contacts.tests.js"></script>
<script type="text/javascript" src="tests/file.tests.js"></script>
<script type="text/javascript" src="tests/filetransfer.tests.js"></script>
<script type="text/javascript" src="tests/media.tests.js"></script>
- <script type="text/javascript" src="tests/storage.tests.js"></script>-->
+ <script type="text/javascript" src="tests/storage.tests.js"></script>
+
- <!--
<script type="text/javascript" src="tests/device.tests.js"></script>
- <script type="text/javascript" src="tests/orientation.tests.js"></script>
- -->
+ <!--<script type="text/javascript" src="tests/orientation.tests.js"></script> -->
+
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/a9056cc7/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js b/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js
index 537aeda..8a8d1cf 100644
--- a/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js
+++ b/tests/MobileSpecUnitTests/www/autotest/tests/device.tests.js
@@ -28,9 +28,9 @@ Tests.prototype.DeviceTests = function() {
ok(window.device.uuid > 0, "window.device.uuid, as a number, should be greater than 0. (should it, even?)")
}
});
- test("should contain a phonegap specification that is a string", function() {
+ test("should contain a cordova version that is a string", function() {
expect(2);
- ok(typeof window.device.phonegap != 'undefined' && window.device.phonegap != null, "window.device.phonegap should not be null.")
- ok((new String(window.device.phonegap)).length > 0, "window.device.phonegap should contain some kind of description.")
+ ok(typeof window.device.cordova != 'undefined' && window.device.cordova != null, "window.device.cordova should not be null.")
+ ok((new String(window.device.cordova)).length > 0, "window.device.cordova should contain some kind of string value.")
});
};
\ No newline at end of file