Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

23     class Reporter : public SkRefCnt {
25 SK_DECLARE_INST_COUNT(Reporter)
26 Reporter();
55 Reporter* getReporter() const { return fReporter; }
56 void setReporter(Reporter*);
70 virtual void onRun(Reporter*) = 0;
73 Reporter* fReporter;
100 DEF_TEST(TestName, reporter) {
102 REPORTER_ASSERT(reporter, x == 15);
104 REPORTER_ASSERT_MESSAGE(reporter, x == 15, "x should be 15");
107 ERRORF(reporter, "x should be 15, but is %d", x);
133 #define ERRORF(reporter, ...) \
138 (reporter)->reportFailed(desc); \
141 #define DEF_TEST(name, reporter) \
142 static void name(skiatest::Reporter*); \
151 virtual void onRun(Reporter* r) SK_OVERRIDE { name(r); } \
155 static void name(skiatest::Reporter* reporter)
157 #define DEF_GPUTEST(name, reporter, factory) \
158 static void name(skiatest::Reporter*, GrContextFactory*); \
167 virtual void onRun(Reporter* r) SK_OVERRIDE { \
173 static void name(skiatest::Reporter* reporter, GrContextFactory* factory)