Home
last modified time | relevance | path

Searched refs:fReporter (Results 1 – 25 of 57) sorted by relevance

123

/external/skqp/tests/
DPathOpsThreadedCommon.h34 skiatest::Reporter* fReporter; member
43 PathOpsThreadedTestRunner(skiatest::Reporter* reporter) : fReporter(reporter) {} in PathOpsThreadedTestRunner()
51 skiatest::Reporter* fReporter; variable
62 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
70 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
79 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
DBlitMaskClip.cpp21 , fReporter(reporter) { } in TestBlitter()
25 REPORTER_ASSERT(fReporter, x >= fBounds.fLeft && x < fBounds.fRight); in blitH()
26 REPORTER_ASSERT(fReporter, y >= fBounds.fTop && y < fBounds.fBottom); in blitH()
28 REPORTER_ASSERT(fReporter, right > fBounds.fLeft && right <= fBounds.fRight); in blitH()
37 skiatest::Reporter* fReporter; member in TestBlitter
DPathOpsQuadLineIntersectionThreadedTest.cpp80 REPORTER_ASSERT(state.fReporter, data); in testQuadLineIntersectMain()
106 testLineIntersect(state.fReporter, quad, line, x, y); in testQuadLineIntersectMain()
107 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain()
109 testLineIntersect(state.fReporter, quad, line2, x, y); in testQuadLineIntersectMain()
110 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain()
112 testLineIntersect(state.fReporter, quad, line3, x, y); in testQuadLineIntersectMain()
113 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain()
DPathOpsSimplifyRectThreadedTest.cpp68 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
99 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
130 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
161 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
170 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
174 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
DPathOpsOpRectThreadedTest.cpp48 if (state.fReporter->verbose()) { in testPathOpsRectsMain()
74 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain()
75 if (state.fReporter->verbose()) { in testPathOpsRectsMain()
116 int step = data->fReporter->allowExtendedTest() ? 2 : 5; in testPathOpsFastMain()
138 if (state.fReporter->verbose()) { in testPathOpsFastMain()
160 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsFastMain()
161 if (state.fReporter->verbose()) { in testPathOpsFastMain()
DLazyProxyTest.cpp33 : fReporter(reporter) in LazyProxyTest()
39 REPORTER_ASSERT(fReporter, fHasOpTexture); in ~LazyProxyTest()
40 REPORTER_ASSERT(fReporter, fHasClipTexture); in ~LazyProxyTest()
45 REPORTER_ASSERT(fReporter, !fHasOpTexture); in preFlush()
46 REPORTER_ASSERT(fReporter, !fHasClipTexture); in preFlush()
50 REPORTER_ASSERT(fReporter, fHasOpTexture); in postFlush()
51 REPORTER_ASSERT(fReporter, fHasClipTexture); in postFlush()
72 REPORTER_ASSERT(fTest->fReporter, fTest->fHasOpTexture); in onExecute()
73 REPORTER_ASSERT(fTest->fReporter, fTest->fHasClipTexture); in onExecute()
88 REPORTER_ASSERT(fTest->fReporter, !fTest->fHasOpTexture); in Op()
[all …]
DCachedDecodingPixelRefTest.cpp39 : INHERITED(GetMyInfo(colorType)), fType(type), fReporter(reporter) { in TestImageGenerator()
52 REPORTER_ASSERT(fReporter, pixels != nullptr); in onGetPixels()
53 REPORTER_ASSERT(fReporter, rowBytes >= info.minRowBytes()); in onGetPixels()
84 skiatest::Reporter* const fReporter; member in TestImageGenerator
DPathOpsTightBoundsTest.cpp31 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsLines()
32 REPORTER_ASSERT(data->fReporter, classicBounds == tightBounds); in testTightBoundsLines()
81 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsQuads()
82 REPORTER_ASSERT(data->fReporter, classicBounds.contains(tightBounds)); in testTightBoundsQuads()
106 REPORTER_ASSERT(data->fReporter, tightOut.contains(bitsWritten)); in testTightBoundsQuads()
DPathOpsOpCircleThreadedTest.cpp35 if (state.fReporter->verbose()) { in testOpCirclesMain()
56 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain()
57 if (state.fReporter->verbose()) { in testOpCirclesMain()
DPathOpsOpCubicThreadedTest.cpp42 if (state.fReporter->verbose()) { in testOpCubicsMain()
67 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain()
68 if (state.fReporter->verbose()) { in testOpCubicsMain()
/external/skia/tests/
DPathOpsThreadedCommon.h34 skiatest::Reporter* fReporter; member
43 PathOpsThreadedTestRunner(skiatest::Reporter* reporter) : fReporter(reporter) {} in PathOpsThreadedTestRunner()
51 skiatest::Reporter* fReporter; variable
62 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
70 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
79 fState.fReporter = runner->fReporter; in PathOpsThreadedRunnable()
DSkSLDSLErrorLineNumbers.cpp28 , fReporter(reporter) { in ExpectErrorLineNumber()
33 REPORTER_ASSERT(fReporter, !fMsg); in ~ExpectErrorLineNumber()
38 REPORTER_ASSERT(fReporter, !strcmp(msg, fMsg), in handleError()
40 REPORTER_ASSERT(fReporter, pos); in handleError()
41 REPORTER_ASSERT(fReporter, pos->line() == fLine, in handleError()
49 skiatest::Reporter* fReporter; member in ExpectErrorLineNumber
DShaperTest.cpp24 skiatest::Reporter* fReporter; member
32 : fResource(resource), fReporter(reporter) {} in RunHandler()
50 REPORTER_ASSERT(fReporter, fGlyphCount == info.glyphCount, "%s", fResource); in commitRunBuffer()
51 REPORTER_ASSERT(fReporter, fRange.begin() == info.utf8Range.begin(), "%s", fResource); in commitRunBuffer()
52 REPORTER_ASSERT(fReporter, fRange.size() == info.utf8Range.size(), "%s", fResource); in commitRunBuffer()
54 REPORTER_ASSERT(fReporter, fClusters[i] >= fRange.begin(), in commitRunBuffer()
56 REPORTER_ASSERT(fReporter, fClusters[i] < fRange.end(), in commitRunBuffer()
DBlitMaskClip.cpp21 , fReporter(reporter) { } in TestBlitter()
25 REPORTER_ASSERT(fReporter, x >= fBounds.fLeft && x < fBounds.fRight); in blitH()
26 REPORTER_ASSERT(fReporter, y >= fBounds.fTop && y < fBounds.fBottom); in blitH()
28 REPORTER_ASSERT(fReporter, right > fBounds.fLeft && right <= fBounds.fRight); in blitH()
37 skiatest::Reporter* fReporter; member in TestBlitter
DPathOpsQuadLineIntersectionThreadedTest.cpp80 REPORTER_ASSERT(state.fReporter, data); in testQuadLineIntersectMain()
106 testLineIntersect(state.fReporter, quad, line, x, y); in testQuadLineIntersectMain()
107 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain()
109 testLineIntersect(state.fReporter, quad, line2, x, y); in testQuadLineIntersectMain()
110 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain()
112 testLineIntersect(state.fReporter, quad, line3, x, y); in testQuadLineIntersectMain()
113 state.fReporter->bumpTestCount(); in testQuadLineIntersectMain()
DLazyProxyTest.cpp32 : fReporter(reporter) in LazyProxyTest()
38 REPORTER_ASSERT(fReporter, fHasOpTexture); in ~LazyProxyTest()
39 REPORTER_ASSERT(fReporter, fHasClipTexture); in ~LazyProxyTest()
43 REPORTER_ASSERT(fReporter, !fHasOpTexture); in preFlush()
44 REPORTER_ASSERT(fReporter, !fHasClipTexture); in preFlush()
48 REPORTER_ASSERT(fReporter, fHasOpTexture); in postFlush()
49 REPORTER_ASSERT(fReporter, fHasClipTexture); in postFlush()
68 REPORTER_ASSERT(fTest->fReporter, fTest->fHasOpTexture); in onExecute()
69 REPORTER_ASSERT(fTest->fReporter, fTest->fHasClipTexture); in onExecute()
85 REPORTER_ASSERT(fTest->fReporter, !fTest->fHasOpTexture); in Op()
[all …]
DPathOpsSimplifyRectThreadedTest.cpp67 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
99 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
131 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
163 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
173 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
177 if (state.fReporter->verbose()) { in testSimplify4x4RectsMain()
DPathOpsOpRectThreadedTest.cpp49 if (state.fReporter->verbose()) { in testPathOpsRectsMain()
75 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsRectsMain()
76 if (state.fReporter->verbose()) { in testPathOpsRectsMain()
121 int step = data->fReporter->allowExtendedTest() ? 2 : 5; in testPathOpsFastMain()
143 if (state.fReporter->verbose()) { in testPathOpsFastMain()
165 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testPathOpsFastMain()
166 if (state.fReporter->verbose()) { in testPathOpsFastMain()
DCachedDecodingPixelRefTest.cpp38 : INHERITED(GetMyInfo(colorType)), fType(type), fReporter(reporter) { in TestImageGenerator()
51 REPORTER_ASSERT(fReporter, pixels != nullptr); in onGetPixels()
52 REPORTER_ASSERT(fReporter, rowBytes >= info.minRowBytes()); in onGetPixels()
83 skiatest::Reporter* const fReporter; member in TestImageGenerator
DSkDSLRuntimeEffectTest.cpp30 : fReporter(r) in DSLTestEffect()
58 REPORT_FAILURE(fReporter, "shader", SkString("Effect didn't produce a shader")); in test()
77 REPORT_FAILURE(fReporter, "readPixels", SkString("readPixels failed")); in test()
83 REPORT_FAILURE(fReporter, "Runtime effect didn't match expectations", in test()
98 skiatest::Reporter* fReporter; member in DSLTestEffect
DPathOpsOpCircleThreadedTest.cpp36 if (state.fReporter->verbose()) { in testOpCirclesMain()
57 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCirclesMain()
58 if (state.fReporter->verbose()) { in testOpCirclesMain()
DPathOpsTightBoundsTest.cpp30 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsLines()
31 REPORTER_ASSERT(data->fReporter, classicBounds == tightBounds); in testTightBoundsLines()
80 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds)); in testTightBoundsQuads()
81 REPORTER_ASSERT(data->fReporter, classicBounds.contains(tightBounds)); in testTightBoundsQuads()
105 REPORTER_ASSERT(data->fReporter, tightOut.contains(bitsWritten)); in testTightBoundsQuads()
DPathOpsOpCubicThreadedTest.cpp40 if (state.fReporter->verbose()) { in testOpCubicsMain()
65 if (!testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, testName.c_str())) { in testOpCubicsMain()
66 if (state.fReporter->verbose()) { in testOpCubicsMain()
/external/skia/modules/skottie/tests/
DImage.cpp68 , fReporter(r) { in DEF_TEST()
79 REPORTER_ASSERT(fReporter, t == fTest->t); in DEF_TEST()
86 skiatest::Reporter* fReporter; in DEF_TEST() member in DEF_TEST::TestImageAsset
93 , fReporter(r) {} in DEF_TEST()
97 return sk_make_sp<TestImageAsset>(fTest, fReporter); in DEF_TEST()
101 skiatest::Reporter* fReporter; in DEF_TEST() member in DEF_TEST::TestResourceProvider
DAudioLayer.cpp72 explicit MockResourceProvider(skiatest::Reporter* r) : fReporter(r) {} in DEF_TEST()
80 REPORTER_ASSERT(fReporter, !strcmp(path, "assets/")); in DEF_TEST()
81 REPORTER_ASSERT(fReporter, !strcmp(name, "audio.mp3")); in DEF_TEST()
82 REPORTER_ASSERT(fReporter, !strcmp(id , "audio_0")); in DEF_TEST()
89 skiatest::Reporter* fReporter; in DEF_TEST() member in DEF_TEST::MockResourceProvider

123