• Home
  • Raw
  • Download

Lines Matching refs:skiatest

26 namespace skiatest {
44 virtual void reportFailed(const skiatest::Failure&) = 0;
49 void reportFailedWithContext(const skiatest::Failure& f) { in reportFailedWithContext()
61 this->reportFailed(skiatest::Failure(f.fileName, f.lineNo, f.condition, fullMessage)); in reportFailedWithContext()
75 reporter->reportFailedWithContext(skiatest::Failure(__FILE__, __LINE__, cond, message))
90 typedef void (*TestProc)(skiatest::Reporter*, sk_gpu_test::GrContextFactory*);
185 static void test_##name(skiatest::Reporter*, sk_gpu_test::GrContextFactory*); \
186 skiatest::TestRegistry name##TestRegistry( \
187 skiatest::Test(#name, false, test_##name)); \
188 void test_##name(skiatest::Reporter* reporter, sk_gpu_test::GrContextFactory*)
192 static void test_##name(skiatest::Reporter*, sk_gpu_test::GrContextFactory*); \
193 skiatest::TestRegistry name##TestRegistry( \
194 skiatest::Test(#name, true, test_##name)); \
195 void test_##name(skiatest::Reporter* reporter, sk_gpu_test::GrContextFactory* factory)
198 static void test_##name(skiatest::Reporter*, \
200 static void test_gpu_contexts_##name(skiatest::Reporter* reporter, \
202 skiatest::RunWithGPUTestContexts(test_##name, context_filter, reporter, factory); \
204 skiatest::TestRegistry name##TestRegistry( \
205 skiatest::Test(#name, true, test_gpu_contexts_##name)); \
206 void test_##name(skiatest::Reporter* reporter, \
215 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsGLContextType, reporter, context_info)
217 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsRenderingGLContextType, reporter, context_info)
219 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsNullGLContextType, reporter, context_info)
221 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsVulkanContextType, reporter, context_info)