diff options
Diffstat (limited to 'base/files/important_file_writer_unittest.cc')
-rw-r--r-- | base/files/important_file_writer_unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/files/important_file_writer_unittest.cc b/base/files/important_file_writer_unittest.cc index 759436cf..3f24d10 100644 --- a/base/files/important_file_writer_unittest.cc +++ b/base/files/important_file_writer_unittest.cc @@ -61,11 +61,11 @@ class ImportantFileWriterTest : public testing::Test { TEST_F(ImportantFileWriterTest, Basic) { ImportantFileWriter writer(file_, MessageLoopProxy::current().get()); - EXPECT_FALSE(file_util::PathExists(writer.path())); + EXPECT_FALSE(PathExists(writer.path())); writer.WriteNow("foo"); RunLoop().RunUntilIdle(); - ASSERT_TRUE(file_util::PathExists(writer.path())); + ASSERT_TRUE(PathExists(writer.path())); EXPECT_EQ("foo", GetFileContent(writer.path())); } @@ -82,7 +82,7 @@ TEST_F(ImportantFileWriterTest, ScheduleWrite) { TimeDelta::FromMilliseconds(100)); MessageLoop::current()->Run(); EXPECT_FALSE(writer.HasPendingWrite()); - ASSERT_TRUE(file_util::PathExists(writer.path())); + ASSERT_TRUE(PathExists(writer.path())); EXPECT_EQ("foo", GetFileContent(writer.path())); } @@ -99,7 +99,7 @@ TEST_F(ImportantFileWriterTest, DoScheduledWrite) { TimeDelta::FromMilliseconds(100)); MessageLoop::current()->Run(); EXPECT_FALSE(writer.HasPendingWrite()); - ASSERT_TRUE(file_util::PathExists(writer.path())); + ASSERT_TRUE(PathExists(writer.path())); EXPECT_EQ("foo", GetFileContent(writer.path())); } @@ -115,7 +115,7 @@ TEST_F(ImportantFileWriterTest, BatchingWrites) { MessageLoop::QuitWhenIdleClosure(), TimeDelta::FromMilliseconds(100)); MessageLoop::current()->Run(); - ASSERT_TRUE(file_util::PathExists(writer.path())); + ASSERT_TRUE(PathExists(writer.path())); EXPECT_EQ("baz", GetFileContent(writer.path())); } |