/external/skia/tests/ |
PathOpsLineIntersectionTest.cpp | 77 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, 83 REPORTER_ASSERT(reporter, ts.used() != 1); 88 REPORTER_ASSERT(reporter, result1.approximatelyEqual(result2)); 89 REPORTER_ASSERT(reporter, result1.approximatelyEqual(ts.pt(i).asSkPoint())); 94 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) { 99 REPORTER_ASSERT(reporter, pts); 100 REPORTER_ASSERT(reporter, pts == i.used()); 101 check_results(reporter, line1, line2, i) [all...] |
FlateTest.cpp | 31 static void TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream, 45 REPORTER_ASSERT(reporter, status); 51 REPORTER_ASSERT(reporter, testData.getLength() == inputSize); 52 REPORTER_ASSERT(reporter, memcmp(testData.getMemoryBase(), 58 REPORTER_ASSERT(reporter, compressed.getOffset() < 1024); 60 REPORTER_ASSERT(reporter, compressed.getOffset() > 1024); 67 REPORTER_ASSERT(reporter, status); 73 REPORTER_ASSERT(reporter, data1->size() == inputSize); 74 REPORTER_ASSERT(reporter, memcmp(testStream->getMemoryBase() [all...] |
MD5Test.cpp | 20 static void md5_test(const char* string, const SkMD5::Digest& expectedDigest, skiatest::Reporter* reporter) { 30 REPORTER_ASSERT(reporter, digests_equal(expectedDigest, digest)); 44 REPORTER_ASSERT(reporter, digests_equal(expectedDigest, digest)); 62 DEF_TEST(MD5, reporter) { 64 md5_test(md5_tests[i].message, md5_tests[i].digest, reporter);
|
SHA1Test.cpp | 36 static void sha1_test(const SHA1Test& test, skiatest::Reporter* reporter) { 46 REPORTER_ASSERT(reporter, digests_equal(test.digest, digest)); 49 DEF_TEST(SHA1, reporter) { 51 sha1_test(sha1_tests[i], reporter);
|
PictureTest.cpp | 479 static void test_gatherpixelrefs(skiatest::Reporter* reporter) { 501 REPORTER_ASSERT(reporter, pic->willPlayBackBitmaps() || N == 0); 510 ERRORF(reporter, "SkPictureUtils::GatherPixelRefs returned " 516 REPORTER_ASSERT(reporter, 1 == count || 2 == count); 518 REPORTER_ASSERT(reporter, gatheredRefs[0] == refs[i]); 520 REPORTER_ASSERT(reporter, 553 ERRORF(reporter, "PixelRef missing %d %s", 568 ERRORF(reporter, "PixelRef missing %d %s", 584 static void test_gatherpixelrefsandrects(skiatest::Reporter* reporter) [all...] |
BBoxHierarchyTest.cpp | 75 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 81 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 86 skiatest::Reporter* reporter) { 89 REPORTER_ASSERT(reporter, NULL != tree); 120 run_queries(reporter, rand, rects, *tree); 121 REPORTER_ASSERT(reporter, NUM_RECTS == tree->getCount()); 122 REPORTER_ASSERT(reporter, 126 REPORTER_ASSERT(reporter, 0 == tree->getCount()) [all...] |
ClipperTest.cpp | 14 static void test_hairclipping(skiatest::Reporter* reporter) { 42 REPORTER_ASSERT(reporter, 0xFFFFFFFF != c); 44 REPORTER_ASSERT(reporter, 0xFFFFFFFF == c); 68 static void test_intersectline(skiatest::Reporter* reporter) { 97 REPORTER_ASSERT(reporter, !valid); 121 REPORTER_ASSERT(reporter, valid && !memcmp(&gFull[i], dst, sizeof(dst))); 140 REPORTER_ASSERT(reporter, valid && 146 DEF_TEST(Clipper, reporter) { [all...] |
FontNamesTest.cpp | 112 static void test_synthetic(skiatest::Reporter* reporter, bool verbose) { 118 REPORTER_ASSERT_MESSAGE(reporter, 123 REPORTER_ASSERT_MESSAGE(reporter, 133 REPORTER_ASSERT_MESSAGE(reporter, nameIndex == test[i].nameCount, 136 REPORTER_ASSERT_MESSAGE(reporter, !iter.next(record), 142 static void test_systemfonts(skiatest::Reporter* reporter, bool verbose) { 190 REPORTER_ASSERT_MESSAGE(reporter, 202 REPORTER_ASSERT_MESSAGE(reporter, [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
report.py | 0 """Reporter foundation for Coverage.""" 7 class Reporter(object): 11 """Create a reporter. 14 skittish the reporter will be during file processing.
|
xmlreport.py | 8 from coverage.report import Reporter 15 class XmlReporter(Reporter): 16 """A reporter for writing Cobertura-style XML coverage results."""
|
/external/chromium_org/third_party/skia/dm/ |
DMCpuGMTask.cpp | 11 Reporter* reporter, 15 : CpuTask(reporter, taskRunner)
|
/external/chromium_org/third_party/skia/tests/ |
FlateTest.cpp | 38 static void TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream, 48 REPORTER_ASSERT(reporter, deflateSuccess); 55 REPORTER_ASSERT(reporter, dataSize == inputSize); 57 REPORTER_ASSERT(reporter, memcmp(testData->data(), 69 REPORTER_ASSERT(reporter, inflateSuccess); 76 REPORTER_ASSERT(reporter, compressedSize == inputSize); 78 REPORTER_ASSERT(reporter, memcmp(testStream->getMemoryBase(), 85 REPORTER_ASSERT(reporter, dataSize == uncompressedData->size()); 87 REPORTER_ASSERT(reporter, memcmp(testData->data() [all...] |
FontConfigParser.cpp | 23 skiatest::Reporter* reporter) { 24 REPORTER_ASSERT(reporter, fontFamilies[0]->fNames.count() == 5); 25 REPORTER_ASSERT(reporter, !strcmp(fontFamilies[0]->fNames[0].c_str(), "sans-serif")); 26 REPORTER_ASSERT(reporter, 29 REPORTER_ASSERT(reporter, !fontFamilies[0]->fIsFallbackFont); 60 DEF_TEST(FontConfigParserAndroid, reporter) { 70 REPORTER_ASSERT(reporter, preV17FontFamilies.count() == 14); 71 REPORTER_ASSERT(reporter, CountFallbacks(preV17FontFamilies) == 10); 74 ValidateLoadedFonts(preV17FontFamilies, reporter); [all...] |
ImageCacheTest.cpp | 44 static void test_cache(skiatest::Reporter* reporter, SkResourceCache& cache, bool testPurge) { 49 REPORTER_ASSERT(reporter, !cache.find(key, TestingRec::Visitor, &value)); 50 REPORTER_ASSERT(reporter, -1 == value); 54 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value)); 55 REPORTER_ASSERT(reporter, i == value); 83 DEF_TEST(ImageCache, reporter) { 88 test_cache(reporter, cache, true); 95 test_cache(reporter, cache, true); 99 test_cache(reporter, cache, false) [all...] |
MD5Test.cpp | 20 static void md5_test(const char* string, const SkMD5::Digest& expectedDigest, skiatest::Reporter* reporter) { 30 REPORTER_ASSERT(reporter, digests_equal(expectedDigest, digest)); 44 REPORTER_ASSERT(reporter, digests_equal(expectedDigest, digest)); 62 DEF_TEST(MD5, reporter) { 64 md5_test(md5_tests[i].message, md5_tests[i].digest, reporter);
|
OSPathTest.cpp | 16 * @param reporter Reporter for test conditions. 22 static void test_dir_with_file(skiatest::Reporter* reporter, SkString dir, 38 REPORTER_ASSERT(reporter, fullName.size() == expectedSize); 44 REPORTER_ASSERT(reporter, basename.equals(filename)); 55 REPORTER_ASSERT(reporter, dirname.equals(strippedDir)); 58 REPORTER_ASSERT(reporter, !basename.contains(SkPATH_SEPARATOR)); 62 REPORTER_ASSERT(reporter, basename.equals(filename)); 65 DEF_TEST(OSPath, reporter) { [all...] |
SHA1Test.cpp | 36 static void sha1_test(const SHA1Test& test, skiatest::Reporter* reporter) { 46 REPORTER_ASSERT(reporter, digests_equal(test.digest, digest)); 49 DEF_TEST(SHA1, reporter) { 51 sha1_test(sha1_tests[i], reporter);
|
BBoxHierarchyTest.cpp | 75 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 81 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 86 skiatest::Reporter* reporter) { 89 REPORTER_ASSERT(reporter, tree); 120 run_queries(reporter, rand, rects, *tree); 121 REPORTER_ASSERT(reporter, NUM_RECTS == tree->getCount()); 122 REPORTER_ASSERT(reporter, 126 REPORTER_ASSERT(reporter, 0 == tree->getCount()) [all...] |
ClipperTest.cpp | 14 static void test_hairclipping(skiatest::Reporter* reporter) { 42 REPORTER_ASSERT(reporter, 0xFFFFFFFF != c); 44 REPORTER_ASSERT(reporter, 0xFFFFFFFF == c); 68 static void test_intersectline(skiatest::Reporter* reporter) { 97 REPORTER_ASSERT(reporter, !valid); 121 REPORTER_ASSERT(reporter, valid && !memcmp(&gFull[i], dst, sizeof(dst))); 140 REPORTER_ASSERT(reporter, valid && 146 DEF_TEST(Clipper, reporter) { [all...] |
DynamicHashTest.cpp | 36 #define ASSERT(x) REPORTER_ASSERT(reporter, x) 38 DEF_TEST(DynamicHash_growth, reporter) { 66 DEF_TEST(DynamicHash_add, reporter) { 78 DEF_TEST(DynamicHash_lookup, reporter) { 113 DEF_TEST(DynamicHash_remove, reporter) { 139 template<typename T> static void TestIter(skiatest::Reporter* reporter) { 187 DEF_TEST(DynamicHash_iterator, reporter) { 188 TestIter<Hash::Iter>(reporter); 189 TestIter<Hash::ConstIter>(reporter); [all...] |
FontNamesTest.cpp | 112 static void test_synthetic(skiatest::Reporter* reporter, bool verbose) { 118 REPORTER_ASSERT_MESSAGE(reporter, 123 REPORTER_ASSERT_MESSAGE(reporter, 133 REPORTER_ASSERT_MESSAGE(reporter, nameIndex == test[i].nameCount, 136 REPORTER_ASSERT_MESSAGE(reporter, !iter.next(record), 142 static void test_systemfonts(skiatest::Reporter* reporter, bool verbose) { 186 REPORTER_ASSERT_MESSAGE(reporter, 198 REPORTER_ASSERT_MESSAGE(reporter, [all...] |
GpuLayerCacheTest.cpp | 27 static void create_layers(skiatest::Reporter* reporter, 39 REPORTER_ASSERT(reporter, layer); 42 REPORTER_ASSERT(reporter, temp == layer); 44 REPORTER_ASSERT(reporter, TestingAccess::NumLayers(cache) == idOffset + i + 1); 46 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); 47 REPORTER_ASSERT(reporter, layer->start() == idOffset + i + 1); 48 REPORTER_ASSERT(reporter, layer->stop() == idOffset + i + 2); 49 REPORTER_ASSERT(reporter, layer->ctm() == SkMatrix::I()); 50 REPORTER_ASSERT(reporter, NULL == layer->texture()) [all...] |
PackBitsTest.cpp | 23 static void test_pack16(skiatest::Reporter* reporter) { 42 REPORTER_ASSERT(reporter, match); 53 REPORTER_ASSERT(reporter, maxSize >= dstSize); 56 REPORTER_ASSERT(reporter, size == srcCount); 58 REPORTER_ASSERT(reporter, match); 73 static void test_pack8(skiatest::Reporter* reporter) { 90 REPORTER_ASSERT(reporter, dstSize <= maxSize); 96 REPORTER_ASSERT(reporter, match) [all...] |
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); 119 static void testOne(skiatest::Reporter* reporter, int iIndex) { 130 REPORTER_ASSERT(reporter, 0); 134 REPORTER_ASSERT(reporter, 0); 148 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)) [all...] |
/external/objenesis/tck/test/org/objenesis/tck/ |
ObjenesisTest.java | 42 public static class JUnitReporter implements Reporter {
|