incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject spec commit: Added Entry. setMetadata function existence check
Date Tue, 08 May 2012 22:09:00 GMT
Updated Branches:
  refs/heads/master df55b0d14 -> f9b774f44


Added Entry. setMetadata function existence check


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

Branch: refs/heads/master
Commit: f9b774f440931d72d7bb820000345382ea9d7d2e
Parents: df55b0d
Author: shazron <shazron@gmail.com>
Authored: Tue May 8 15:08:53 2012 -0700
Committer: shazron <shazron@gmail.com>
Committed: Tue May 8 15:08:53 2012 -0700

----------------------------------------------------------------------
 autotest/tests/file.tests.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f9b774f4/autotest/tests/file.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/file.tests.js b/autotest/tests/file.tests.js
index ce8b6cc..7c7a9ce 100644
--- a/autotest/tests/file.tests.js
+++ b/autotest/tests/file.tests.js
@@ -1162,6 +1162,7 @@ describe('File API', function() {
                     expect(entry.name).toBe(fileName);
                     expect(entry.fullPath).toBe(fullPath);
                     expect(typeof entry.getMetadata).toBe('function');
+                    expect(typeof entry.setMetadata).toBe('function');
                     expect(typeof entry.moveTo).toBe('function');
                     expect(typeof entry.copyTo).toBe('function');
                     expect(typeof entry.toURL).toBe('function');


Mime
View raw message