Repository: cordova-plugin-file
Updated Branches:
  refs/heads/master 36134d48c -> 73a5173d1


Amazon related changes.


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/73a5173d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/73a5173d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/73a5173d

Branch: refs/heads/master
Commit: 73a5173d177d0df803f62938d77f03be2c00d557
Parents: 36134d4
Author: Archana Naik <[email protected]>
Authored: Thu Aug 28 12:06:29 2014 -0700
Committer: Archana Naik <[email protected]>
Committed: Thu Aug 28 12:06:29 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/73a5173d/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index b74fc63..3e34195 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -3022,7 +3022,7 @@ exports.defineAutoTests = function () {
             });
             it("file.spec.129 cordova.file.*Directory are set", function () {
                 var expectedPaths = ['applicationDirectory', 
'applicationStorageDirectory', 'dataDirectory', 'cacheDirectory'];
-                if (cordova.platformId == 'android') {
+                if (cordova.platformId == 'android' || cordova.platformId == 
'amazon-fireos') {
                     expectedPaths.push('externalApplicationStorageDirectory', 
'externalRootDirectory', 'externalCacheDirectory', 'externalDataDirectory');
                 } else if (cordova.platformId == 'blackberry10') {
                     expectedPaths.push('externalRootDirectory', 
'sharedDirectory');
@@ -3111,7 +3111,8 @@ exports.defineManualTests = function (contentEl, 
createActionButton) {
 
     var fsRoots = {
         "ios" : 
"library,library-nosync,documents,documents-nosync,cache,bundle,root,private",
-        "android" : 
"files,files-external,documents,sdcard,cache,cache-external,root"
+        "android" : 
"files,files-external,documents,sdcard,cache,cache-external,root",
+        "amazon-fireos" : 
"files,files-external,documents,sdcard,cache,cache-external,root"
     };
 
     //Add title and align to content

Reply via email to