Home | History | Annotate | Download | only in fileapi

Lines Matching defs:from_file

244   const char *from_file = "fromfile";
248 ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created));
254 file_util()->Truncate(context.get(), CreateURL(from_file), 1020));
256 EXPECT_TRUE(FileExists(from_file));
257 EXPECT_EQ(1020, GetSize(from_file));
261 CreateURL(from_file),
267 CreateURL(from_file),
270 EXPECT_TRUE(FileExists(from_file));
271 EXPECT_EQ(1020, GetSize(from_file));
280 const char *from_file = "fromdir/fromfile";
290 ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created));
295 file_util()->Truncate(context.get(), CreateURL(from_file), 1020));
298 EXPECT_TRUE(FileExists(from_file));
299 EXPECT_EQ(1020, GetSize(from_file));
308 EXPECT_TRUE(FileExists(from_file));
309 EXPECT_EQ(1020, GetSize(from_file));
316 const char *from_file = "fromfile";
319 ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created));
325 file_util()->Truncate(context.get(), CreateURL(from_file), 1020));
327 EXPECT_TRUE(FileExists(from_file));
328 EXPECT_EQ(1020, GetSize(from_file));
333 CreateURL(from_file),
336 EXPECT_FALSE(FileExists(from_file));
343 const char *from_file = "fromdir/fromfile";
353 ASSERT_EQ(base::File::FILE_OK, EnsureFileExists(from_file, &created));
358 file_util()->Truncate(context.get(), CreateURL(from_file), 1020));
361 EXPECT_TRUE(FileExists(from_file));
362 EXPECT_EQ(1020, GetSize(from_file));