Home
last modified time | relevance | path

Searched refs:reporter (Results 251 - 275 of 366) sorted by relevance

1...<<1112131415

/third_party/skia/tests/
H A DPathOpsChalkboardTest.cpp16 static void chalkboard(skiatest::Reporter* reporter, uint64_t testlines) { in chalkboard() argument
88 testSimplify(reporter, path, testName.c_str()); in chalkboard()
96 static void chalkboard_threaded(skiatest::Reporter* reporter, const char* filename) { in chalkboard_threaded() argument
100 initializeTests(reporter, "chalkboard"); in chalkboard_threaded()
101 PathOpsThreadedTestRunner testRunner(reporter); in chalkboard_threaded()
116 testCount = reporter->allowExtendedTest() ? 63 * 62 / 2 : 100; in chalkboard_threaded()
119 testCount = reporter->allowExtendedTest() ? 10000 : 100; in chalkboard_threaded()
132 if (reporter->allowExtendedTest()) { in chalkboard_threaded()
167 static void chalkboard_1(skiatest::Reporter* reporter, const char* filename) {
169 chalkboard(reporter, testline
[all...]
H A DVkDrawableTest.cpp223 void draw_drawable_test(skiatest::Reporter* reporter, in draw_drawable_test() argument
265 ERRORF(reporter, "Wrong color at %d, %d. Got 0x%08x when we expected 0x%08x", in draw_drawable_test()
272 DEF_GPUTEST_FOR_VULKAN_CONTEXT(VkDrawableTest, reporter, ctxInfo) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
273 draw_drawable_test(reporter, ctxInfo.directContext(), nullptr); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
276 DEF_GPUTEST(VkDrawableImportTest, reporter, options) { in DEF_GPUTEST()
286 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType))); in DEF_GPUTEST()
294 draw_drawable_test(reporter, ctxInfo.directContext(), child.directContext()); in DEF_GPUTEST()
H A DDefaultPathRendererTest.cpp78 static void run_test(GrDirectContext* dContext, skiatest::Reporter* reporter) { in run_test() argument
127 REPORTER_ASSERT(reporter, correct); in run_test()
135 reporter, ctxInfo, only_allow_default) { in DEF_GPUTEST_FOR_CONTEXTS()
138 run_test(ctx, reporter); in DEF_GPUTEST_FOR_CONTEXTS()
H A DPathOpsOpCircleThreadedTest.cpp37 pathStr.printf("static void circlesOp%d(skiatest::Reporter* reporter," in testOpCirclesMain()
50 pathStr.appendf(" testPathOp(reporter, path, pathB, %s, filename);\n", in testOpCirclesMain()
74 DEF_TEST(PathOpsOpCircleThreaded, reporter) { in DEF_TEST()
75 initializeTests(reporter, "circleOp"); in DEF_TEST()
76 PathOpsThreadedTestRunner testRunner(reporter); in DEF_TEST()
85 if (!reporter->allowExtendedTest()) goto finish; in DEF_TEST()
H A DPathOpsOpCubicThreadedTest.cpp41 pathStr.printf("static void cubicOp%d(skiatest::Reporter* reporter," in testOpCubicsMain()
58 pathStr.appendf(" testPathOp(reporter, path, pathB, %s, filename);\n", in testOpCubicsMain()
82 DEF_TEST(PathOpsOpCubicsThreaded, reporter) { in DEF_TEST()
83 initializeTests(reporter, "cubicOp"); in DEF_TEST()
84 PathOpsThreadedTestRunner testRunner(reporter); in DEF_TEST()
93 if (!reporter->allowExtendedTest()) goto finish; in DEF_TEST()
H A DSkbug6653.cpp33 skiatest::Reporter* reporter, in test_bug_6653()
93 REPORTER_ASSERT(reporter, match, label); in test_bug_6653()
99 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(skbug6653, reporter, ctxInfo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 test_bug_6653(ctx, reporter, "Default"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
32 test_bug_6653(GrDirectContext* dContext, skiatest::Reporter* reporter, const char* label) test_bug_6653() argument
H A DPathOpsSimplifyQuadThreadedTest.cpp50 pathStr.printf("static void testQuads%d(skiatest::Reporter* reporter," in testSimplifyQuadsMain()
61 pathStr.appendf(" testSimplify(reporter, path, filename);\n"); in testSimplifyQuadsMain()
77 DEF_TEST(PathOpsSimplifyQuadsThreaded, reporter) { in DEF_TEST()
78 initializeTests(reporter, "testQuads"); in DEF_TEST()
79 PathOpsThreadedTestRunner testRunner(reporter); in DEF_TEST()
88 if (!reporter->allowExtendedTest()) goto finish; in DEF_TEST()
H A DPathOpsSimplifyDegenerateThreadedTest.cpp65 DEF_TEST(PathOpsSimplifyDegeneratesThreaded, reporter) { in DEF_TEST()
66 initializeTests(reporter, "testDegenerates"); in DEF_TEST()
67 PathOpsThreadedTestRunner testRunner(reporter); in DEF_TEST()
81 if (!reporter->allowExtendedTest()) goto finish; in DEF_TEST()
H A DPathOpsSimplifyQuadralateralsThreadedTest.cpp51 "reporter, const char* filename) {\n", loopNo); in testSimplifyQuadralateralsMain()
63 pathStr.appendf(" testPathSimplify(reporter, path, filename);\n"); in testSimplifyQuadralateralsMain()
79 DEF_TEST(PathOpsSimplifyQuadralateralsThreaded, reporter) { in DEF_TEST()
80 initializeTests(reporter, "testQuadralaterals"); in DEF_TEST()
81 PathOpsThreadedTestRunner testRunner(reporter); in DEF_TEST()
89 if (!reporter->allowExtendedTest()) goto finish; in DEF_TEST()
H A DPathOpsSimplifyTrianglesThreadedTest.cpp68 DEF_TEST(PathOpsSimplifyTrianglesThreaded, reporter) { in DEF_TEST()
69 initializeTests(reporter, "testTriangles"); in DEF_TEST()
70 PathOpsThreadedTestRunner testRunner(reporter); in DEF_TEST()
89 if (!reporter->allowExtendedTest()) goto finish; in DEF_TEST()
H A DMatrixColorFilterTest.cpp18 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(MatrixColorFilter_TransparentBlack, reporter, info) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
41 [reporter](int x, int y, const float diffs[4]) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
42 ERRORF(reporter, "Expected transparent black, instead got (%f, %f, %f, %f)", in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
H A DPathOpsTigerTest.cpp15 static void tiger8(skiatest::Reporter* reporter, const char* filename) { in tiger8() argument
92 testSimplify(reporter, path, filename); in tiger8()
96 static void tiger8a(skiatest::Reporter* reporter, const char* filename) { in tiger8a() argument
135 testSimplify(reporter, path, filename); in tiger8a()
140 static void tiger8a_x(skiatest::Reporter* reporter, uint64_t testlines) { in tiger8a_x() argument
182 testSimplify(reporter, path, testName.c_str()); in tiger8a_x()
187 static void tiger8a_h_1(skiatest::Reporter* reporter, const char* ) { in tiger8a_h_1() argument
189 tiger8a_x(reporter, testlines); in tiger8a_h_1()
192 static void tiger8b_x(skiatest::Reporter* reporter, uint64_t testlines) { in tiger8b_x() argument
235 testSimplify(reporter, pat in tiger8b_x()
247 tiger_threaded(skiatest::Reporter* reporter, const char* filename) tiger_threaded() argument
274 tiger8b_h_1(skiatest::Reporter* reporter, const char* filename) tiger8b_h_1() argument
280 tiger8b(skiatest::Reporter* reporter, const char* filename) tiger8b() argument
[all...]
H A Dskia_test.cpp117 } reporter; in operator ()() local
120 fTest.fProc(&reporter, GrContextOptions()); in operator ()()
122 if (reporter.fError) { in operator ()()
125 fStatus->endTest(fTest.fName, !reporter.fError, elapsed, reporter.fTestCount); in operator ()()
H A DCubicMapTest.cpp39 static void exercise_cubicmap(SkPoint p1, SkPoint p2, skiatest::Reporter* reporter) { in exercise_cubicmap() argument
51 REPORTER_ASSERT(reporter, false); in exercise_cubicmap()
58 REPORTER_ASSERT(reporter, diff < MAX_SOLVER_ERR); in exercise_cubicmap()
H A DGrTextBlobTest.cpp45 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrTextBlobScaleAnimation, reporter, ctxInfo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
69 REPORTER_ASSERT(reporter, anyBlack); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
73 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrTextBlobMoveAround, reporter, ctxInfo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
115 REPORTER_ASSERT(reporter, benchMark.width() == bitmap.width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
116 REPORTER_ASSERT(reporter, benchMark.width() == bitmap.width()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
139 REPORTER_ASSERT(reporter, checkBitmap(bitmap)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
H A DApplyGammaTest.cpp96 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ApplyGamma, reporter, ctxInfo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
123 ERRORF(reporter, "Could not create surfaces for copy surface test."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 ERRORF(reporter, "Error calling readPixels"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
154 ERRORF(reporter, "Expected dst %d,%d to contain 0x%08x " in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
H A DGpuDrawPathTest.cpp76 DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(GpuDrawPath, reporter, ctxInfo) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
86 test_func(reporter, surface->getCanvas()); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
91 DEF_GPUTEST_FOR_ALL_CONTEXTS(GrDrawCollapsedPath, reporter, ctxInfo) { in DEF_GPUTEST_FOR_ALL_CONTEXTS()
116 DEF_GPUTEST_FOR_ALL_CONTEXTS(PathTest_CrBug1232834, reporter, ctxInfo) { in DEF_GPUTEST_FOR_ALL_CONTEXTS()
H A DPathOpsOpLoopThreadedTest.cpp61 pathStr.printf("static void loop%d(skiatest::Reporter* reporter," in testOpLoopsMain()
78 pathStr.appendf(" testPathOp(reporter, path, pathB, kIntersect_SkPathOp," in testOpLoopsMain()
93 DEF_TEST(PathOpsOpLoopsThreaded, reporter) { in DEF_TEST()
94 initializeTests(reporter, "loopOp"); in DEF_TEST()
95 PathOpsThreadedTestRunner testRunner(reporter); in DEF_TEST()
104 if (!reporter->allowExtendedTest()) goto finish; in DEF_TEST()
H A DPDFDeflateWStreamTest.cpp32 std::unique_ptr<SkStreamAsset> stream_inflate(skiatest::Reporter* reporter, SkStream* src) { in stream_inflate() argument
50 ERRORF(reporter, "Zlib: inflateInit failed"); in stream_inflate()
91 ERRORF(reporter, "write failed"); in stream_inflate()
101 ERRORF(reporter, "Zlib: inflateEnd failed"); in stream_inflate()
H A DTopoSortTest.cpp162 DEF_TEST(TopoSort, reporter) { in DEF_TEST()
188 REPORTER_ASSERT(reporter, actualResult == tests[i].fExpectedResult); in DEF_TEST()
189 REPORTER_ASSERT(reporter, numNodes == graph.count()); in DEF_TEST()
193 REPORTER_ASSERT(reporter, node->check()); in DEF_TEST()
H A DRecordingXfermodeTest.cpp138 DEF_TEST(SkRecordingAccuracyXfermode, reporter) { in DEF_TEST()
158 REPORTER_ASSERT(reporter, pixelsSize == pictureBM.computeByteSize()); in DEF_TEST()
162 REPORTER_ASSERT(reporter, in DEF_TEST()
174 REPORTER_ASSERT(reporter, 0 == numErrors, errors.c_str()); in DEF_TEST()
/third_party/skia/modules/canvaskit/
H A Dgm_bindings.cpp253 result.set("result", "passed"); // default to passing - the reporter will mark failed. in RunTest()
254 WasmReporter reporter(name, result); in RunTest()
256 test.run(&reporter, grOpts); in RunTest()
260 result.set("result", "passed"); // default to passing - the reporter will mark failed. in RunTest()
261 WasmReporter reporter(name, result); in RunTest()
262 test.run(&reporter, grOpts); in RunTest()
287 Reporter* reporter, const GrContextOptions& options) { in RunWithGPUTestContexts()
296 REPORTER_ASSERT(reporter, ctxInfo.directContext() != nullptr); in RunWithGPUTestContexts()
302 (*test)(reporter, ctxInfo); in RunWithGPUTestContexts()
286 RunWithGPUTestContexts(GrContextTestFn* test, GrContextTypeFilterFn* contextTypeFilter, Reporter* reporter, const GrContextOptions& options) RunWithGPUTestContexts() argument
/third_party/python/Lib/distutils/command/
H A Dcheck.py132 reporter = SilentReporter(source_path,
140 document = nodes.document(settings, reporter, source=source_path)
145 reporter.messages.append(
148 return reporter.messages
/third_party/ltp/tools/sparse/sparse-src/
H A Ddissect.c56 static struct reporter *reporter; variable
128 reporter->r_member(fix_mode(ret, mode), pos, type, mem); in report_member()
139 reporter->r_member(mode, pos, type, NULL); in report_implicit()
173 reporter->r_symbol(fix_mode(ret, mode), &expr->pos, sym); in report_symbol()
199 reporter->r_memdef(sym, mem); in report_memdef()
244 reporter->r_symdef(base); in examine_sym_node()
619 reporter->r_symdef(sym); in do_symbol()
625 reporter->r_symbol(U_W_VAL, &sym->pos, sym); in do_symbol()
655 void dissect(struct reporter *re
[all...]
/third_party/skia/tests/graphite/
H A DTransformTest.cpp12 DEF_GRAPHITE_TEST(TransformTest, reporter) { in DEF_GRAPHITE_TEST()
15 REPORTER_ASSERT(reporter, t.type() == skgpu::Transform::Type::kIdentity); in DEF_GRAPHITE_TEST()

Completed in 12 milliseconds

1...<<1112131415