Lines Matching refs: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);
44 REPORTER_ASSERT(reporter, basename.equals(filename));
55 REPORTER_ASSERT(reporter, dirname.equals(strippedDir));
58 REPORTER_ASSERT(reporter, !basename.contains(SkOSPath::SEPARATOR));
62 REPORTER_ASSERT(reporter, basename.equals(filename));
65 DEF_TEST(OSPath, reporter) {
68 test_dir_with_file(reporter, dir, filename);
72 test_dir_with_file(reporter, dir, filename);
75 test_dir_with_file(reporter, dir, SkString());
78 test_dir_with_file(reporter, SkString(), filename);
82 test_dir_with_file(reporter, dir, filename);
87 REPORTER_ASSERT(reporter, baseOfDir.size() == 0);
91 REPORTER_ASSERT(reporter, empty.size() == 0);
96 test_dir_with_file(reporter, dir, filename);
100 test_dir_with_file(reporter, dir, filename);
104 REPORTER_ASSERT(reporter, emptyPath.isEmpty());