HomeSort by relevance Sort by last modified time
    Searched refs:REPORTER_ASSERT (Results 51 - 75 of 127) sorted by null

1 23 4 5 6

  /external/skia/tests/
PaintTest.cpp 98 REPORTER_ASSERT(reporter, NGLYPHS == nglyphs);
99 REPORTER_ASSERT(reporter, index == first);
100 REPORTER_ASSERT(reporter,
103 REPORTER_ASSERT(reporter, NGLYPHS == first);
105 REPORTER_ASSERT(reporter, NGLYPHS > first);
115 REPORTER_ASSERT(reporter,
126 REPORTER_ASSERT(reporter, gLevels[i] == p0.getFilterLevel());
128 REPORTER_ASSERT(reporter, gLevels[i] == p1.getFilterLevel());
131 REPORTER_ASSERT(reporter,
150 REPORTER_ASSERT(reporter, paint == copiedPaint)
    [all...]
GLInterfaceValidation.cpp 23 REPORTER_ASSERT(reporter, NULL != glCtxHelper);
30 REPORTER_ASSERT(reporter, interface->validate(binding));
PathOpsDQuadTest.cpp 44 REPORTER_ASSERT(reporter, 0);
49 REPORTER_ASSERT(reporter, 0);
PathOpsDTriangleTest.cpp 38 REPORTER_ASSERT(reporter, 0);
43 REPORTER_ASSERT(reporter, 0);
MathTest.cpp 17 REPORTER_ASSERT(reporter, 32 == SkCLZ(0));
18 REPORTER_ASSERT(reporter, 31 == SkCLZ(1));
19 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30));
20 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U));
30 REPORTER_ASSERT(reporter, intri == porta);
53 REPORTER_ASSERT(reporter, std == fast);
93 REPORTER_ASSERT(reporter, prod0 == prod1);
181 REPORTER_ASSERT(reporter, false);
219 REPORTER_ASSERT(reporter, len > 0.999f && len < 1.001f);
291 REPORTER_ASSERT(reporter, x0 == x1)
    [all...]
RTreeTest.cpp 77 REPORTER_ASSERT(reporter, verify_query(query, rects, hits));
86 REPORTER_ASSERT(reporter, NULL != rtree);
114 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount());
115 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree->getDepth() &&
118 REPORTER_ASSERT(reporter, 0 == rtree->getCount());
125 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount());
126 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree->getDepth() &&
129 REPORTER_ASSERT(reporter, 0 == rtree->getCount());
136 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount());
137 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree->getDepth() &
    [all...]
PathTest.cpp 48 REPORTER_ASSERT(reporter, 50 == last.fX);
49 REPORTER_ASSERT(reporter, 50 == last.fY);
59 REPORTER_ASSERT(reporter, 75 == last.fX);
60 REPORTER_ASSERT(reporter, 75 == last.fY);
70 REPORTER_ASSERT(reporter, 85 == last.fX);
71 REPORTER_ASSERT(reporter, 85 == last.fY);
81 REPORTER_ASSERT(reporter, 95 == last.fX);
82 REPORTER_ASSERT(reporter, 95 == last.fY);
91 REPORTER_ASSERT(reporter, original.getGenerationID() > 0);
94 REPORTER_ASSERT(reporter, copy.getGenerationID() == original.getGenerationID())
    [all...]
GradientTest.cpp 33 REPORTER_ASSERT(reporter, shader->asAGradient(info) == gt);
35 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount);
36 REPORTER_ASSERT(reporter,
38 REPORTER_ASSERT(reporter,
40 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode);
47 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(NULL));
52 REPORTER_ASSERT(reporter, SkShader::kColor_GradientType == s->asAGradient(NULL));
58 REPORTER_ASSERT(reporter, 1 == info.fColorCount);
70 REPORTER_ASSERT(reporter, !memcmp(info.fPoint, rec.fPoint, 2 * sizeof(SkPoint)));
83 REPORTER_ASSERT(reporter, info.fPoint[0] == rec.fPoint[0])
    [all...]
StrokeTest.cpp 44 REPORTER_ASSERT(reporter, equal(outer, fillPath.getBounds()));
48 REPORTER_ASSERT(reporter, fillPath.isNestedRects(nested) == isMiter);
52 REPORTER_ASSERT(reporter, equal(nested[0], outer));
53 REPORTER_ASSERT(reporter, equal(nested[1], inner));
InfRectTest.cpp 32 REPORTER_ASSERT(reporter,
34 REPORTER_ASSERT(reporter,
46 REPORTER_ASSERT(reporter, ((r.left() + r.right()) >> 1) == cx);
47 REPORTER_ASSERT(reporter, ((r.top() + r.bottom()) >> 1) == cy);
55 REPORTER_ASSERT(reporter, !rect.isFinite());
72 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite());
75 REPORTER_ASSERT(reporter, rect.isFinite());
RegionTest.cpp 16 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect))
17 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect))
18 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect))
83 REPORTER_ASSERT(reporter, empty.isEmpty());
84 REPORTER_ASSERT(reporter, !valid.isEmpty());
87 REPORTER_ASSERT(reporter, !empty.intersects(empty2));
88 REPORTER_ASSERT(reporter, !valid.intersects(empty));
91 REPORTER_ASSERT(reporter, !empty.contains(empty2));
92 REPORTER_ASSERT(reporter, !valid.contains(empty));
93 REPORTER_ASSERT(reporter, !empty.contains(valid))
    [all...]
CanvasStateTest.cpp 35 REPORTER_ASSERT(reporter, sizeof(layerAlpha) == sizeof(flags));
56 REPORTER_ASSERT(reporter, state);
58 REPORTER_ASSERT(reporter, tmpCanvas);
82 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
83 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
124 REPORTER_ASSERT(reporter, sizeof(clipOps) == sizeof(flags));
145 REPORTER_ASSERT(reporter, state);
147 REPORTER_ASSERT(reporter, tmpCanvas);
172 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
173 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels()
    [all...]
ClipCubicTest.cpp 90 REPORTER_ASSERT(reporter, success == true);
91 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
98 REPORTER_ASSERT(reporter, success == true);
99 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
106 REPORTER_ASSERT(reporter, success == true);
107 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
114 REPORTER_ASSERT(reporter, success == false);
120 REPORTER_ASSERT(reporter, success == true);
121 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
132 REPORTER_ASSERT(reporter, success == true)
    [all...]
PictureTest.cpp 191 REPORTER_ASSERT(reporter, data);
194 REPORTER_ASSERT(reporter, 1 == count);
195 REPORTER_ASSERT(reporter, *(SkPixelRef**)data->data() == refs[i]);
228 REPORTER_ASSERT(reporter, found);
417 REPORTER_ASSERT(reporter, picture1->equals(picture2));
427 REPORTER_ASSERT(reporter, pictureFromStream.get() != NULL);
441 REPORTER_ASSERT(reporter, NULL != destPicture);
449 REPORTER_ASSERT(reporter, NULL != destPicture);
479 REPORTER_ASSERT(reporter, true == nonEmpty);
480 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft)
    [all...]
RandomTest.cpp 69 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000));
79 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f);
82 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000));
87 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f);
90 REPORTER_ASSERT(reporter, anderson_darling_test(p));
149 REPORTER_ASSERT(reporter, 0.01 < p && p < 0.99);
160 REPORTER_ASSERT(reporter, anderson_darling_test(p));
174 REPORTER_ASSERT(reporter, 17 <= u && u <= 17+255);
178 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000));
UnicodeTest.cpp 36 REPORTER_ASSERT(reporter, uvs0 == uvs1);
72 REPORTER_ASSERT(reporter, (int)len8 == count8);
73 REPORTER_ASSERT(reporter, (int)len8 == count16);
74 REPORTER_ASSERT(reporter, (int)len8 == count32);
76 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_t)));
77 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_t)));
BitmapCopyTest.cpp 50 REPORTER_ASSERT(reporter, bitmap.copyTo(&dst, dstConfig));
51 REPORTER_ASSERT(reporter, dst.config() == dstConfig);
61 REPORTER_ASSERT(reporter, bitmap.copyTo(&dst, dstConfig));
62 REPORTER_ASSERT(reporter, dst.config() == dstConfig);
290 REPORTER_ASSERT(reporter, src.width() == dst.width());
291 REPORTER_ASSERT(reporter, src.height() == dst.height());
292 REPORTER_ASSERT(reporter, dst.config() == gPairs[j].fConfig);
297 REPORTER_ASSERT(reporter, src.readyToDraw());
298 REPORTER_ASSERT(reporter, dst.readyToDraw());
301 REPORTER_ASSERT(reporter, srcP != dstP)
    [all...]
PathOpsQuadLineIntersectionTest.cpp 86 REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY));
107 REPORTER_ASSERT(reporter, 0);
111 REPORTER_ASSERT(reporter, 0);
116 REPORTER_ASSERT(reporter, result == lineQuadTests[index].result);
122 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1);
125 REPORTER_ASSERT(reporter, tt2 >= 0 && tt2 <= 1);
130 REPORTER_ASSERT(reporter, 0);
136 REPORTER_ASSERT(reporter, 0);
DrawBitmapRectTest.cpp 53 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, 0));
62 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, 0));
63 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
71 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
73 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
77 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, bilerBits));
79 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, bilerBits));
84 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, false));
85 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
90 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, false))
    [all...]
ImageFilterTest.cpp 49 REPORTER_ASSERT(reporter, NULL == quarterBrightness->getInput(0));
56 REPORTER_ASSERT(reporter, NULL != halfBrightness->getInput(0));
63 REPORTER_ASSERT(reporter, true == gray->asColorFilter(NULL));
71 REPORTER_ASSERT(reporter, false == grayWithCrop->asColorFilter(NULL));
PathOpsCubicQuadIntersectionTest.cpp 44 REPORTER_ASSERT(reporter, 0);
48 REPORTER_ASSERT(reporter, 0);
62 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
67 REPORTER_ASSERT(reporter, found);
PathOpsDCubicTest.cpp 26 REPORTER_ASSERT(reporter, 0);
AndroidPaintTest.cpp 39 REPORTER_ASSERT(reporter, options == reconstructed.getPaintOptionsAndroid());
57 REPORTER_ASSERT(reporter,
76 REPORTER_ASSERT(reporter,
GeometryTest.cpp 32 REPORTER_ASSERT(reporter, count);
45 REPORTER_ASSERT(reporter, count == 1 || count == 2);
58 REPORTER_ASSERT(reporter, nearly_equal(cubic[i], dst[i]));
PathOpsLineIntersectionTest.cpp 61 REPORTER_ASSERT(reporter, ts.used() != 1);
63 REPORTER_ASSERT(reporter, result1.approximatelyEqual(result2));
64 REPORTER_ASSERT(reporter, result1.approximatelyEqual(ts.pt(i).asSkPoint()));
74 REPORTER_ASSERT(reporter, pts);
75 REPORTER_ASSERT(reporter, pts == i.used());
116 REPORTER_ASSERT(reporter, pts2 == 2);
117 REPORTER_ASSERT(reporter, pts2 == ts2.used());
122 REPORTER_ASSERT(reporter, pts == pts2);
123 REPORTER_ASSERT(reporter, pts == 2);
124 REPORTER_ASSERT(reporter, pts == ts.used())
    [all...]

Completed in 124 milliseconds

1 23 4 5 6