HomeSort by relevance Sort by last modified time
    Searched refs:Reporter (Results 251 - 275 of 712) sorted by null

<<11121314151617181920>>

  /external/skia/tests/
ImageCacheTest.cpp 45 static void test_cache(skiatest::Reporter* reporter, SkResourceCache& cache, bool testPurge) {
50 REPORTER_ASSERT(reporter, !cache.find(key, TestingRec::Visitor, &value));
51 REPORTER_ASSERT(reporter, -1 == value);
55 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value));
56 REPORTER_ASSERT(reporter, i == value);
76 static void test_cache_purge_shared_id(skiatest::Reporter* reporter, SkResourceCache& cache) {
87 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value));
88 REPORTER_ASSERT(reporter, value == i)
    [all...]
ImageIsOpaqueTest.cpp 21 static void test_flatten(skiatest::Reporter* reporter, const SkImageInfo& info) {
36 REPORTER_ASSERT(reporter, rb.offset() == wb.bytesWritten());
38 REPORTER_ASSERT(reporter, info == info2);
41 DEF_TEST(ImageInfo_flattening, reporter) {
67 test_flatten(reporter, info);
73 static void check_isopaque(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface,
76 REPORTER_ASSERT(reporter, image->isOpaque() == expectedOpaque);
79 DEF_TEST(ImageIsOpaqueTest, reporter) {
    [all...]
PaintImageFilterTest.cpp 15 static void test_unscaled(skiatest::Reporter* reporter) {
56 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr);
61 static void test_scaled(skiatest::Reporter* reporter) {
104 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr);
109 DEF_TEST(PaintImageFilter, reporter) {
110 test_unscaled(reporter);
111 test_scaled(reporter);
PathCoverageTest.cpp 112 skiatest::Reporter* reporter) {
139 ERRORF(reporter, "Curve from %.2f %.2f through %.2f %.2f to "
152 static void TestQuadPointCount(skiatest::Reporter* reporter) {
153 one_d_pe(gXY, SK_ARRAY_COUNT(gXY), reporter);
154 one_d_pe(gSawtooth, SK_ARRAY_COUNT(gSawtooth), reporter);
155 one_d_pe(gOvalish, SK_ARRAY_COUNT(gOvalish), reporter);
156 one_d_pe(gSharpSawtooth, SK_ARRAY_COUNT(gSharpSawtooth), reporter);
157 one_d_pe(gRibbon, SK_ARRAY_COUNT(gRibbon), reporter);
    [all...]
SVGDeviceTest.cpp 25 void check_text_node(skiatest::Reporter* reporter,
32 ERRORF(reporter, "root element not found.");
38 ERRORF(reporter, "<text> element not found.");
41 REPORTER_ASSERT(reporter, dom.getType(textElem) == SkDOM::kElement_Type);
44 REPORTER_ASSERT(reporter, textNode != nullptr);
46 REPORTER_ASSERT(reporter, dom.getType(textNode) == SkDOM::kText_Type);
47 REPORTER_ASSERT(reporter, strcmp(expected, dom.getName(textNode)) == 0);
53 REPORTER_ASSERT(reporter, x != nullptr);
56 REPORTER_ASSERT(reporter, SkParse::Count(x) == xposCount)
    [all...]
ColorFilterTest.cpp 39 static void test_composecolorfilter_limit(skiatest::Reporter* reporter) {
47 REPORTER_ASSERT(reporter, i > 2); // we need to have succeeded at least once!
51 REPORTER_ASSERT(reporter, false); // we never saw a nullptr :(
56 DEF_TEST(ColorFilter, reporter) {
73 REPORTER_ASSERT(reporter, cf);
83 REPORTER_ASSERT(reporter, cf->asColorMode(&c, (SkBlendMode*)&m));
96 REPORTER_ASSERT(reporter, c == expectedColor);
97 REPORTER_ASSERT(reporter, m == expectedMode);
101 REPORTER_ASSERT(reporter, cf2)
    [all...]
PathOpsConicQuadIntersectionTest.cpp 27 static void conicQuadIntersection(skiatest::Reporter* reporter, int index) {
42 REPORTER_ASSERT(reporter, 0);
46 REPORTER_ASSERT(reporter, 0);
59 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
61 reporter->bumpTestCount();
64 DEF_TEST(PathOpsConicQuadIntersection, reporter) {
66 conicQuadIntersection(reporter, index);
67 reporter->bumpTestCount();
71 DEF_TEST(PathOpsConicQuadIntersectionOneOff, reporter) {
    [all...]
PathOpsCubicConicIntersectionTest.cpp 31 static void cubicConicIntersection(skiatest::Reporter* reporter, int index) {
46 REPORTER_ASSERT(reporter, 0);
50 REPORTER_ASSERT(reporter, 0);
63 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
65 reporter->bumpTestCount();
68 DEF_TEST(PathOpsCubicConicIntersection, reporter) {
70 cubicConicIntersection(reporter, index);
71 reporter->bumpTestCount();
75 DEF_TEST(PathOpsCubicConicIntersectionOneOff, reporter) {
    [all...]
PathOpsCubicQuadIntersectionTest.cpp 54 static void cubicQuadIntersection(skiatest::Reporter* reporter, int index) {
70 REPORTER_ASSERT(reporter, 0);
74 REPORTER_ASSERT(reporter, 0);
87 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
89 reporter->bumpTestCount();
92 DEF_TEST(PathOpsCubicQuadIntersection, reporter) {
94 cubicQuadIntersection(reporter, index);
95 reporter->bumpTestCount();
99 DEF_TEST(PathOpsCubicQuadIntersectionOneOff, reporter) {
    [all...]
PathOpsThreeWayTest.cpp 42 static void testSetTest(skiatest::Reporter* reporter, int index) {
74 DEF_TEST(PathOpsThreeWay, reporter) {
76 testSetTest(reporter, index);
77 reporter->bumpTestCount();
81 DEF_TEST(PathOpsThreeWayOneOff, reporter) {
83 testSetTest(reporter, index);
SpecialSurfaceTest.cpp 34 skiatest::Reporter* reporter,
38 REPORTER_ASSERT(reporter, offset == surfSubset.fLeft);
39 REPORTER_ASSERT(reporter, offset == surfSubset.fTop);
40 REPORTER_ASSERT(reporter, kSmallerSize == surfSubset.width());
41 REPORTER_ASSERT(reporter, kSmallerSize == surfSubset.height());
49 REPORTER_ASSERT(reporter, img);
52 REPORTER_ASSERT(reporter, surfSubset == imgSubset);
55 REPORTER_ASSERT(reporter, !surf->getCanvas());
58 DEF_TEST(SpecialSurface_Raster, reporter) {
    [all...]
UtilsTest.cpp 28 static void test_autounref(skiatest::Reporter* reporter) {
30 REPORTER_ASSERT(reporter, obj.unique());
33 REPORTER_ASSERT(reporter, &obj == tmp.get());
34 REPORTER_ASSERT(reporter, obj.unique());
36 REPORTER_ASSERT(reporter, &obj == tmp.release());
37 REPORTER_ASSERT(reporter, obj.unique());
38 REPORTER_ASSERT(reporter, nullptr == tmp.release());
39 REPORTER_ASSERT(reporter, nullptr == tmp.get());
42 REPORTER_ASSERT(reporter, !obj.unique())
    [all...]
  /external/skqp/tests/
DeviceLooperTest.cpp 40 static void test_simple(skiatest::Reporter* reporter) {
52 REPORTER_ASSERT(reporter, valid);
54 REPORTER_ASSERT(reporter, looper.getPixmap().width() == pmap.width());
55 REPORTER_ASSERT(reporter, looper.getPixmap().height() == pmap.height());
56 REPORTER_ASSERT(reporter, equal(looper.getRC(), rc));
58 REPORTER_ASSERT(reporter, !looper.next());
66 REPORTER_ASSERT(reporter, !looper.next());
95 static void test_complex(skiatest::Reporter* reporter) {
    [all...]
FontObjTest.cpp 25 static void test_cachedfont(skiatest::Reporter* reporter, const SkPaint& paint) {
30 REPORTER_ASSERT(reporter, font->getTypeface() == paint.getTypeface());
32 REPORTER_ASSERT(reporter, font->getSize() == paint.getTextSize());
33 REPORTER_ASSERT(reporter, font->getScaleX() == paint.getTextScaleX());
34 REPORTER_ASSERT(reporter, font->getSkewX() == paint.getTextSkewX());
36 REPORTER_ASSERT(reporter, font->isVertical() == paint.isVerticalText());
37 REPORTER_ASSERT(reporter, font->isEmbolden() == paint.isFakeBoldText());
39 REPORTER_ASSERT(reporter, font->isUseNonLinearMetrics() == is_use_nonlinear_metrics(paint));
40 REPORTER_ASSERT(reporter, font->isEnableAutoHints() == is_enable_auto_hints(paint))
    [all...]
GpuSampleLocationsTest.cpp 93 void assert_equal(skiatest::Reporter* reporter, const SamplePattern& pattern,
97 REPORT_FAILURE(reporter, "", SkString("Sample pattern has wrong number of samples."));
106 REPORT_FAILURE(reporter, "", SkString("Sample pattern has wrong sample location."));
127 void test_sampleLocations(skiatest::Reporter* reporter, TestSampleLocationsInterface* testInterface,
153 assert_equal(reporter, kTestPatterns[i],
201 DEF_GPUTEST(GLSampleLocations, reporter, /* options */) {
210 test_sampleLocations(reporter, testInterface.get(), ctx.get());
ImageCacheTest.cpp 45 static void test_cache(skiatest::Reporter* reporter, SkResourceCache& cache, bool testPurge) {
50 REPORTER_ASSERT(reporter, !cache.find(key, TestingRec::Visitor, &value));
51 REPORTER_ASSERT(reporter, -1 == value);
55 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value));
56 REPORTER_ASSERT(reporter, i == value);
76 static void test_cache_purge_shared_id(skiatest::Reporter* reporter, SkResourceCache& cache) {
87 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value));
88 REPORTER_ASSERT(reporter, value == i)
    [all...]
ImageIsOpaqueTest.cpp 21 static void test_flatten(skiatest::Reporter* reporter, const SkImageInfo& info) {
36 REPORTER_ASSERT(reporter, rb.offset() == wb.bytesWritten());
38 REPORTER_ASSERT(reporter, info == info2);
41 DEF_TEST(ImageInfo_flattening, reporter) {
67 test_flatten(reporter, info);
73 static void check_isopaque(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface,
76 REPORTER_ASSERT(reporter, image->isOpaque() == expectedOpaque);
79 DEF_TEST(ImageIsOpaqueTest, reporter) {
    [all...]
PaintImageFilterTest.cpp 15 static void test_unscaled(skiatest::Reporter* reporter) {
56 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr);
61 static void test_scaled(skiatest::Reporter* reporter) {
104 REPORTER_ASSERT(reporter, *filterPtr == *paintPtr);
109 DEF_TEST(PaintImageFilter, reporter) {
110 test_unscaled(reporter);
111 test_scaled(reporter);
PathCoverageTest.cpp 112 skiatest::Reporter* reporter) {
139 ERRORF(reporter, "Curve from %.2f %.2f through %.2f %.2f to "
152 static void TestQuadPointCount(skiatest::Reporter* reporter) {
153 one_d_pe(gXY, SK_ARRAY_COUNT(gXY), reporter);
154 one_d_pe(gSawtooth, SK_ARRAY_COUNT(gSawtooth), reporter);
155 one_d_pe(gOvalish, SK_ARRAY_COUNT(gOvalish), reporter);
156 one_d_pe(gSharpSawtooth, SK_ARRAY_COUNT(gSharpSawtooth), reporter);
157 one_d_pe(gRibbon, SK_ARRAY_COUNT(gRibbon), reporter);
    [all...]
SVGDeviceTest.cpp 25 void check_text_node(skiatest::Reporter* reporter,
32 ERRORF(reporter, "root element not found.");
38 ERRORF(reporter, "<text> element not found.");
41 REPORTER_ASSERT(reporter, dom.getType(textElem) == SkDOM::kElement_Type);
44 REPORTER_ASSERT(reporter, textNode != nullptr);
46 REPORTER_ASSERT(reporter, dom.getType(textNode) == SkDOM::kText_Type);
47 REPORTER_ASSERT(reporter, strcmp(expected, dom.getName(textNode)) == 0);
53 REPORTER_ASSERT(reporter, x != nullptr);
56 REPORTER_ASSERT(reporter, SkParse::Count(x) == xposCount)
    [all...]
  /libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/
CloseGuardSupport.java 236 CloseGuard.Reporter oldReporter = CloseGuard.getReporter();
238 CollectingReporter reporter = new CollectingReporter();
239 CloseGuard.setReporter(reporter);
250 reporter.assertUnreleasedResources(expectedCount);
257 * A {@link CloseGuard.Reporter} that collects any reports about unreleased resources.
259 private static class CollectingReporter implements CloseGuard.Reporter {
  /external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/
Main.java 22 import com.google.currysrc.api.process.Reporter;
137 private final Reporter reporter; field in class:Main.CompilationUnitHandler
151 this.reporter = new ReporterImpl(reportWriter);
249 @Override public Reporter reporter() { method in class:Main.CompilationUnitHandler
250 return reporter;
310 private class ReporterImpl implements Reporter {
  /external/mockito/src/main/java/org/mockito/internal/
InOrderImpl.java 20 import static org.mockito.internal.exceptions.Reporter.inOrderRequiresFamiliarMock;
  /external/mockito/src/main/java/org/mockito/internal/configuration/injection/
ConstructorInjection.java 13 import static org.mockito.internal.exceptions.Reporter.fieldInitialisationThrewException;
  /external/skia/dm/
DMGpuTestProcs.cpp 39 Reporter* reporter, const GrContextOptions& options) {
69 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType)));
71 (*test)(reporter, ctxInfo);
77 (*test)(reporter, ctxInfo);

Completed in 1129 milliseconds

<<11121314151617181920>>