Lines Matching full:reporter
16 * @param reporter Reporter for test conditions.
22 static void test_dir_with_file(skiatest::Reporter* reporter, SkString dir,
38 REPORTER_ASSERT(reporter, fullName.size() == expectedSize);
43 REPORTER_ASSERT(reporter, basename.equals(filename));
46 REPORTER_ASSERT(reporter, !basename.contains(SkPATH_SEPARATOR));
50 REPORTER_ASSERT(reporter, basename.equals(filename));
53 DEF_TEST(OSPath, reporter) {
56 test_dir_with_file(reporter, dir, filename);
60 test_dir_with_file(reporter, dir, filename);
63 test_dir_with_file(reporter, dir, SkString());
66 test_dir_with_file(reporter, SkString(), filename);
70 test_dir_with_file(reporter, dir, filename);
75 REPORTER_ASSERT(reporter, baseOfDir.size() == 0);
79 REPORTER_ASSERT(reporter, empty.size() == 0);
83 REPORTER_ASSERT(reporter, emptyPath.size() == 1);
84 REPORTER_ASSERT(reporter, emptyPath.contains(SkPATH_SEPARATOR));