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/11/06 01:38:29 UTC

[20/25] js commit: rm some untested test cases

rm some untested test cases


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

Branch: refs/heads/master
Commit: 13ef0192efa1fa32476c7a7d0556c34c72ae2553
Parents: 1aa4b3e
Author: mingfeng <mi...@gmail.com>
Authored: Thu Oct 18 12:02:23 2012 +0800
Committer: mingfeng <mi...@gmail.com>
Committed: Thu Oct 18 12:02:23 2012 +0800

----------------------------------------------------------------------
 test/window8/battery.tests.js  |    5 -----
 test/window8/platform.tests.js |   35 -----------------------------------
 2 files changed, 0 insertions(+), 40 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/13ef0192/test/window8/battery.tests.js
----------------------------------------------------------------------
diff --git a/test/window8/battery.tests.js b/test/window8/battery.tests.js
deleted file mode 100644
index 7bb25af..0000000
--- a/test/window8/battery.tests.js
+++ /dev/null
@@ -1,5 +0,0 @@
-describe('Battery (navigator.battery)', function () {;
-    it("should exist", function() {
-        expect(navigator.battery).toBeDefined();
-    });
-});

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/13ef0192/test/window8/platform.tests.js
----------------------------------------------------------------------
diff --git a/test/window8/platform.tests.js b/test/window8/platform.tests.js
deleted file mode 100644
index cf05356..0000000
--- a/test/window8/platform.tests.js
+++ /dev/null
@@ -1,35 +0,0 @@
-describe('Platform (cordova)', function () {
-    it("should exist", function() {
-        expect(cordova).toBeDefined();
-    });
-    describe('Platform (Cordova)', function () {
-        it("should exist", function() {
-            expect(window.Cordova).toBeDefined();
-        });
-    });
-    describe('Platform (PhoneGap)', function () {
-        it("should exist", function() {
-            expect(PhoneGap).toBeDefined();
-        });
-
-        it("exec method should exist", function() {
-            expect(PhoneGap.exec).toBeDefined();
-            expect(typeof PhoneGap.exec).toBe('function');
-        });
-
-        it("addPlugin method should exist", function() {
-            expect(PhoneGap.addPlugin).toBeDefined();
-            expect(typeof PhoneGap.addPlugin).toBe('function');
-        });
-
-        it("addConstructor method should exist", function() {
-            expect(PhoneGap.addConstructor).toBeDefined();
-            expect(typeof PhoneGap.addConstructor).toBe('function');
-        });
-    });
-    describe('Platform (window.plugins)', function () {
-        it("should exist", function() {
-            expect(window.plugins).toBeDefined();
-        });
-    });
-});