Home
last modified time | relevance | path

Searched refs:expectSuccess (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/tests/
DShadowTest.cpp23 ExpectVerts expectVerts, bool expectSuccess) { in check_result() argument
24 if (expectSuccess != SkToBool(verts)) { in check_result()
26 expectSuccess ? "succeed" : "fail"); in check_result()
38 const SkPoint3& heightParams, ExpectVerts expectVerts, bool expectSuccess) { in tessellate_shadow() argument
41 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
44 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
47 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
51 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
54 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
57 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
DPathOpsExtendedTest.cpp393 static void json_status(ExpectSuccess expectSuccess, ExpectMatch expectMatch, bool opSucceeded) { in json_status() argument
395 ExpectSuccess::kNo == expectSuccess ? "no" : in json_status()
396 ExpectSuccess::kYes == expectSuccess ? "yes" : "flaky"); in json_status()
462 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify() argument
477 if (ExpectSuccess::kYes == expectSuccess) { in inner_simplify()
482 json_status(expectSuccess, expectMatch, false); in inner_simplify()
487 if (ExpectSuccess::kNo == expectSuccess) { in inner_simplify()
492 json_status(expectSuccess, expectMatch, true); in inner_simplify()
533 const SkPathOp shapeOp, const char* testName, ExpectSuccess expectSuccess, in innerPathOp() argument
551 if (ExpectSuccess::kYes == expectSuccess) { in innerPathOp()
[all …]
DSkDSLRuntimeEffectTest.cpp40 void end(bool expectSuccess = true) { in end() argument
44 REPORTER_ASSERT(fReporter, effect ? expectSuccess : !expectSuccess); in end()
DReadPixelsTest.cpp349 bool expectSuccess = read_should_succeed(srcRect, bmp.info(), surfaceInfo); in test_readpixels() local
351 REPORTER_ASSERT(reporter, expectSuccess == success, in test_readpixels()
DWritePixelsTest.cpp409 bool expectSuccess = SkIRect::Intersects(canvasRect, writeRect) && in test_write_pixels() local
411 REPORTER_ASSERT(reporter, expectSuccess == (idBefore != idAfter)); in test_write_pixels()
/third_party/flutter/skia/tests/
DShadowTest.cpp22 ExpectVerts expectVerts, bool expectSuccess) { in check_result() argument
23 if (expectSuccess != SkToBool(verts)) { in check_result()
25 expectSuccess ? "succeed" : "fail"); in check_result()
37 const SkPoint3& heightParams, ExpectVerts expectVerts, bool expectSuccess) { in tessellate_shadow() argument
40 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
43 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
46 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
49 check_result(reporter, verts, expectVerts, expectSuccess); in tessellate_shadow()
DPathOpsExtendedTest.cpp485 static void json_status(ExpectSuccess expectSuccess, ExpectMatch expectMatch, bool opSucceeded) { in json_status() argument
487 ExpectSuccess::kNo == expectSuccess ? "no" : in json_status()
488 ExpectSuccess::kYes == expectSuccess ? "yes" : "flaky"); in json_status()
561 ExpectSuccess expectSuccess, SkipAssert skipAssert, ExpectMatch expectMatch) { in inner_simplify() argument
579 if (ExpectSuccess::kYes == expectSuccess) { in inner_simplify()
584 json_status(expectSuccess, expectMatch, false); in inner_simplify()
589 if (ExpectSuccess::kNo == expectSuccess) { in inner_simplify()
594 json_status(expectSuccess, expectMatch, true); in inner_simplify()
644 const SkPathOp shapeOp, const char* testName, ExpectSuccess expectSuccess, in innerPathOp() argument
665 if (ExpectSuccess::kYes == expectSuccess) { in innerPathOp()
[all …]
DBlurTest.cpp371 const bool expectSuccess = sigma > 0; in test_blurDrawLooper() local
378 REPORTER_ASSERT(reporter, success == expectSuccess); in test_blurDrawLooper()
390 SkBlurStyle style, bool expectSuccess) { in test_looper() argument
393 REPORTER_ASSERT(reporter, success == expectSuccess); in test_looper()
394 if (success != expectSuccess) { in test_looper()
421 SkScalar sigma, SkBlurStyle style, bool expectSuccess) { in test_layerDrawLooper() argument
438 test_looper(reporter, builder.detach(), sigma, style, expectSuccess); in test_layerDrawLooper()
DReadPixelsTest.cpp384 bool expectSuccess = read_should_succeed(srcRect, bmp.info(), surfaceInfo); in test_readpixels() local
386 REPORTER_ASSERT(reporter, expectSuccess == success, in test_readpixels()
450 auto expectSuccess = read_should_succeed(srcRect, bmp.info(), surfaceInfo); in test_readpixels_texture() local
452 reporter, expectSuccess == success, in test_readpixels_texture()
DWritePixelsTest.cpp409 bool expectSuccess = SkIRect::Intersects(canvasRect, writeRect) && in test_write_pixels() local
411 REPORTER_ASSERT(reporter, expectSuccess == (idBefore != idAfter)); in test_write_pixels()
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
DSynthTest.java50 private void checkSynth(byte[] compressed, boolean expectSuccess, in checkSynth() argument
55 if (!expectSuccess) { in checkSynth()
60 if (expectSuccess) { in checkSynth()
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/
DSynthTest.cs35 private void CheckSynth(byte[] compressed, bool expectSuccess, string expectedOutput) in CheckSynth() argument
41 if (!expectSuccess) in CheckSynth()
49 if (expectSuccess) in CheckSynth()
/third_party/flutter/skia/modules/pathkit/tests/
Dpathops.spec.js134 if (test.expectSuccess === 'no') {
189 if (test.expectSuccess === 'no') {
/third_party/skia/modules/pathkit/tests/
Dpathops.spec.js134 if (test.expectSuccess === 'no') {
189 if (test.expectSuccess === 'no') {
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DGLSLTest.cpp339 bool expectSuccess) in VaryingTestBase() argument
351 if (expectSuccess) in VaryingTestBase()
365 bool expectSuccess) in CompileGLSLWithUniformsAndSamplers() argument
436 if (expectSuccess) in CompileGLSLWithUniformsAndSamplers()
/third_party/vk-gl-cts/android/cts/runner/tests/src/com/drawelements/deqp/runner/
DDeqpTestRunnerTest.java1485 private void testRecoveryWithPattern(boolean expectSuccess, RecoveryEvent...pattern) in testRecoveryWithPattern() argument
1502 if (!expectSuccess) { in testRecoveryWithPattern()
1506 if (expectSuccess) { in testRecoveryWithPattern()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DGLSLTest.cpp340 bool expectSuccess) in VaryingTestBase() argument
352 if (expectSuccess) in VaryingTestBase()
366 bool expectSuccess) in CompileGLSLWithUniformsAndSamplers() argument
437 if (expectSuccess) in CompileGLSLWithUniformsAndSamplers()