HomeSort by relevance Sort by last modified time
    Searched refs:REPORTER_ASSERT (Results 151 - 175 of 210) sorted by null

1 2 3 4 5 67 8 9

  /external/skia/tests/
RecordTestUtils.h 34 REPORTER_ASSERT(r, T::kType == reader.type);
35 REPORTER_ASSERT(r, SkToBool(reader.ptr));
ColorMatrixTest.cpp 20 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance);
21 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance);
22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance);
23 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance);
86 REPORTER_ASSERT(reporter, 1.0f == transparentRedAddBlue[6]);
FontMgrTest.cpp 24 REPORTER_ASSERT(reporter, font->getTypeface());
25 REPORTER_ASSERT(reporter, 24 == font->getSize());
26 REPORTER_ASSERT(reporter, 1 == font->getScaleX());
27 REPORTER_ASSERT(reporter, 0 == font->getSkewX());
28 REPORTER_ASSERT(reporter, SkFont::kA8_MaskType == font->getMaskType());
35 REPORTER_ASSERT(reporter, 5 == count);
37 REPORTER_ASSERT(reporter, 0 != glyphs[i]);
39 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e'
40 REPORTER_ASSERT(reporter, glyphs[2] == glyphs[3]); // 'l' == 'l'
43 REPORTER_ASSERT(reporter, newFont.get())
    [all...]
PDFGlyphsToUnicodeTest.cpp 92 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult,
110 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResultChop1,
124 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResultChop2,
140 REPORTER_ASSERT(reporter, stream_equals(buffer, 0,
178 REPORTER_ASSERT(reporter, stream_equals(buffer2, 0, expectedResult2,
PathOpsSimplifyFailTest.cpp 63 REPORTER_ASSERT(reporter, !success);
64 REPORTER_ASSERT(reporter, result.isEmpty());
65 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType);
90 REPORTER_ASSERT(reporter, success);
91 REPORTER_ASSERT(reporter, result.getFillType() != SkPath::kWinding_FillType);
PathOpsTightBoundsTest.cpp 31 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds));
32 REPORTER_ASSERT(data->fReporter, classicBounds == tightBounds);
81 REPORTER_ASSERT(data->fReporter, TightBounds(path, &tightBounds));
82 REPORTER_ASSERT(data->fReporter, classicBounds.contains(tightBounds));
106 REPORTER_ASSERT(data->fReporter, tightOut.contains(bitsWritten));
VkClearTests.cpp 70 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get(),
80 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get(),
92 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get(),
125 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get(),
140 REPORTER_ASSERT(reporter, !does_full_buffer_contain_correct_color(buffer.get(),
150 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get(),
172 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(subBuffer.get(),
178 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(subBuffer.get(),
184 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(subBuffer.get(),
191 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(subBuffer.get()
    [all...]
CanvasTest.cpp 213 REPORTER_ASSERT(reporter, equal_clips(c, *canvas));
224 REPORTER_ASSERT(reporter, cs->unique());
562 REPORTER_ASSERT(reporter, doc);
564 REPORTER_ASSERT(reporter, !doc);
571 REPORTER_ASSERT(reporter, canvas);
575 REPORTER_ASSERT(reporter, doc->close());
647 REPORTER_ASSERT(reporter, canvas);
652 REPORTER_ASSERT(reporter, addr);
653 REPORTER_ASSERT(reporter, info == info2);
654 REPORTER_ASSERT(reporter, minRowBytes == rowBytes)
    [all...]
BlendTest.cpp 51 for (auto multiply : broken) { REPORTER_ASSERT(r, !acceptable(test(multiply))); }
60 for (auto multiply : fine) { REPORTER_ASSERT(r, acceptable(test(multiply))); }
68 for (auto multiply : perfect) { REPORTER_ASSERT(r, test(multiply).diffs == 0); }
CachedDataTest.cpp 24 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt);
25 REPORTER_ASSERT(reporter, data->testing_only_isInCache() == (kInCache == cacheState));
26 REPORTER_ASSERT(reporter, data->testing_only_isLocked() == (lockedState == kLocked));
GpuColorFilterTest.cpp 105 REPORTER_ASSERT(reporter, fp);
110 REPORTER_ASSERT(reporter, filterColor(inout.color(), inout.validFlags()) ==
112 REPORTER_ASSERT(reporter, test.outputComponents == inout.validFlags());
BitmapGetColorTest.cpp 46 REPORTER_ASSERT(reporter, c == gRec[i].fOutColor);
FillPathTest.cpp 44 REPORTER_ASSERT(reporter, blitter.m_blitCount == expected_lines);
FlattenableFactoryToName.cpp 17 REPORTER_ASSERT(r, factory);
ImageNewShaderTest.cpp 23 REPORTER_ASSERT(reporter, bm1.getSize() == bm2.getSize());
24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize()));
95 REPORTER_ASSERT(reporter, 0xFFFF0000 == bmt.getColor(0, y));
98 REPORTER_ASSERT(reporter, 0xFFDEDEDE == bmt.getColor(x, y));
PDFJpegEmbedTest.cpp 84 REPORTER_ASSERT(r, is_subset_of(mandrillData, pdfData));
88 REPORTER_ASSERT(r, !is_subset_of(cmykData, pdfData));
108 REPORTER_ASSERT(r, is_subset_of(mandrillData, pdfData));
112 REPORTER_ASSERT(r, !is_subset_of(cmykData, pdfData));
RecordReplaceDrawTest.cpp 65 REPORTER_ASSERT(r, false);
89 REPORTER_ASSERT(r, (rerecord.count() & 1) == 1);
138 REPORTER_ASSERT(r, 0 == numLayers);
140 REPORTER_ASSERT(r, 1 == numLayers);
SkSharedMutexTest.cpp 38 REPORTER_ASSERT(r, v == shared[i]);
PathOpsCubicLineIntersectionTest.cpp 38 REPORTER_ASSERT(reporter, 0);
42 REPORTER_ASSERT(reporter, 0);
47 REPORTER_ASSERT(reporter, roots == 0);
136 REPORTER_ASSERT(reporter, 0);
140 REPORTER_ASSERT(reporter, 0);
154 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
PathOpsAngleIdeas.cpp 69 REPORTER_ASSERT(reporter, smallest >= 0);
70 REPORTER_ASSERT(reporter, t >= 0 && t <= 1);
107 REPORTER_ASSERT(reporter, angle >= 0 && angle <= 8);
141 REPORTER_ASSERT(reporter, s0dt0 != 0);
204 REPORTER_ASSERT(reporter, s0xt0 != 0);
335 REPORTER_ASSERT(reporter, bestR < maxRadius);
396 REPORTER_ASSERT(reporter, result);
398 REPORTER_ASSERT(reporter, angle > 3.998 || ccw == upperRange.ccw);
405 REPORTER_ASSERT(reporter, result);
433 REPORTER_ASSERT(reporter, origin == quad2[0])
    [all...]
PathOpsQuadIntersectionTest.cpp 47 REPORTER_ASSERT(reporter, 0);
341 REPORTER_ASSERT(reporter, 0);
380 REPORTER_ASSERT(reporter, intersections2.debugCoincidentUsed() >= 2);
381 REPORTER_ASSERT(reporter, intersections2.used() >= 2);
387 REPORTER_ASSERT(reporter, pt1.approximatelyEqual(pt2));
524 REPORTER_ASSERT(reporter, intersections.used() >= 0); // make sure code isn't tossed
534 REPORTER_ASSERT(reporter, intersections.used() >= 0); // make sure code isn't tossed
PDFPrimitivesTest.cpp 136 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a1.get()) == 1);
137 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a2.get()) == 2);
138 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a3.get()) == 3);
141 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a1.get()) == 1);
151 REPORTER_ASSERT(reporter, catalog.numbers.getObjectNumber(a1.get()) == 1);
171 REPORTER_ASSERT(reporter, stub.get() == substituteMap.getSubstitute(proxy));
172 REPORTER_ASSERT(reporter, proxy.get() != substituteMap.getSubstitute(stub));
281 REPORTER_ASSERT(reporter, catalog.numbers.getObjectNumber(
345 REPORTER_ASSERT(reporter, catalog.numbers.getObjectNumber(
409 REPORTER_ASSERT(reporter, !filter->visited())
    [all...]
ClipperTest.cpp 42 REPORTER_ASSERT(reporter, 0xFFFFFFFF != c);
44 REPORTER_ASSERT(reporter, 0xFFFFFFFF == c);
97 REPORTER_ASSERT(reporter, !valid);
121 REPORTER_ASSERT(reporter, valid && !memcmp(&gFull[i], dst, sizeof(dst)));
140 REPORTER_ASSERT(reporter, valid &&
FontHostStreamTest.cpp 106 REPORTER_ASSERT(reporter, isLocalStream);
112 REPORTER_ASSERT(reporter,
MD5Test.cpp 30 REPORTER_ASSERT(reporter, digests_equal(expectedDigest, digest));
44 REPORTER_ASSERT(reporter, digests_equal(expectedDigest, digest));

Completed in 254 milliseconds

1 2 3 4 5 67 8 9