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 2014/08/19 03:41:13 UTC

[4/5] git commit: rebase from master

rebase from master


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/e1afbb6d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/e1afbb6d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/e1afbb6d

Branch: refs/heads/master
Commit: e1afbb6d24c19e5522fd646d7263d59895560232
Parents: 8644681 b5d1dff
Author: Edna Morales <ed...@ednas-mbp-2.raleigh.ibm.com>
Authored: Mon Aug 18 11:59:20 2014 -0400
Committer: Edna Morales <ed...@ednas-mbp-2.raleigh.ibm.com>
Committed: Mon Aug 18 11:59:20 2014 -0400

----------------------------------------------------------------------
 tests/tests.js | 62 +++++++++++++++++++++--------------------------------
 1 file changed, 25 insertions(+), 37 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/e1afbb6d/tests/tests.js
----------------------------------------------------------------------
diff --cc tests/tests.js
index 3aa0b94,7a795db..ad70bf7
--- a/tests/tests.js
+++ b/tests/tests.js
@@@ -944,8 -919,12 +928,12 @@@ exports.defineManualTests = function (c
  
      createActionButton('Download and display img (native)', function () {
          downloadImg(imageURL, function (entry) { return entry.toNativeURL(); }, new Image);
 -    }, 'actions');
 +    }, 'native_image');
  
+     createActionButton('Download to a non-existent dir (should work)', function () {
+         downloadImg(imageURL, function (entry) { return entry.toURL(); }, new Image, '/nonExistentDirTest/');
+     }, 'actions');
+ 
      createActionButton('Download and play video (cdvfile)', function () {
          var videoElement = document.createElement('video');
          videoElement.controls = "controls";