Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1135)

Unified Diff: chrome/test/data/extensions/api_test/file_browser/filesystem_operations_test/test.js

Issue 16094003: drive: Respect is_recursive parameter in RemoveOperation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix DriveFileSystemExtensionApiTest Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/file_browser/filesystem_operations_test/test.js
diff --git a/chrome/test/data/extensions/api_test/file_browser/filesystem_operations_test/test.js b/chrome/test/data/extensions/api_test/file_browser/filesystem_operations_test/test.js
index 9d0c56aeb8f6a58e3b80c2587f523caf14b4c66d..a336a9a9735c275753841576449d3f673fb7a9d2 100644
--- a/chrome/test/data/extensions/api_test/file_browser/filesystem_operations_test/test.js
+++ b/chrome/test/data/extensions/api_test/file_browser/filesystem_operations_test/test.js
@@ -436,14 +436,13 @@ function collectTestsForMountPoint(mountPointName, mountPoint) {
});
testsToRun.push(function deleteDirectoryTest() {
- // The directory exists if and only if the file system is not drive.
+ // Verify that the directory still exists after the operation.
var callback = getDirectory.bind(null, mountPoint, 'test_dir', false,
- !isOnDrive, chrome.test.succeed);
+ true, chrome.test.succeed);
// The directory should still contain some files, so non-recursive delete
- // should fail. The drive file system does not respect is_recursive flag, so
- // the operation succeeds.
- deleteDirectory(mountPoint, 'test_dir', isOnDrive, callback);
+ // should fail.
+ deleteDirectory(mountPoint, 'test_dir', false, callback);
});
// On drive, the directory was deleted in the previous test.
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698