incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [2/5] spec commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec
Date Thu, 05 Apr 2012 00:19:05 GMT
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/commit/278c11ee
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/278c11ee
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/278c11ee

Branch: refs/heads/master
Commit: 278c11eeda787a3307957168451db245a72d5ab6
Parents: 2f24e2e 25824dd
Author: Joe Bowser <bowserj@apache.org>
Authored: Wed Apr 4 17:10:59 2012 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Wed Apr 4 17:10:59 2012 -0700

----------------------------------------------------------------------
 autotest/index.html                 |    1 +
 autotest/pages/all.html             |    1 +
 autotest/pages/platform.html        |   54 ++++++++++++++++
 autotest/tests/file.tests.js        |  103 ++++++++++++++++++++++++++++--
 autotest/tests/geolocation.tests.js |   47 ++++++++++++--
 autotest/tests/media.tests.js       |   21 ++++++
 autotest/tests/platform.tests.js    |   37 +++++++++++
 7 files changed, 251 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/278c11ee/autotest/tests/file.tests.js
----------------------------------------------------------------------
diff --cc autotest/tests/file.tests.js
index 48efa27,15dc462..2370fa5
--- a/autotest/tests/file.tests.js
+++ b/autotest/tests/file.tests.js
@@@ -1015,12 -1105,13 +1105,13 @@@ Tests.prototype.FileTests = function() 
      });
      test("Entry.getParent on root file system", function() {
          QUnit.stop(Tests.TEST_TIMEOUT);
-         expect(2);
+         expect(3);
          
          var rootPath = this.root.fullPath,
 -		 testParent = function(parent) {
 +         testParent = function(parent) {
                  ok(typeof parent !== 'undefined' && parent !== null, "parent directory
should not be null.");
                  equal(parent.fullPath, rootPath, "parent fullPath should be root file system");
+                 ok(typeof parent.getParent === 'function', "entry object should have a 'getParent'
function.");
                  QUnit.start();
              };
  


Mime
View raw message