Home
last modified time | relevance | path

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

123

/third_party/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()
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
DSkSLDSLErrorLineNumbers.cpp29 , fReporter(reporter) in ExpectErrorLineNumber()
35 REPORTER_ASSERT(fReporter, !fMsg); in ~ExpectErrorLineNumber()
40 REPORTER_ASSERT(fReporter, msg == fMsg, in handleError()
43 REPORTER_ASSERT(fReporter, pos.line() == fLine, in handleError()
52 skiatest::Reporter* fReporter; member in ExpectErrorLineNumber
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.cpp35 : fReporter(reporter) in LazyProxyTest()
41 REPORTER_ASSERT(fReporter, fHasOpTexture); in ~LazyProxyTest()
42 REPORTER_ASSERT(fReporter, fHasClipTexture); in ~LazyProxyTest()
46 REPORTER_ASSERT(fReporter, !fHasOpTexture); in preFlush()
47 REPORTER_ASSERT(fReporter, !fHasClipTexture); in preFlush()
51 REPORTER_ASSERT(fReporter, fHasOpTexture); in postFlush()
52 REPORTER_ASSERT(fReporter, fHasClipTexture); in postFlush()
71 REPORTER_ASSERT(fTest->fReporter, fTest->fHasOpTexture); in onExecute()
72 REPORTER_ASSERT(fTest->fReporter, fTest->fHasClipTexture); in onExecute()
88 REPORTER_ASSERT(fTest->fReporter, !fTest->fHasOpTexture); in Op()
[all …]
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()
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()
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.cpp31 : fReporter(r) in DSLTestEffect()
44 REPORTER_ASSERT(fReporter, effect ? expectSuccess : !expectSuccess); in end()
64 REPORT_FAILURE(fReporter, "shader", SkString("Effect didn't produce a shader")); in test()
83 REPORT_FAILURE(fReporter, "readPixels", SkString("readPixels failed")); in test()
89 REPORT_FAILURE(fReporter, "Runtime effect didn't match expectations", in test()
104 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()
/third_party/flutter/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()
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()
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()
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()
DLazyProxyTest.cpp35 : fReporter(reporter) in LazyProxyTest()
41 REPORTER_ASSERT(fReporter, fHasOpTexture); in ~LazyProxyTest()
42 REPORTER_ASSERT(fReporter, fHasClipTexture); in ~LazyProxyTest()
47 REPORTER_ASSERT(fReporter, !fHasOpTexture); in preFlush()
48 REPORTER_ASSERT(fReporter, !fHasClipTexture); in preFlush()
52 REPORTER_ASSERT(fReporter, fHasOpTexture); in postFlush()
53 REPORTER_ASSERT(fReporter, fHasClipTexture); in postFlush()
74 REPORTER_ASSERT(fTest->fReporter, fTest->fHasOpTexture); in onExecute()
75 REPORTER_ASSERT(fTest->fReporter, fTest->fHasClipTexture); in onExecute()
90 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()
DTest.h58 ReporterContext(Reporter* reporter, const SkString& message) : fReporter(reporter) { in ReporterContext()
59 fReporter->push(message); in ReporterContext()
62 fReporter->pop(); in ~ReporterContext()
66 Reporter* fReporter;
/third_party/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