Home
last modified time | relevance | path

Searched refs:reporter (Results 176 - 200 of 417) sorted by relevance

12345678910>>...17

/third_party/skia/tests/
H A DUnicodeTest.cpp16 DEF_TEST(Unicode_textencodings, reporter) { in DEF_TEST()
39 REPORTER_ASSERT(reporter, (int)len8 == count8); in DEF_TEST()
40 REPORTER_ASSERT(reporter, (int)len8 == count16); in DEF_TEST()
41 REPORTER_ASSERT(reporter, (int)len8 == count32); in DEF_TEST()
43 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_t))); in DEF_TEST()
44 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_t))); in DEF_TEST()
50 DEF_TEST(glyphs_to_unichars, reporter) { in DEF_TEST()
64 REPORTER_ASSERT(reporter, memcmp(uni, uni2, sizeof(uni)) == 0); in DEF_TEST()
H A DGrDDLImageTest.cpp14 DEF_GPUTEST(GrDDLImage_MakeSubset, reporter, options) { in DEF_GPUTEST()
32 REPORTER_ASSERT(reporter, rasterImg->isValid(static_cast<GrRecordingContext*>(nullptr))); in DEF_GPUTEST()
36 REPORTER_ASSERT(reporter, subImg1->isValid(dContext)); in DEF_GPUTEST()
40 REPORTER_ASSERT(reporter, subImg2->isValid(static_cast<GrRecordingContext*>(nullptr))); in DEF_GPUTEST()
45 REPORTER_ASSERT(reporter, surf->characterize(&sc)); in DEF_GPUTEST()
52 REPORTER_ASSERT(reporter, gpuImage->isValid(dContext)); in DEF_GPUTEST()
56 REPORTER_ASSERT(reporter, subImg5->isValid(dContext)); in DEF_GPUTEST()
59 REPORTER_ASSERT(reporter, !gpuImage->makeSubset(subsetBounds, nullptr)); in DEF_GPUTEST()
H A DPathOpsBoundsTest.cpp32 DEF_TEST(PathOpsBounds, reporter) { in DEF_TEST()
39 REPORTER_ASSERT(reporter, touches); in DEF_TEST()
47 REPORTER_ASSERT(reporter, !touches); in DEF_TEST()
54 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
59 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
63 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
69 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
73 REPORTER_ASSERT(reporter, bounds == expected); in DEF_TEST()
H A DPathOpsQuadIntersectionTest.cpp14 static void standardTestCases(skiatest::Reporter* reporter) { in standardTestCases() argument
51 REPORTER_ASSERT(reporter, 0); in standardTestCases()
335 static void oneOffTest1(skiatest::Reporter* reporter, size_t outer, size_t inner) { in oneOffTest1() argument
355 REPORTER_ASSERT(reporter, 0); in oneOffTest1()
364 static void oneOffTests(skiatest::Reporter* reporter) { in oneOffTests() argument
367 oneOffTest1(reporter, outer, inner); in oneOffTests()
387 static void coincidentTestOne(skiatest::Reporter* reporter, int test1, int test2) { in coincidentTestOne() argument
398 REPORTER_ASSERT(reporter, intersections2.debugCoincidentUsed() >= 2); in coincidentTestOne()
399 REPORTER_ASSERT(reporter, intersections2.used() >= 2); in coincidentTestOne()
405 REPORTER_ASSERT(reporter, pt in coincidentTestOne()
409 coincidentTest(skiatest::Reporter* reporter) coincidentTest() argument
[all...]
H A DBitmapCopyTest.cpp83 DEF_TEST(BitmapCopy_extractSubset, reporter) { in DEF_TEST()
97 REPORTER_ASSERT(reporter, subset.width() == W); in DEF_TEST()
98 REPORTER_ASSERT(reporter, subset.height() == 2); in DEF_TEST()
99 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType()); in DEF_TEST()
108 REPORTER_ASSERT(reporter, gPairs[i].fColorType != gPairs[j].fColorType); in DEF_TEST()
114 REPORTER_ASSERT(reporter, copy.getGenerationID() != subset.getGenerationID()); in DEF_TEST()
116 REPORTER_ASSERT(reporter, copy.width() == W); in DEF_TEST()
117 REPORTER_ASSERT(reporter, copy.height() == 2); in DEF_TEST()
123 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType()); in DEF_TEST()
161 DEF_TEST(BitmapReadPixels, reporter) {
[all...]
H A DRecorderTest.cpp73 DEF_TEST(Recorder_drawImage_takeReference, reporter) { in DEF_TEST()
88 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
93 REPORTER_ASSERT(reporter, 1 == tally.count<SkRecords::DrawImage>()); in DEF_TEST()
95 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
104 REPORTER_ASSERT(reporter, !image->unique()); in DEF_TEST()
109 REPORTER_ASSERT(reporter, 1 == tally.count<SkRecords::DrawImageRect>()); in DEF_TEST()
111 REPORTER_ASSERT(reporter, image->unique()); in DEF_TEST()
115 DEF_TEST(Recorder_boundsOverflow, reporter) { in DEF_TEST()
120 REPORTER_ASSERT(reporter, recorder.imageInfo().width() > 0 && in DEF_TEST()
H A DColorFilterTest.cpp41 DEF_TEST(ColorFilter, reporter) { in DEF_TEST()
58 REPORTER_ASSERT(reporter, cf); in DEF_TEST()
68 REPORTER_ASSERT(reporter, cf->asAColorMode(&c, (SkBlendMode*)&m)); in DEF_TEST()
81 REPORTER_ASSERT(reporter, c == expectedColor); in DEF_TEST()
82 REPORTER_ASSERT(reporter, m == expectedMode); in DEF_TEST()
86 REPORTER_ASSERT(reporter, cf2); in DEF_TEST()
90 REPORTER_ASSERT(reporter, cf2->asAColorMode(&c2, (SkBlendMode*)&m2)); in DEF_TEST()
91 REPORTER_ASSERT(reporter, c2 == expectedColor); in DEF_TEST()
92 REPORTER_ASSERT(reporter, m2 == expectedMode); in DEF_TEST()
H A DSkGlyphTest.cpp11 DEF_TEST(SkGlyphRectBasic, reporter) { in DEF_TEST()
14 REPORTER_ASSERT(reporter, !r.empty()); in DEF_TEST()
16 REPORTER_ASSERT(reporter, a.iRect() == SkIRect::MakeLTRB(1, 1, 10, 10)); in DEF_TEST()
19 REPORTER_ASSERT(reporter, a.iRect() == SkIRect::MakeLTRB(1, 1, 10, 10)); in DEF_TEST()
27 REPORTER_ASSERT(reporter, acc.iRect() == SkIRect::MakeLTRB(9, 9, 10, 10)); in DEF_TEST()
35 REPORTER_ASSERT(reporter, acc.iRect() == SkIRect::MakeLTRB(-10, -10, 29, 29)); in DEF_TEST()
H A DPathOpsConicLineIntersectionTest.cpp73 static void testOneOffs(skiatest::Reporter* reporter) { in testOneOffs() argument
92 REPORTER_ASSERT(reporter, conicXY.approximatelyEqual(lineXY)); in testOneOffs()
97 DEF_TEST(PathOpsConicLineIntersectionOneOff, reporter) { in DEF_TEST()
98 testOneOffs(reporter); in DEF_TEST()
101 DEF_TEST(PathOpsConicLineIntersection, reporter) { in DEF_TEST()
119 REPORTER_ASSERT(reporter, 0); in DEF_TEST()
124 REPORTER_ASSERT(reporter, 0); in DEF_TEST()
129 REPORTER_ASSERT(reporter, result == lineConicTests[index].result); in DEF_TEST()
135 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1); in DEF_TEST()
138 REPORTER_ASSERT(reporter, tt in DEF_TEST()
[all...]
H A DSkSLCross.cpp20 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SkSLCross, reporter, ctxInfo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
25 ERRORF(reporter, "could not create render target context."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
28 run_test(reporter, dContext, sdc.get(), {3,4}, {5,6}, -2); // Negative. in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
29 run_test(reporter, dContext, sdc.get(), {3,4}, {-5,-6}, 2); // Positive. in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
30 run_test(reporter, dContext, sdc.get(), {0, 2.287f}, {0, -7.741f}, 0); // Zero. in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
31 run_test(reporter, dContext, sdc.get(), {62.17f, 0}, {-43.49f, 0}, 0); // Zero. in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
92 static void run_test(skiatest::Reporter* reporter, GrDirectContext* directContext, in run_test() argument
115 REPORTER_ASSERT(reporter, result == GrColorPackRGBA(0, 255, 0, 255)); // Green. in run_test()
117 REPORTER_ASSERT(reporter, result == GrColorPackRGBA(255, 0, 0, 255)); // Red. in run_test()
119 REPORTER_ASSERT(reporter, resul in run_test()
[all...]
H A DMultiPictureDocumentTest.cpp84 DEF_TEST(SkMultiPictureDocument_Serialize_and_deserialize, reporter) { in DEF_TEST()
105 REPORTER_ASSERT(reporter, image); in DEF_TEST()
130 REPORTER_ASSERT(reporter, writtenStream->getLength() > 24, in DEF_TEST()
142 REPORTER_ASSERT(reporter, frame_count == NUM_FRAMES, in DEF_TEST()
148 REPORTER_ASSERT(reporter, in DEF_TEST()
156 REPORTER_ASSERT(reporter, bounds.width() == WIDTH, in DEF_TEST()
158 REPORTER_ASSERT(reporter, bounds.height() == HEIGHT, in DEF_TEST()
164 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), expectedImages[i].get())); in DEF_TEST()
234 skiatest::Reporter* reporter, GrDirectContext* context, AHardwareBuffer* buffer) { in makeAHardwareBufferTestImage()
252 ERRORF(reporter, "Faile in makeAHardwareBufferTestImage()
233 makeAHardwareBufferTestImage( skiatest::Reporter* reporter, GrDirectContext* context, AHardwareBuffer* buffer) makeAHardwareBufferTestImage() argument
[all...]
H A DDrawPathTest.cpp28 static void test_big_aa_rect(skiatest::Reporter* reporter) { in test_big_aa_rect() argument
42 REPORTER_ASSERT(reporter, 0 == pixel[0]); in test_big_aa_rect()
44 REPORTER_ASSERT(reporter, false, "readPixels failed"); in test_big_aa_rect()
57 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]); in test_big_aa_rect()
59 REPORTER_ASSERT(reporter, false, "readPixels failed"); in test_big_aa_rect()
129 static void test_crbug_1239558(skiatest::Reporter* reporter) { in test_crbug_1239558() argument
171 REPORTER_ASSERT(reporter, false, "drawPath modified incorrect pixels"); in test_crbug_1239558()
334 static void test_infinite_dash(skiatest::Reporter* reporter) { in test_infinite_dash() argument
349 REPORTER_ASSERT(reporter, true); in test_infinite_dash()
354 static void test_crbug_165432(skiatest::Reporter* reporter) { in test_crbug_165432() argument
374 test_crbug_472147_simple(skiatest::Reporter* reporter) test_crbug_472147_simple() argument
389 test_crbug_472147_actual(skiatest::Reporter* reporter) test_crbug_472147_actual() argument
[all...]
H A DTextBlobCacheTest.cpp66 static void text_blob_cache_inner(skiatest::Reporter* reporter, GrDirectContext* dContext, in text_blob_cache_inner() argument
82 REPORTER_ASSERT(reporter, surface); in text_blob_cache_inner()
151 REPORTER_ASSERT(reporter, surface); in text_blob_cache_inner()
175 DEF_GPUTEST_FOR_MOCK_CONTEXT(TextBlobCache, reporter, ctxInfo) { in DEF_GPUTEST_FOR_MOCK_CONTEXT()
176 text_blob_cache_inner(reporter, ctxInfo.directContext(), 1024, 256, 30, true, true); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
179 DEF_GPUTEST_FOR_MOCK_CONTEXT(TextBlobCache, reporter, ctxInfo) { in DEF_GPUTEST_FOR_MOCK_CONTEXT()
180 text_blob_cache_inner(reporter, ctxInfo.directContext(), 1024, 256, 30, true, false); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
184 DEF_GPUTEST_FOR_MOCK_CONTEXT(TextBlobStressCache, reporter, ctxInfo) { in DEF_GPUTEST_FOR_MOCK_CONTEXT()
185 text_blob_cache_inner(reporter, ctxInfo.directContext(), 256, 256, 10, true, true); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
189 DEF_GPUTEST_FOR_MOCK_CONTEXT(TextBlobAbnormal, reporter, ctxInf
[all...]
H A DStrokerTest.cpp120 DEF_TEST(QuadStrokerSet, reporter) { in DEF_TEST()
127 DEF_TEST(CubicStrokerSet, reporter) { in DEF_TEST()
148 DEF_TEST(QuadStrokerUnbounded, reporter) { in DEF_TEST()
165 if (reporter->verbose()) { in DEF_TEST()
180 if (reporter->verbose()) { in DEF_TEST()
186 DEF_TEST(CubicStrokerUnbounded, reporter) { in DEF_TEST()
205 if (reporter->verbose()) { in DEF_TEST()
221 if (reporter->verbose()) { in DEF_TEST()
227 DEF_TEST(QuadStrokerConstrained, reporter) { in DEF_TEST()
257 if (reporter in DEF_TEST()
[all...]
H A DSurfaceSemaphoreTest.cpp40 void check_pixels(skiatest::Reporter* reporter, const SkBitmap& bitmap) { in check_pixels() argument
59 ERRORF(reporter, "Wrong color at %d, %d. Got 0x%08x when we expected 0x%08x", in check_pixels()
66 void draw_child(skiatest::Reporter* reporter, in draw_child() argument
107 check_pixels(reporter, bitmap); in draw_child()
112 void surface_semaphore_test(skiatest::Reporter* reporter, in surface_semaphore_test() argument
173 draw_child(reporter, childInfo1, backendTexture, semaphores[0]); in surface_semaphore_test()
184 draw_child(reporter, childInfo2, backendTexture, semaphores[1]); in surface_semaphore_test()
188 DEF_GPUTEST(SurfaceSemaphores, reporter, options) { in DEF_GPUTEST()
213 reporter, SkString(sk_gpu_test::GrContextFactory::ContextTypeName(contextType))); in DEF_GPUTEST()
223 surface_semaphore_test(reporter, ctxInf in DEF_GPUTEST()
[all...]
H A DPathOpsDRectTest.cpp44 DEF_TEST(PathOpsDRect, reporter) { in DEF_TEST()
54 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST()
57 REPORTER_ASSERT(reporter, rect.contains(leftTop)); in DEF_TEST()
59 REPORTER_ASSERT(reporter, rect.contains(rightBottom)); in DEF_TEST()
68 REPORTER_ASSERT(reporter, rect.intersects(rect2)); in DEF_TEST()
71 REPORTER_ASSERT(reporter, rect.contains(leftTop)); in DEF_TEST()
73 REPORTER_ASSERT(reporter, rect.contains(rightBottom)); in DEF_TEST()
H A DBackendAllocationTest.cpp41 skiatest::Reporter* reporter, in test_wrapping()
54 ERRORF(reporter, "Couldn't create backendTexture for grColorType %d renderable %s\n", in test_wrapping()
61 REPORTER_ASSERT(reporter, initialCount == cache->getResourceCount()); in test_wrapping()
89 ERRORF(reporter, "Couldn't make SkSurface from backendTexture for %s\n", in test_wrapping()
92 REPORTER_ASSERT(reporter, in test_wrapping()
105 ERRORF(reporter, "Couldn't make SkImage from backendTexture for %s\n", in test_wrapping()
109 REPORTER_ASSERT(reporter, proxy); in test_wrapping()
111 REPORTER_ASSERT(reporter, mipMapped == proxy->proxyMipmapped()); in test_wrapping()
112 REPORTER_ASSERT(reporter, proxy->isInstantiated()); in test_wrapping()
113 REPORTER_ASSERT(reporter, mipMappe in test_wrapping()
40 test_wrapping(GrDirectContext* dContext, skiatest::Reporter* reporter, std::function<sk_sp<ManagedBackendTexture>(GrDirectContext*, GrMipmapped, GrRenderable)> create, GrColorType grColorType, GrMipmapped mipMapped, GrRenderable renderable) test_wrapping() argument
201 check_solid_pixmap(skiatest::Reporter* reporter, const SkColor4f& expected, const SkPixmap& actual, GrColorType ct, const char* label1, const char* label2) check_solid_pixmap() argument
242 check_base_readbacks(GrDirectContext* dContext, const GrBackendTexture& backendTex, GrColorType colorType, GrRenderable renderableTexture, const SkColor4f& color, skiatest::Reporter* reporter, const char* label) check_base_readbacks() argument
308 test_color_init(GrDirectContext* dContext, skiatest::Reporter* reporter, std::function<sk_sp<ManagedBackendTexture>(GrDirectContext*, const SkColor4f&, GrMipmapped, GrRenderable)> create, GrColorType colorType, const SkColor4f& color, GrMipmapped mipmapped, GrRenderable renderable) test_color_init() argument
356 check_mipmaps(GrDirectContext* dContext, const GrBackendTexture& backendTex, GrColorType colorType, const SkColor4f expectedColors[6], skiatest::Reporter* reporter, const char* label) check_mipmaps() argument
465 test_pixmap_init(GrDirectContext* dContext, skiatest::Reporter* reporter, std::function<sk_sp<ManagedBackendTexture>(GrDirectContext*, const SkPixmap srcData[], int numLevels, GrSurfaceOrigin, GrRenderable)> create, SkColorType skColorType, GrSurfaceOrigin origin, GrMipmapped mipmapped, GrRenderable renderable) test_pixmap_init() argument
560 color_type_backend_allocation_test(const sk_gpu_test::ContextInfo& ctxInfo, skiatest::Reporter* reporter) color_type_backend_allocation_test() argument
[all...]
H A DSkBase64Test.cpp13 DEF_TEST(SkBase64, reporter) { in DEF_TEST()
36 REPORT_FAILURE(reporter, "err", SkString("SkBase64::Decode failed!")); in DEF_TEST()
39 REPORTER_ASSERT(reporter, decodeLength == length); in DEF_TEST()
44 REPORT_FAILURE(reporter, "err", SkString("SkBase64::Decode failed!")); in DEF_TEST()
47 REPORTER_ASSERT(reporter, decodeLength == length); in DEF_TEST()
49 REPORTER_ASSERT(reporter, (strcmp((const char*) (all + offset), dst.get()) == 0)); in DEF_TEST()
H A DGrMemoryPoolTest.cpp175 DEF_TEST(GrMemoryPool, reporter) { in DEF_TEST()
211 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
218 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
223 REPORTER_ASSERT(reporter, rec.fInstance->checkValues(rec.fValue)); in DEF_TEST()
249 DEF_TEST(GrMemoryPoolAPI, reporter) { in DEF_TEST()
263 REPORTER_ASSERT(reporter, pool->preallocSize() == kSmallestMinAllocSize); in DEF_TEST()
272 REPORTER_ASSERT(reporter, pool->size() == kSmallestMinAllocSize); in DEF_TEST()
279 REPORTER_ASSERT(reporter, pool->preallocSize() == kPreallocSize); in DEF_TEST()
287 REPORTER_ASSERT(reporter, pool->size() == 0); in DEF_TEST()
290 REPORTER_ASSERT(reporter, poo in DEF_TEST()
[all...]
H A DVkPriorityExtensionTest.cpp51 DEF_GPUTEST(VulkanPriorityExtension, reporter, options) { in DEF_GPUTEST()
74 ERRORF(reporter, "failed ot enumerate instance version. Err: %d", err); in DEF_GPUTEST()
118 ERRORF(reporter, "Failed to create VkInstance"); in DEF_GPUTEST()
134 ERRORF(reporter, "vkEnumeratePhysicalDevices failed: %d", err); in DEF_GPUTEST()
139 ERRORF(reporter, "vkEnumeratePhysicalDevices returned no supported devices."); in DEF_GPUTEST()
149 ERRORF(reporter, "vkEnumeratePhysicalDevices failed: %d", err); in DEF_GPUTEST()
158 ERRORF(reporter, "vkGetPhysicalDeviceQueueFamilyProperties returned no queues."); in DEF_GPUTEST()
178 ERRORF(reporter, "Could not find any supported graphics queues."); in DEF_GPUTEST()
197 ERRORF(reporter, "Could not enumerate device extension properties."); in DEF_GPUTEST()
205 ERRORF(reporter, "Coul in DEF_GPUTEST()
[all...]
H A DFontNamesTest.cpp117 static void test_synthetic(skiatest::Reporter* reporter, bool verbose) { in test_synthetic() argument
123 REPORTER_ASSERT(reporter, in test_synthetic()
127 REPORTER_ASSERT(reporter, in test_synthetic()
138 REPORTER_ASSERT(reporter, nameIndex == test.nameCount, "Fewer names than expected."); in test_synthetic()
140 REPORTER_ASSERT(reporter, !iter.next(record), "More names than expected."); in test_synthetic()
145 static void test_systemfonts(skiatest::Reporter* reporter, bool verbose) { in test_systemfonts() argument
190 reporter, in test_systemfonts()
202 reporter, in test_systemfonts()
221 DEF_TEST(FontNames, reporter) { in DEF_TEST()
222 test_synthetic(reporter, FLAGS_verboseFontName in DEF_TEST()
[all...]
H A DTransferPixelsTest.cpp107 void basic_transfer_to_test(skiatest::Reporter* reporter, in basic_transfer_to_test() argument
133 ERRORF(reporter, "Could not create texture"); in basic_transfer_to_test()
175 ERRORF(reporter, "Could not map buffer"); in basic_transfer_to_test()
192 REPORTER_ASSERT(reporter, result); in basic_transfer_to_test()
200 ERRORF(reporter, "Could not read pixels from texture, color type: %d", in basic_transfer_to_test()
206 [reporter, colorType](int x, int y, const float diffs[4]) { in basic_transfer_to_test()
207 ERRORF(reporter, in basic_transfer_to_test()
265 ERRORF(reporter, "Could not transfer pixels to texture, color type: %d", in basic_transfer_to_test()
272 ERRORF(reporter, "Could not read pixels from texture, color type: %d", in basic_transfer_to_test()
282 void basic_transfer_from_test(skiatest::Reporter* reporter, cons argument
[all...]
H A DPictureBBHTest.cpp31 void run(skiatest::Reporter* reporter) { in run() argument
33 this->run(nullptr, reporter); in run()
37 this->run(&RTreeFactory, reporter); in run()
41 void run(SkBBHFactory* factory, skiatest::Reporter* reporter) { in run() argument
51 REPORTER_ASSERT(reporter, SK_ColorGREEN == fResultBitmap.getColor(0, 0)); in run()
87 DEF_TEST(PictureBBH, reporter) { in DEF_TEST()
90 emptyPictureTest.run(reporter); in DEF_TEST()
93 emptyClipPictureTest.run(reporter); in DEF_TEST()
H A DPathOpsSimplifyFailTest.cpp41 static void failOne(skiatest::Reporter* reporter, int index) { in failOne() argument
64 REPORTER_ASSERT(reporter, !success); in failOne()
65 REPORTER_ASSERT(reporter, result.isEmpty()); in failOne()
66 REPORTER_ASSERT(reporter, result.getFillType() == SkPathFillType::kWinding); in failOne()
67 reporter->bumpTestCount(); in failOne()
70 static void dontFailOne(skiatest::Reporter* reporter, int index) { in dontFailOne() argument
90 REPORTER_ASSERT(reporter, success); in dontFailOne()
91 REPORTER_ASSERT(reporter, result.getFillType() != SkPathFillType::kWinding); in dontFailOne()
92 reporter->bumpTestCount(); in dontFailOne()
95 static void fuzz_59(skiatest::Reporter* reporter, cons argument
107 fuzz_x1(skiatest::Reporter* reporter, const char* filename) fuzz_x1() argument
117 fuzz_x2(skiatest::Reporter* reporter, const char* filename) fuzz_x2() argument
127 fuzz763_1(skiatest::Reporter* reporter, const char* filename) fuzz763_1() argument
157 fuzz763_2s(skiatest::Reporter* reporter, const char* filename) fuzz763_2s() argument
216 fuzz_x3(skiatest::Reporter* reporter, const char* filename) fuzz_x3() argument
227 fuzz_k1(skiatest::Reporter* reporter, const char* filename) fuzz_k1() argument
[all...]
/third_party/skia/experimental/sktext/tests/
H A DShapedText.cpp41 UNIX_ONLY_TEST(SkText_ShapedText_LTR, reporter) { in UNIX_ONLY_TEST()
55 REPORTER_ASSERT(reporter, logicalRuns.size() == 3); in UNIX_ONLY_TEST()
56 REPORTER_ASSERT(reporter, logicalRuns[1].getRunType() == LogicalRunType::kLineBreak); in UNIX_ONLY_TEST()
57 REPORTER_ASSERT(reporter, logicalRuns[1].getTextRange() == TextRange(newLine, newLine + 1)); in UNIX_ONLY_TEST()
60 UNIX_ONLY_TEST(SkText_ShapedText_RTL, reporter) { in UNIX_ONLY_TEST()
74 REPORTER_ASSERT(reporter, logicalRuns.size() == 3); in UNIX_ONLY_TEST()
75 REPORTER_ASSERT(reporter, logicalRuns[1].getRunType() == LogicalRunType::kLineBreak); in UNIX_ONLY_TEST()
76 REPORTER_ASSERT(reporter, logicalRuns[1].getTextRange() == TextRange(newLine, newLine + 1)); in UNIX_ONLY_TEST()

Completed in 11 milliseconds

12345678910>>...17