Home | History | Annotate | Download | only in tests

Lines Matching defs:file

54     FILE* file = fopen(path.c_str(), "r");
55 // The created file should be empty.
57 REPORTER_ASSERT(reporter, fread(buffer, 1, 1, file) == 0);
58 fclose(file);
69 SkString path = SkOSPath::SkPathJoin(tmpDir.c_str(), "file.pdf");
79 FILE* file = fopen(path.c_str(), "r");
80 REPORTER_ASSERT(reporter, file != NULL);
82 REPORTER_ASSERT(reporter, fread(header, 4, 1, file) != 0);
84 fclose(file);