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

<<11121314151617181920

  /external/skia/tests/
CodecPartialTest.cpp 37 static void compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) {
49 static void test_partial(skiatest::Reporter* r, const char* name, size_t minBytes = 0) {
284 static void test_interleaved(skiatest::Reporter* r, const char* name) {
LListTest.cpp 27 skiatest::Reporter* reporter,
33 REPORTER_ASSERT(reporter, empty == list.isEmpty());
36 REPORTER_ASSERT(reporter, numElements == list.countEntries());
37 REPORTER_ASSERT(reporter, in0 == list.isInList(&elements[0]));
38 REPORTER_ASSERT(reporter, in1 == list.isInList(&elements[1]));
39 REPORTER_ASSERT(reporter, in2 == list.isInList(&elements[2]));
40 REPORTER_ASSERT(reporter, in3 == list.isInList(&elements[3]));
44 static void test_tinternallist(skiatest::Reporter* reporter) {
    [all...]
PathOpsConicIntersectionTest.cpp 298 static void oneOff(skiatest::Reporter* reporter, const ConicPts& conic1, const ConicPts& conic2,
319 REPORTER_ASSERT(reporter, !coin || intersections.used() == 2);
328 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(iPt));
329 REPORTER_ASSERT(reporter, xy2.approximatelyEqual(iPt));
330 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
332 reporter->bumpTestCount();
335 static void oneOff(skiatest::Reporter* reporter, int outer, int inner) {
338 oneOff(reporter, c1, c2, false)
    [all...]
ProxyTest.cpp 23 static void check_surface(skiatest::Reporter* reporter,
30 REPORTER_ASSERT(reporter, proxy->origin() == origin);
31 REPORTER_ASSERT(reporter, proxy->width() == width);
32 REPORTER_ASSERT(reporter, proxy->height() == height);
33 REPORTER_ASSERT(reporter, proxy->config() == config);
35 REPORTER_ASSERT(reporter, proxy->uniqueID().asUInt() == uniqueID.asUInt());
37 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid());
39 REPORTER_ASSERT(reporter, proxy->isBudgeted() == budgeted);
42 static void check_rendertarget(skiatest::Reporter* reporter
    [all...]
SpecialImageTest.cpp 55 static void test_image(const sk_sp<SkSpecialImage>& img, skiatest::Reporter* reporter,
59 REPORTER_ASSERT(reporter, offset == subset.left());
60 REPORTER_ASSERT(reporter, offset == subset.top());
61 REPORTER_ASSERT(reporter, kSmallerSize == subset.width());
62 REPORTER_ASSERT(reporter, kSmallerSize == subset.height());
66 REPORTER_ASSERT(reporter, isGPUBacked == img->isTextureBacked());
73 REPORTER_ASSERT(reporter, proxy);
80 REPORTER_ASSERT(reporter, img->getROPixels(&bitmap));
82 REPORTER_ASSERT(reporter, kSmallerSize == bitmap.width())
    [all...]
VkHeapTests.cpp 21 void subheap_test(skiatest::Reporter* reporter, GrContext* context) {
28 REPORTER_ASSERT(reporter, heap.alloc(64 * 1024, &alloc0));
29 REPORTER_ASSERT(reporter, alloc0.fOffset == 0);
30 REPORTER_ASSERT(reporter, alloc0.fSize == 64 * 1024);
31 REPORTER_ASSERT(reporter, heap.freeSize() == 0 && heap.largestBlockSize() == 0);
33 REPORTER_ASSERT(reporter, heap.freeSize() == 64*1024 && heap.largestBlockSize() == 64 * 1024);
36 REPORTER_ASSERT(reporter, heap.alloc(16 * 1024, &alloc0));
37 REPORTER_ASSERT(reporter, heap.alloc(23 * 1024, &alloc1));
38 REPORTER_ASSERT(reporter, heap.alloc(18 * 1024, &alloc2))
    [all...]
ImageFilterTest.cpp 52 static sk_sp<SkImageFilter> Make(skiatest::Reporter* reporter,
54 return sk_sp<SkImageFilter>(new MatrixTestImageFilter(reporter, expectedMatrix));
76 MatrixTestImageFilter(skiatest::Reporter* reporter, const SkMatrix& expectedMatrix)
78 , fReporter(reporter)
82 skiatest::Reporter* fReporter;
409 DEF_TEST(ImageFilter, reporter) {
414 REPORTER_ASSERT(reporter, nullptr == quarterBrightness->getInput(0));
416 REPORTER_ASSERT(reporter, quarterBrightness->asColorFilter(&cf))
    [all...]
MaskCacheTest.cpp 23 static void check_data(skiatest::Reporter* reporter, SkCachedData* data,
25 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt);
26 REPORTER_ASSERT(reporter, data->testing_only_isInCache() == (kInCache == cacheState));
28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked));
31 DEF_TEST(RRectMaskCache, reporter) {
43 REPORTER_ASSERT(reporter, nullptr == data);
52 check_data(reporter, data, 2, kInCache, kLocked);
55 check_data(reporter, data, 1, kInCache, kUnlocked);
59 REPORTER_ASSERT(reporter, data)
    [all...]
MetaDataTest.cpp 12 static void test_ptrs(skiatest::Reporter* reporter) {
14 REPORTER_ASSERT(reporter, ref.unique());
21 REPORTER_ASSERT(reporter, md0.findRefCnt(name));
22 REPORTER_ASSERT(reporter, md0.hasRefCnt(name, &ref));
23 REPORTER_ASSERT(reporter, !ref.unique());
26 REPORTER_ASSERT(reporter, md1.findRefCnt(name));
27 REPORTER_ASSERT(reporter, md1.hasRefCnt(name, &ref));
28 REPORTER_ASSERT(reporter, !ref.unique());
30 REPORTER_ASSERT(reporter, md0.removeRefCnt(name))
    [all...]
PDFDeflateWStreamTest.cpp 31 std::unique_ptr<SkStreamAsset> stream_inflate(skiatest::Reporter* reporter, SkStream* src) {
49 ERRORF(reporter, "Zlib: inflateInit failed");
90 ERRORF(reporter, "write failed");
100 ERRORF(reporter, "Zlib: inflateEnd failed");
PathOpsQuadLineIntersectionTest.cpp 79 static void testOneOffs(skiatest::Reporter* reporter) {
99 REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY));
104 DEF_TEST(PathOpsQuadLineIntersectionOneOff, reporter) {
105 testOneOffs(reporter);
108 DEF_TEST(PathOpsQuadLineIntersection, reporter) {
122 REPORTER_ASSERT(reporter, 0);
126 REPORTER_ASSERT(reporter, 0);
131 REPORTER_ASSERT(reporter, result == lineQuadTests[index].result);
137 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1)
    [all...]
PathOpsQuadLineIntersectionThreadedTest.cpp 43 static void testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad,
65 REPORTER_ASSERT(reporter, found);
115 DEF_TEST(PathOpsQuadLineIntersectionThreaded, reporter) {
116 initializeTests(reporter, "testQuadLineIntersect");
117 PathOpsThreadedTestRunner testRunner(reporter);
124 if (!reporter->allowExtendedTest()) goto finish;
PremulAlphaRoundTripTest.cpp 64 static void test_premul_alpha_roundtrip(skiatest::Reporter* reporter, SkSurface* surf) {
93 REPORTER_ASSERT(reporter, success = pixels1[x] == pixels2[x]);
99 DEF_TEST(PremulAlphaRoundTrip, reporter) {
104 test_premul_alpha_roundtrip(reporter, surf.get());
107 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(PremulAlphaRoundTrip_Gpu, reporter, ctxInfo) {
113 test_premul_alpha_roundtrip(reporter, surf.get());
ProxyRefTest.cpp 51 static void check_refs(skiatest::Reporter* reporter,
57 REPORTER_ASSERT(reporter, proxy->getProxyRefCnt_TestOnly() == expectedProxyRefs);
58 REPORTER_ASSERT(reporter, proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs);
59 REPORTER_ASSERT(reporter, proxy->getPendingReadCnt_TestOnly() == expectedNumReads);
60 REPORTER_ASSERT(reporter, proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites);
92 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ProxyRefTest, reporter, ctxInfo) {
105 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
110 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites);
122 check_refs(reporter, proxy.get(), 1, 1, kExpectedReads, kExpectedWrites)
    [all...]
ReadPixelsTest.cpp 167 static bool check_read(skiatest::Reporter* reporter,
197 ERRORF(reporter, "Expected readback alpha (%d, %d) value 0x%02x, got 0x%02x. ",
205 ERRORF(reporter, "Expected clipped out area of readback to be unchanged. "
227 ERRORF(reporter, "Expected readback pixel (%d, %d) value 0x%08x, got 0x%08x. "
235 ERRORF(reporter, "Expected clipped out area of readback to be unchanged. "
343 static void test_readpixels(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface,
369 REPORTER_ASSERT(reporter, success == expectSuccess);
371 REPORTER_ASSERT(reporter, idBefore == idAfter)
    [all...]
RecordOptsTest.cpp 105 static void assert_savelayer_restore(skiatest::Reporter* r,
119 static void assert_savelayer_draw_restore(skiatest::Reporter* r,
210 static void assert_merge_svg_opacity_and_filter_layers(skiatest::Reporter* r,
392 static void do_savelayer_srcmode(skiatest::Reporter* r, SkColor color) {
SkBlend_optsTest.cpp 47 static void test_blender(std::string resourceName, skiatest::Reporter* reporter) {
51 ERRORF(reporter, "image is NULL");
57 ERRORF(reporter, "Could not read resource");
80 reporter, correctDst[x] == testDst[x],
88 DEF_TEST(SkBlend_optsCheck, reporter) {
94 test_blender(resourceName, reporter);
98 DEF_TEST(SkBlend_optsSqrtCheck, reporter) {
105 reporter, i[0] == sf[0], SkStringPrintf("i: %f, s: %f", i[0], sf[0]));
SkSLFPTest.cpp 14 static void test(skiatest::Reporter* r, const char* src, const GrShaderCaps& caps,
SwizzlerTest.cpp 18 static void check_fill(skiatest::Reporter* r,
TextBlobCacheTest.cpp 47 static void text_blob_cache_inner(skiatest::Reporter* reporter, GrContext* context,
62 REPORTER_ASSERT(reporter, surface);
127 REPORTER_ASSERT(reporter, surface);
150 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobCache, reporter, ctxInfo) {
151 text_blob_cache_inner(reporter, ctxInfo.grContext(), 1024, 256, 30, true, false);
154 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressCache, reporter, ctxInfo) {
155 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, true, true);
158 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobAbnormal, reporter, ctxInfo) {
159 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, false)
    [all...]
  /external/autotest/site_utils/
test_push_unittest.py 23 AUTOFILED_COUNT_2 = '%s2' % reporting.Reporter.AUTOFILED_COUNT
  /external/mockito/src/main/java/org/mockito/internal/configuration/
SpyAnnotationEngine.java 24 import static org.mockito.internal.exceptions.Reporter.unsupportedCombinationOfAnnotations;
  /external/mockito/src/main/java/org/mockito/internal/creation/
MockSettingsImpl.java 9 import static org.mockito.internal.exceptions.Reporter.*;
  /external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
InterceptedInvocation.java 17 import static org.mockito.internal.exceptions.Reporter.cannotCallAbstractRealMethod;
  /external/mockito/src/main/java/org/mockito/internal/handler/
MockHandlerImpl.java 25 import static org.mockito.internal.exceptions.Reporter.stubPassedToVerify;

Completed in 269 milliseconds

<<11121314151617181920