HomeSort by relevance Sort by last modified time
    Searched refs:REPORTER_ASSERT (Results 101 - 125 of 542) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/skqp/tests/
RoundRectTest.cpp 32 REPORTER_ASSERT(reporter, (double) rr.radii(SkRRect::kUpperRight_Corner).fY +
48 REPORTER_ASSERT(reporter, SkRRect::kEmpty_Type == other.getType());
73 REPORTER_ASSERT(reporter, !r.isEmpty());
74 REPORTER_ASSERT(reporter, r.rect() == oooRects[i].makeSorted());
77 REPORTER_ASSERT(reporter, !r.isEmpty());
78 REPORTER_ASSERT(reporter, r.rect() == oooRects[i].makeSorted());
81 REPORTER_ASSERT(reporter, !r.isEmpty());
82 REPORTER_ASSERT(reporter, r.rect() == oooRects[i].makeSorted());
85 REPORTER_ASSERT(reporter, !r.isEmpty());
86 REPORTER_ASSERT(reporter, r.rect() == oooRects[i].makeSorted())
    [all...]
GrTRecorderTest.cpp 39 REPORTER_ASSERT(reporter, recorder.empty());
43 REPORTER_ASSERT(reporter, i == *GrNEW_APPEND_TO_RECORDER(recorder,
46 REPORTER_ASSERT(reporter, i ==
51 REPORTER_ASSERT(reporter, !recorder.empty());
52 REPORTER_ASSERT(reporter, i == recorder.back());
56 REPORTER_ASSERT(reporter, !recorder.empty());
57 REPORTER_ASSERT(reporter, i-1 == recorder.back());
62 REPORTER_ASSERT(reporter, !recorder.empty());
64 REPORTER_ASSERT(reporter, recorder.empty());
93 REPORTER_ASSERT(reporter, 100 == activeRecorderItems)
    [all...]
TArrayTest.cpp 20 REPORTER_ASSERT(reporter, a.empty());
21 REPORTER_ASSERT(reporter, a.count() == 0);
25 REPORTER_ASSERT(reporter, !a.empty());
26 REPORTER_ASSERT(reporter, a.count() == 1);
30 REPORTER_ASSERT(reporter, a.empty());
31 REPORTER_ASSERT(reporter, a.count() == 0);
35 REPORTER_ASSERT(reporter, a.push_back() = 1);
37 REPORTER_ASSERT(reporter, !a.empty());
38 REPORTER_ASSERT(reporter, a.count() == 1);
39 REPORTER_ASSERT(reporter, a[0] == 1)
    [all...]
ResourceCacheTest.cpp 81 REPORTER_ASSERT(reporter, curCacheSize <= maxCacheSize);
133 REPORTER_ASSERT(reporter, smallRT0);
138 REPORTER_ASSERT(reporter, smallRT1);
140 REPORTER_ASSERT(reporter, get_SB(smallRT0.get()) == get_SB(smallRT1.get()));
146 REPORTER_ASSERT(reporter, smallRT2);
148 REPORTER_ASSERT(reporter, get_SB(smallRT0.get()) == get_SB(smallRT2.get()));
154 REPORTER_ASSERT(reporter, bigRT);
156 REPORTER_ASSERT(reporter, get_SB(smallRT0.get()) != get_SB(bigRT.get()));
170 REPORTER_ASSERT(reporter, smallMSAART0);
173 REPORTER_ASSERT(reporter, get_SB(smallRT0.get()) != get_SB(smallMSAART0.get()))
    [all...]
ColorFilterTest.cpp 47 REPORTER_ASSERT(reporter, i > 2); // we need to have succeeded at least once!
51 REPORTER_ASSERT(reporter, false); // we never saw a nullptr :(
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);
105 REPORTER_ASSERT(reporter, cf2->asColorMode(&c2, (SkBlendMode*)&m2));
106 REPORTER_ASSERT(reporter, c2 == expectedColor);
107 REPORTER_ASSERT(reporter, m2 == expectedMode)
    [all...]
HighContrastFilterTest.cpp 41 REPORTER_ASSERT(
54 REPORTER_ASSERT(reporter, white_inverted == SK_ColorBLACK);
57 REPORTER_ASSERT(reporter, black_inverted == SK_ColorWHITE);
62 REPORTER_ASSERT(reporter, config.isValid());
66 REPORTER_ASSERT(reporter, config.isValid());
68 REPORTER_ASSERT(reporter, config.isValid());
70 REPORTER_ASSERT(reporter, filter);
74 REPORTER_ASSERT(reporter, !config.isValid());
76 REPORTER_ASSERT(reporter, !filter);
81 REPORTER_ASSERT(reporter, config.isValid())
    [all...]
PathOpsDVectorTest.cpp 30 REPORTER_ASSERT(reporter, v1.fX == 0 && v1.fY == 0);
32 REPORTER_ASSERT(reporter, v2.fX == 0 && v2.fY == 0);
37 REPORTER_ASSERT(reporter, v1.fX == 0 && v1.fY == 0);
39 REPORTER_ASSERT(reporter, sv.fX == 0 && sv.fY == 0);
43 REPORTER_ASSERT(reporter, lenSq == v1Dot);
44 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length()));
46 REPORTER_ASSERT(reporter, v1Cross == 0);
MatrixTest.cpp 46 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI);
49 REPORTER_ASSERT(reporter, foundZeroSignDiff);
60 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI);
63 REPORTER_ASSERT(reporter, foundNaN);
81 REPORTER_ASSERT(reporter, buffer[0] == a);
82 REPORTER_ASSERT(reporter, buffer[1] == b);
83 REPORTER_ASSERT(reporter, buffer[2] == c);
84 REPORTER_ASSERT(reporter, buffer[3] == d);
85 REPORTER_ASSERT(reporter, buffer[4] == e);
86 REPORTER_ASSERT(reporter, buffer[5] == f)
    [all...]
SkColor4fTest.cpp 41 REPORTER_ASSERT(reporter, c4 == r.fC4);
54 REPORTER_ASSERT(reporter, pm4.a() == c4.fA);
55 REPORTER_ASSERT(reporter, pm4.r() == c4.fA * c4.fR);
56 REPORTER_ASSERT(reporter, pm4.g() == c4.fA * c4.fG);
57 REPORTER_ASSERT(reporter, pm4.b() == c4.fA * c4.fB);
63 REPORTER_ASSERT(reporter, pm4.fVec[SK_A_INDEX] == c4.fA);
64 REPORTER_ASSERT(reporter, nearly_equal(pm4.r(), c4.fA * c4.fR));
65 REPORTER_ASSERT(reporter, nearly_equal(pm4.g(), c4.fA * c4.fG));
66 REPORTER_ASSERT(reporter, nearly_equal(pm4.b(), c4.fA * c4.fB));
DrawFilterTest.cpp 35 REPORTER_ASSERT(reporter, nullptr == canvas->getDrawFilter());
39 REPORTER_ASSERT(reporter, nullptr != canvas->getDrawFilter());
42 REPORTER_ASSERT(reporter, nullptr == canvas->getDrawFilter());
LayerDrawLooperTest.cpp 65 REPORTER_ASSERT(reporter, context->next(&canvas, &paint));
66 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc);
68 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX());
69 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY());
73 REPORTER_ASSERT(reporter, context->next(&canvas, &paint));
74 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver);
76 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX());
77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY());
80 REPORTER_ASSERT(reporter, !context->next(&canvas, &paint));
104 REPORTER_ASSERT(reporter, context->next(&canvas, &paint))
    [all...]
ShaderTest.cpp 27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes));
28 REPORTER_ASSERT(reporter, bm.width() == expectedW);
29 REPORTER_ASSERT(reporter, bm.height() == expectedH);
30 REPORTER_ASSERT(reporter, localM == expectedM);
31 REPORTER_ASSERT(reporter, tileModes[0] == expectedX);
32 REPORTER_ASSERT(reporter, tileModes[1] == expectedY);
40 REPORTER_ASSERT(reporter, image);
41 REPORTER_ASSERT(reporter, image->width() == expectedW);
42 REPORTER_ASSERT(reporter, image->height() == expectedH);
43 REPORTER_ASSERT(reporter, localM == expectedM)
    [all...]
ProxyTest.cpp 31 REPORTER_ASSERT(reporter, proxy->origin() == origin);
32 REPORTER_ASSERT(reporter, proxy->width() == width);
33 REPORTER_ASSERT(reporter, proxy->height() == height);
34 REPORTER_ASSERT(reporter, proxy->config() == config);
35 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid());
36 REPORTER_ASSERT(reporter, proxy->isBudgeted() == budgeted);
47 REPORTER_ASSERT(reporter, rtProxy->maxWindowRectangles(caps) == expectedMaxWindowRects);
48 REPORTER_ASSERT(reporter, rtProxy->numStencilSamples() == numSamples);
51 REPORTER_ASSERT(reporter, rtProxy->instantiate(provider));
54 REPORTER_ASSERT(reporter, rtProxy->uniqueID() == idBefore)
    [all...]
RegionTest.cpp 18 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect))
19 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect))
20 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect))
85 REPORTER_ASSERT(reporter, empty.isEmpty());
86 REPORTER_ASSERT(reporter, !valid.isEmpty());
89 REPORTER_ASSERT(reporter, !empty.intersects(empty2));
90 REPORTER_ASSERT(reporter, !valid.intersects(empty));
93 REPORTER_ASSERT(reporter, !empty.contains(empty2));
94 REPORTER_ASSERT(reporter, !valid.contains(empty));
95 REPORTER_ASSERT(reporter, !empty.contains(valid))
    [all...]
  /external/skia/tests/
GrTRecorderTest.cpp 39 REPORTER_ASSERT(reporter, recorder.empty());
43 REPORTER_ASSERT(reporter, i == *GrNEW_APPEND_TO_RECORDER(recorder,
46 REPORTER_ASSERT(reporter, i ==
51 REPORTER_ASSERT(reporter, !recorder.empty());
52 REPORTER_ASSERT(reporter, i == recorder.back());
56 REPORTER_ASSERT(reporter, !recorder.empty());
57 REPORTER_ASSERT(reporter, i-1 == recorder.back());
62 REPORTER_ASSERT(reporter, !recorder.empty());
64 REPORTER_ASSERT(reporter, recorder.empty());
93 REPORTER_ASSERT(reporter, 100 == activeRecorderItems)
    [all...]
TArrayTest.cpp 20 REPORTER_ASSERT(reporter, a.empty());
21 REPORTER_ASSERT(reporter, a.count() == 0);
25 REPORTER_ASSERT(reporter, !a.empty());
26 REPORTER_ASSERT(reporter, a.count() == 1);
30 REPORTER_ASSERT(reporter, a.empty());
31 REPORTER_ASSERT(reporter, a.count() == 0);
35 REPORTER_ASSERT(reporter, a.push_back() = 1);
37 REPORTER_ASSERT(reporter, !a.empty());
38 REPORTER_ASSERT(reporter, a.count() == 1);
39 REPORTER_ASSERT(reporter, a[0] == 1)
    [all...]
ColorFilterTest.cpp 47 REPORTER_ASSERT(reporter, i > 2); // we need to have succeeded at least once!
51 REPORTER_ASSERT(reporter, false); // we never saw a nullptr :(
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);
105 REPORTER_ASSERT(reporter, cf2->asColorMode(&c2, (SkBlendMode*)&m2));
106 REPORTER_ASSERT(reporter, c2 == expectedColor);
107 REPORTER_ASSERT(reporter, m2 == expectedMode)
    [all...]
HighContrastFilterTest.cpp 41 REPORTER_ASSERT(
54 REPORTER_ASSERT(reporter, white_inverted == SK_ColorBLACK);
57 REPORTER_ASSERT(reporter, black_inverted == SK_ColorWHITE);
62 REPORTER_ASSERT(reporter, config.isValid());
66 REPORTER_ASSERT(reporter, config.isValid());
68 REPORTER_ASSERT(reporter, config.isValid());
70 REPORTER_ASSERT(reporter, filter);
74 REPORTER_ASSERT(reporter, !config.isValid());
76 REPORTER_ASSERT(reporter, !filter);
81 REPORTER_ASSERT(reporter, config.isValid())
    [all...]
PathOpsDVectorTest.cpp 30 REPORTER_ASSERT(reporter, v1.fX == 0 && v1.fY == 0);
32 REPORTER_ASSERT(reporter, v2.fX == 0 && v2.fY == 0);
37 REPORTER_ASSERT(reporter, v1.fX == 0 && v1.fY == 0);
39 REPORTER_ASSERT(reporter, sv.fX == 0 && sv.fY == 0);
43 REPORTER_ASSERT(reporter, lenSq == v1Dot);
44 REPORTER_ASSERT(reporter, approximately_equal(sqrt(lenSq), v1.length()));
46 REPORTER_ASSERT(reporter, v1Cross == 0);
MatrixTest.cpp 46 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI);
49 REPORTER_ASSERT(reporter, foundZeroSignDiff);
60 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI);
63 REPORTER_ASSERT(reporter, foundNaN);
81 REPORTER_ASSERT(reporter, buffer[0] == a);
82 REPORTER_ASSERT(reporter, buffer[1] == b);
83 REPORTER_ASSERT(reporter, buffer[2] == c);
84 REPORTER_ASSERT(reporter, buffer[3] == d);
85 REPORTER_ASSERT(reporter, buffer[4] == e);
86 REPORTER_ASSERT(reporter, buffer[5] == f)
    [all...]
SkColor4fTest.cpp 41 REPORTER_ASSERT(reporter, c4 == r.fC4);
54 REPORTER_ASSERT(reporter, pm4.a() == c4.fA);
55 REPORTER_ASSERT(reporter, pm4.r() == c4.fA * c4.fR);
56 REPORTER_ASSERT(reporter, pm4.g() == c4.fA * c4.fG);
57 REPORTER_ASSERT(reporter, pm4.b() == c4.fA * c4.fB);
63 REPORTER_ASSERT(reporter, pm4.fVec[SK_A_INDEX] == c4.fA);
64 REPORTER_ASSERT(reporter, nearly_equal(pm4.r(), c4.fA * c4.fR));
65 REPORTER_ASSERT(reporter, nearly_equal(pm4.g(), c4.fA * c4.fG));
66 REPORTER_ASSERT(reporter, nearly_equal(pm4.b(), c4.fA * c4.fB));
DrawFilterTest.cpp 35 REPORTER_ASSERT(reporter, nullptr == canvas->getDrawFilter());
39 REPORTER_ASSERT(reporter, nullptr != canvas->getDrawFilter());
42 REPORTER_ASSERT(reporter, nullptr == canvas->getDrawFilter());
LayerDrawLooperTest.cpp 65 REPORTER_ASSERT(reporter, context->next(&canvas, &paint));
66 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc);
68 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX());
69 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY());
73 REPORTER_ASSERT(reporter, context->next(&canvas, &paint));
74 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver);
76 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX());
77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY());
80 REPORTER_ASSERT(reporter, !context->next(&canvas, &paint));
104 REPORTER_ASSERT(reporter, context->next(&canvas, &paint))
    [all...]
ShaderTest.cpp 27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes));
28 REPORTER_ASSERT(reporter, bm.width() == expectedW);
29 REPORTER_ASSERT(reporter, bm.height() == expectedH);
30 REPORTER_ASSERT(reporter, localM == expectedM);
31 REPORTER_ASSERT(reporter, tileModes[0] == expectedX);
32 REPORTER_ASSERT(reporter, tileModes[1] == expectedY);
40 REPORTER_ASSERT(reporter, image);
41 REPORTER_ASSERT(reporter, image->width() == expectedW);
42 REPORTER_ASSERT(reporter, image->height() == expectedH);
43 REPORTER_ASSERT(reporter, localM == expectedM)
    [all...]
ClipBoundsTest.cpp 39 REPORTER_ASSERT(reporter, screen == devStackBounds);
40 REPORTER_ASSERT(reporter, isIntersectionOfRects);
51 REPORTER_ASSERT(reporter, intScreen == devGrClipBound);
52 REPORTER_ASSERT(reporter, isIntersectionOfRects);

Completed in 1354 milliseconds

1 2 3 45 6 7 8 91011>>