Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

17  *  @param reporter Reporter for test conditions.
23 static void test_dir_with_file(skiatest::Reporter* reporter, SkString dir,
39 REPORTER_ASSERT(reporter, fullName.size() == expectedSize);
44 REPORTER_ASSERT(reporter, basename.equals(filename));
47 REPORTER_ASSERT(reporter, !basename.contains(SkPATH_SEPARATOR));
51 REPORTER_ASSERT(reporter, basename.equals(filename));
54 DEF_TEST(OSPath, reporter) {
57 test_dir_with_file(reporter, dir, filename);
61 test_dir_with_file(reporter, dir, filename);
64 test_dir_with_file(reporter, dir, SkString());
67 test_dir_with_file(reporter, SkString(), filename);
71 test_dir_with_file(reporter, dir, filename);
76 REPORTER_ASSERT(reporter, baseOfDir.size() == 0);
80 REPORTER_ASSERT(reporter, empty.size() == 0);
84 REPORTER_ASSERT(reporter, emptyPath.size() == 1);
85 REPORTER_ASSERT(reporter, emptyPath.contains(SkPATH_SEPARATOR));