Chromium Code Reviews| Index: base/mac/mac_util_unittest.mm |
| =================================================================== |
| --- base/mac/mac_util_unittest.mm (revision 86429) |
| +++ base/mac/mac_util_unittest.mm (working copy) |
| @@ -106,15 +106,14 @@ |
| NSURL* fileURL = [NSURL URLWithString:dummyFilePath]; |
| // Reset the exclusion in case it was set previously. |
| SetFileBackupExclusion(file_path, false); |
| - Boolean excludeByPath; |
| // Initial state should be non-excluded. |
| - EXPECT_FALSE(CSBackupIsItemExcluded((CFURLRef)fileURL, &excludeByPath)); |
| + EXPECT_FALSE(CSBackupIsItemExcluded((CFURLRef)fileURL, NULL)); |
| // Exclude the file. |
| EXPECT_TRUE(SetFileBackupExclusion(file_path, true)); |
| - EXPECT_TRUE(CSBackupIsItemExcluded((CFURLRef)fileURL, &excludeByPath)); |
| + EXPECT_TRUE(CSBackupIsItemExcluded((CFURLRef)fileURL, NULL)); |
| // Un-exclude the file. |
| EXPECT_TRUE(SetFileBackupExclusion(file_path, false)); |
|
Mark Mentovai
2011/05/25 01:14:35
This (and line 108) is the portion of the test tha
mrossetti
2011/05/26 21:02:40
Done.
|
| - EXPECT_FALSE(CSBackupIsItemExcluded((CFURLRef)fileURL, &excludeByPath)); |
| + EXPECT_FALSE(CSBackupIsItemExcluded((CFURLRef)fileURL, NULL)); |
| } |
| TEST_F(MacUtilTest, TestGetValueFromDictionary) { |