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/29 03:13:00 UTC

[1/2] git commit: [CB-7422][File Tests] Use proper fileSystem to create fullPath

Repository: cordova-plugin-file
Updated Branches:
  refs/heads/master 0f200a5d9 -> ba3243599


[CB-7422][File Tests] Use proper fileSystem to create fullPath

The filesystem uses root filesystem (PERSISTENT) to compare with a
TEMPORARY filesystem.
This is wrong, if TEMPORARY, temp_root, should be used to assign value
to fullPath.


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

Branch: refs/heads/master
Commit: 690cbdf3edf2daf273bd7d18ce51e0b9cc76b8c1
Parents: 73a5173
Author: Martin Gonzalez <ma...@gmail.com>
Authored: Thu Aug 28 17:18:34 2014 -0500
Committer: Martin Gonzalez <ma...@gmail.com>
Committed: Thu Aug 28 17:18:34 2014 -0500

----------------------------------------------------------------------
 tests/tests.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/690cbdf3/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index 3e34195..40799f3 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -2921,7 +2921,7 @@ exports.defineAutoTests = function () {
                 var file1 = "entry.copy.file1b",
                 file2 = "entry.copy.file2b",
                 sourceEntry,
-                fullPath = joinURL(root.fullPath, file2),
+                fullPath = joinURL(temp_root.fullPath, file2),
                 validateFile = function (entry) {
                     expect(entry).toBeDefined();
                     expect(entry.isFile).toBe(true);
@@ -2990,7 +2990,7 @@ exports.defineAutoTests = function () {
                 var file1 = "entry.copy.file1b",
                 file2 = "entry.copy.file2b",
                 sourceEntry,
-                fullPath = joinURL(root.fullPath, file2),
+                fullPath = joinURL(temp_root.fullPath, file2),
                 validateFile = function (entry) {
                     expect(entry).toBeDefined();
                     expect(entry.isFile).toBe(true);


[2/2] git commit: Merge branch 'CB-7422' of https://github.com/martincgg/cordova-plugin-file

Posted by pu...@apache.org.
Merge branch 'CB-7422' of https://github.com/martincgg/cordova-plugin-file


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

Branch: refs/heads/master
Commit: ba3243599afd00a6828011b156c30e5910cc6205
Parents: 0f200a5 690cbdf
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Thu Aug 28 18:13:39 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Thu Aug 28 18:13:39 2014 -0700

----------------------------------------------------------------------
 tests/tests.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------