/external/skia/tests/ |
PathOpsCubicLineIntersectionTest.cpp | 27 static void testFail(skiatest::Reporter* reporter, int iIndex) { 38 REPORTER_ASSERT(reporter, 0); 42 REPORTER_ASSERT(reporter, 0); 47 REPORTER_ASSERT(reporter, roots == 0); 125 static void testOne(skiatest::Reporter* reporter, int iIndex) { 136 REPORTER_ASSERT(reporter, 0); 140 REPORTER_ASSERT(reporter, 0); 154 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)) [all...] |
TDPQueueTest.cpp | 14 static void simple_test(skiatest::Reporter* reporter) { 16 REPORTER_ASSERT(reporter, 0 == heap.count()); 19 REPORTER_ASSERT(reporter, 1 == heap.count()); 20 REPORTER_ASSERT(reporter, 0 == heap.peek()); 22 REPORTER_ASSERT(reporter, 0 == heap.count()); 26 REPORTER_ASSERT(reporter, 2 == heap.count()); 27 REPORTER_ASSERT(reporter, 0 == heap.peek()); 29 REPORTER_ASSERT(reporter, 1 == heap.count()); 30 REPORTER_ASSERT(reporter, 1 == heap.peek()) [all...] |
WArrayTest.cpp | 135 TestWData(skiatest::Reporter* reporter, 144 this->runTest(reporter); 163 void runTest(skiatest::Reporter* reporter) { 169 ERRORF(reporter, "Expected: %s\n Result: %s\n", fExpected, stringResult.c_str()); 174 DEF_TEST(WArray, reporter) { 175 TestWData(reporter, data1, SK_ARRAY_COUNT(data1), nullptr, 0, expected1); 176 TestWData(reporter, data2, SK_ARRAY_COUNT(data2), nullptr, 0, expected2); 177 TestWData(reporter, data3, SK_ARRAY_COUNT(data3), nullptr, 0, expected3) [all...] |
MatrixTest.cpp | 29 static bool are_equal(skiatest::Reporter* reporter, 45 REPORTER_ASSERT(reporter, aVal == bVal && aValI == aValI); 48 REPORTER_ASSERT(reporter, foundZeroSignDiff); 59 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI); 62 REPORTER_ASSERT(reporter, foundNaN); 74 static void assert9(skiatest::Reporter* reporter, const SkMatrix& m, 80 REPORTER_ASSERT(reporter, buffer[0] == a); 81 REPORTER_ASSERT(reporter, buffer[1] == b) [all...] |
ImageTest.cpp | 27 static void assert_equal(skiatest::Reporter* reporter, SkImage* a, const SkIRect* subsetA, 32 REPORTER_ASSERT(reporter, widthA == b->width()); 33 REPORTER_ASSERT(reporter, heightA == b->height()); 38 REPORTER_ASSERT(reporter, AO == BO); 50 REPORTER_ASSERT(reporter, a->readPixels(pmapA, srcX, srcY)); 51 REPORTER_ASSERT(reporter, b->readPixels(pmapB, 0, 0)); 55 REPORTER_ASSERT(reporter, !memcmp(pmapA.addr32(0, y), pmapB.addr32(0, y), widthBytes)); 134 static void test_encode(skiatest::Reporter* reporter, SkImage* image) [all...] |
PathOpsConicIntersectionTest.cpp | 296 static void oneOff(skiatest::Reporter* reporter, const SkDConic& c1, const SkDConic& c2, 314 REPORTER_ASSERT(reporter, !coin || intersections.used() == 2); 323 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(iPt)); 324 REPORTER_ASSERT(reporter, xy2.approximatelyEqual(iPt)); 325 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 327 reporter->bumpTestCount(); 330 static void oneOff(skiatest::Reporter* reporter, int outer, int inner) { 333 oneOff(reporter, c1, c2, false) [all...] |
RecordOptsTest.cpp | 103 static void assert_savelayer_restore(skiatest::Reporter* r, 117 static void assert_savelayer_draw_restore(skiatest::Reporter* r, 198 static void assert_merge_svg_opacity_and_filter_layers(skiatest::Reporter* r,
|
FontMgrTest.cpp | 20 static void test_font(skiatest::Reporter* reporter) { 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 [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...] |
MipMapTest.cpp | 18 DEF_TEST(MipMap, reporter) { 30 REPORTER_ASSERT(reporter, mm->countLevels() == SkMipMap::ComputeLevelCount(width, height)); 31 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1, SK_Scalar1), 33 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1 * 2, SK_Scalar1 * 2), 45 REPORTER_ASSERT(reporter, level.fPixmap.addr()); 46 REPORTER_ASSERT(reporter, level.fPixmap.width() > 0); 47 REPORTER_ASSERT(reporter, level.fPixmap.height() > 0); 48 REPORTER_ASSERT(reporter, (int)level.fPixmap.rowBytes() >= level.fPixmap.width() * 4); 51 REPORTER_ASSERT(reporter, level.fPixmap.width() <= prevLevel.fPixmap.width()); 52 REPORTER_ASSERT(reporter, level.fPixmap.height() <= prevLevel.fPixmap.height()) [all...] |
PDFJpegEmbedTest.cpp | 42 skiatest::Reporter* r, const char* test, const char* filename) {
|
PathOpsConicLineIntersectionTest.cpp | 68 static void testOneOffs(skiatest::Reporter* reporter) { 86 REPORTER_ASSERT(reporter, conicXY.approximatelyEqual(lineXY)); 91 DEF_TEST(PathOpsConicLineIntersectionOneOff, reporter) { 92 testOneOffs(reporter); 95 DEF_TEST(PathOpsConicLineIntersection, reporter) { 109 REPORTER_ASSERT(reporter, 0); 114 REPORTER_ASSERT(reporter, 0); 119 REPORTER_ASSERT(reporter, result == lineConicTests[index].result); 125 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1) [all...] |
PathOpsQuadLineIntersectionTest.cpp | 79 static void testOneOffs(skiatest::Reporter* reporter) { 97 REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY)); 102 DEF_TEST(PathOpsQuadLineIntersectionOneOff, reporter) { 103 testOneOffs(reporter); 106 DEF_TEST(PathOpsQuadLineIntersection, reporter) { 118 REPORTER_ASSERT(reporter, 0); 122 REPORTER_ASSERT(reporter, 0); 127 REPORTER_ASSERT(reporter, result == lineQuadTests[index].result); 133 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1) [all...] |
PathOpsQuadLineIntersectionThreadedTest.cpp | 41 static void testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad, 65 REPORTER_ASSERT(reporter, found); 113 DEF_TEST(PathOpsQuadLineIntersectionThreaded, reporter) { 114 initializeTests(reporter, "testQuadLineIntersect"); 115 PathOpsThreadedTestRunner testRunner(reporter); 122 if (!reporter->allowExtendedTest()) goto finish;
|
PremulAlphaRoundTripTest.cpp | 66 static void test_premul_alpha_roundtrip(skiatest::Reporter* reporter, SkBaseDevice* device) { 95 REPORTER_ASSERT(reporter, success = pixels1[x] == pixels2[x]); 101 DEF_TEST(PremulAlphaRoundTrip, reporter) { 105 test_premul_alpha_roundtrip(reporter, device); 108 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(PremulAlphaRoundTrip_Gpu, reporter, context) { 114 test_premul_alpha_roundtrip(reporter, device);
|
RecordReplaceDrawTest.cpp | 93 void test_replacements(skiatest::Reporter* r, GrContext* context, bool doReplace) {
|
SpecialImageTest.cpp | 63 static void test_image(SkSpecialImage* img, skiatest::Reporter* reporter, 66 REPORTER_ASSERT(reporter, kPad == subset.left()); 67 REPORTER_ASSERT(reporter, kPad == subset.top()); 68 REPORTER_ASSERT(reporter, kSmallerSize == subset.width()); 69 REPORTER_ASSERT(reporter, kSmallerSize == subset.height()); 72 REPORTER_ASSERT(reporter, peekTextureSucceeds == !!TestingSpecialImageAccess::PeekTexture(img)); 76 REPORTER_ASSERT(reporter, peekPixelsSucceeds == 79 REPORTER_ASSERT(reporter, kFullSize == pixmap.width()); 80 REPORTER_ASSERT(reporter, kFullSize == pixmap.height()) [all...] |
SwizzlerTest.cpp | 18 static void check_fill(skiatest::Reporter* r,
|
TextBlobCacheTest.cpp | 55 static void text_blob_cache_inner(skiatest::Reporter* reporter, GrContext* context, 71 REPORTER_ASSERT(reporter, surface); 137 REPORTER_ASSERT(reporter, surface); 160 DEF_GPUTEST_FOR_NULL_CONTEXT(TextBlobCache, reporter, context) { 161 text_blob_cache_inner(reporter, context, 1024, 256, 30, true, false); 164 DEF_GPUTEST_FOR_NULL_CONTEXT(TextBlobStressCache, reporter, context) { 165 text_blob_cache_inner(reporter, context, 256, 256, 10, true, true); 168 DEF_GPUTEST_FOR_NULL_CONTEXT(TextBlobAbnormal, reporter, context) { 169 text_blob_cache_inner(reporter, context, 256, 256, 10, false, false) [all...] |
/external/testng/src/main/java/org/testng/internal/ |
TestResult.java | 9 import org.testng.Reporter;
231 List<String> output = Reporter.getOutput(this);
|
/external/testng/src/test/java/test/reports/ |
ReportTest.java | 6 import org.testng.Reporter; 133 List<String> output = Reporter.getOutput(tr);
|
/external/skia/dm/ |
DM.cpp | 1072 } reporter; local [all...] |
/external/autotest/contrib/ |
crbug_shell.py | 45 auth_store = oauth_file.Storage(reporting.Reporter.get_creds_abspath())
|
/external/autotest/site_utils/suite_scheduler/ |
deduping_scheduler.py | 141 bid, _ = reporting.Reporter().report(
|