Commit 2ef92d2b authored by ericu@chromium.org's avatar ericu@chromium.org

Remove ctime and atime checks to reduce flakiness.

We don't really support those attributes fully, so let's not pay too much
attention to them.


BUG=none
TEST=this test


Review URL: http://codereview.chromium.org/6966044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86548 0039d316-1c4b-4281-b951-d872f2087c98
parent c462d123
...@@ -208,9 +208,7 @@ class ObfuscatedFileSystemFileUtilTest : public testing::Test { ...@@ -208,9 +208,7 @@ class ObfuscatedFileSystemFileUtilTest : public testing::Test {
EXPECT_FALSE(file_info1.is_symbolic_link); EXPECT_FALSE(file_info1.is_symbolic_link);
EXPECT_EQ(0, file_info0.size); EXPECT_EQ(0, file_info0.size);
EXPECT_EQ(length, file_info1.size); EXPECT_EQ(length, file_info1.size);
EXPECT_LE(file_info0.last_accessed, file_info1.last_accessed);
EXPECT_LE(file_info0.last_modified, file_info1.last_modified); EXPECT_LE(file_info0.last_modified, file_info1.last_modified);
EXPECT_EQ(file_info0.creation_time, file_info1.creation_time);
context.reset(NewContext()); context.reset(NewContext());
EXPECT_EQ(base::PLATFORM_FILE_OK, ofsfu()->Truncate( EXPECT_EQ(base::PLATFORM_FILE_OK, ofsfu()->Truncate(
...@@ -730,7 +728,6 @@ TEST_F(ObfuscatedFileSystemFileUtilTest, TestCopyOrMoveFileSuccess) { ...@@ -730,7 +728,6 @@ TEST_F(ObfuscatedFileSystemFileUtilTest, TestCopyOrMoveFileSuccess) {
ASSERT_EQ(base::PLATFORM_FILE_OK, ofsfu()->CreateDirectory( ASSERT_EQ(base::PLATFORM_FILE_OK, ofsfu()->CreateDirectory(
context.get(), dest_path.DirName(), exclusive, recursive)); context.get(), dest_path.DirName(), exclusive, recursive));
base::Time last_access_time;
bool created = false; bool created = false;
context.reset(NewContext()); context.reset(NewContext());
ASSERT_EQ(base::PLATFORM_FILE_OK, ASSERT_EQ(base::PLATFORM_FILE_OK,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment