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

Unified Diff: webkit/chromeos/fileapi/file_access_permissions_unittest.cc

Issue 14304004: Convert a bunch of test_shell_tests to content_browsertests. These are tests that depend on loading… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 8 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 | « webkit/chromeos/fileapi/file_access_permissions.h ('k') | webkit/chromeos/fileapi/memory_file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/chromeos/fileapi/file_access_permissions_unittest.cc
===================================================================
--- webkit/chromeos/fileapi/file_access_permissions_unittest.cc (revision 195684)
+++ webkit/chromeos/fileapi/file_access_permissions_unittest.cc (working copy)
@@ -50,9 +50,9 @@
EXPECT_FALSE(permissions.HasAccessPermission(extension1, good_dir));
EXPECT_TRUE(permissions.HasAccessPermission(extension1, good_file));
EXPECT_FALSE(permissions.HasAccessPermission(extension1, bad_file));
- EXPECT_FALSE(permissions.HasAccessPermission(extension2, good_dir));
- EXPECT_FALSE(permissions.HasAccessPermission(extension2, good_file));
- EXPECT_FALSE(permissions.HasAccessPermission(extension2, bad_file));
+ EXPECT_TRUE(permissions.HasAccessPermission(extension2, good_dir));
+ EXPECT_TRUE(permissions.HasAccessPermission(extension2, good_file));
+ EXPECT_TRUE(permissions.HasAccessPermission(extension2, bad_file));
// After revoking rights for extensions, they should not be able to access
// any file system element anymore.
« no previous file with comments | « webkit/chromeos/fileapi/file_access_permissions.h ('k') | webkit/chromeos/fileapi/memory_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698