Lines Matching refs:skiatest

19 namespace skiatest {
37 virtual void reportFailed(const skiatest::Failure&) = 0;
43 reporter->reportFailed(skiatest::Failure(__FILE__, __LINE__, cond, message))
45 typedef void (*TestProc)(skiatest::Reporter*, GrContextFactory*);
117 static void test_##name(skiatest::Reporter*, GrContextFactory*); \
118 skiatest::TestRegistry name##TestRegistry( \
119 skiatest::Test(#name, false, test_##name)); \
120 void test_##name(skiatest::Reporter* reporter, GrContextFactory*)
133 static void test_##name(skiatest::Reporter*, GrContextFactory*); \
134 skiatest::TestRegistry name##TestRegistry( \
135 skiatest::Test(#name, true, test_##name)); \
136 void test_##name(skiatest::Reporter* reporter, GrContextFactory* factory)
139 static void test_##name(skiatest::Reporter*, GPUTEST_CONTEXT_ARGS(__VA_ARGS__)); \
140 static void test_gpu_contexts_##name(skiatest::Reporter* reporter, \
142 skiatest::RunWithGPUTestContexts(test_##name, contexts, reporter, factory); \
144 skiatest::TestRegistry name##TestRegistry( \
145 skiatest::Test(#name, true, test_gpu_contexts_##name)); \
146 void test_##name(skiatest::Reporter* reporter, GPUTEST_CONTEXT_ARGS(__VA_ARGS__))
149 DEF_GPUTEST_FOR_CONTEXTS(name, skiatest::kAll_GPUTestContexts, reporter, __VA_ARGS__)
151 … DEF_GPUTEST_FOR_CONTEXTS(name, skiatest::kAllRendering_GPUTestContexts, reporter, __VA_ARGS__)
153 DEF_GPUTEST_FOR_CONTEXTS(name, skiatest::kNull_GPUTestContexts, reporter, __VA_ARGS__)
155 DEF_GPUTEST_FOR_CONTEXTS(name, skiatest::kNative_GPUTestContexts, reporter, __VA_ARGS__)