/external/chromium_org/third_party/skia/tests/ |
PictureStateTreeTest.cpp | 67 static void check_bms(skiatest::Reporter* reporter, const SkBitmap& bm1, const SkBitmap& bm2) { 69 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getAddr(0, 0), bm2.getAddr(0, 0), bm1.getSize())); 72 static void test_reference_picture(skiatest::Reporter* reporter) { 90 REPORTER_ASSERT(reporter, 92 REPORTER_ASSERT(reporter, 94 check_bms(reporter, referenceBitmap, bbhBitmap); 102 REPORTER_ASSERT(reporter, 104 REPORTER_ASSERT(reporter, [all...] |
RTreeTest.cpp | 74 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 80 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 84 static void rtree_test_main(SkRTree* rtree, skiatest::Reporter* reporter) { 87 REPORTER_ASSERT(reporter, rtree); 114 run_queries(reporter, rand, rects, *rtree); 115 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount()); 116 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree->getDepth() && 119 REPORTER_ASSERT(reporter, 0 == rtree->getCount()) [all...] |
skia_test.cpp | 37 Test* next(Reporter* r) { 52 class DebugfReporter : public Reporter { 164 while ((test = iter.next(NULL/*reporter not needed*/)) != NULL) { 181 DebugfReporter reporter(toRun); 183 SkAutoTDelete<Test> test(iter.next(&reporter)); 211 toRun, failCount, skipCount, reporter.countTests());
|
ClampRangeTest.cpp | 12 static skiatest::Reporter* gReporter; 66 DEF_TEST(ClampRange, reporter) { 67 gReporter = reporter;
|
GifTest.cpp | 51 static void test_gif_data_no_colormap(skiatest::Reporter* r, 65 static void test_gif_data(skiatest::Reporter* r, void* data, size_t size) { 85 static void test_interlaced_gif_data(skiatest::Reporter* r, 118 static void test_gif_data_short(skiatest::Reporter* r, 143 DEF_TEST(Gif, reporter) { 145 test_gif_data(reporter, static_cast<void *>(gGIFData), sizeof(gGIFData)); 146 test_interlaced_gif_data(reporter, static_cast<void *>(gInterlacedGIF), 157 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); 162 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); 167 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)) [all...] |
PDFJpegEmbedTest.cpp | 45 skiatest::Reporter* r, const char* test, const char* filename) {
|
ResourceCacheTest.cpp | 20 static void test_cache(skiatest::Reporter* reporter, 56 REPORTER_ASSERT(reporter, curCacheSize <= maxCacheSize); 110 static void test_purge_invalidated(skiatest::Reporter* reporter, GrContext* context) { 137 REPORTER_ASSERT(reporter, 3 == TestResource::alive()); 141 REPORTER_ASSERT(reporter, 0 == TestResource::alive()); 144 static void test_cache_delete_on_destruction(skiatest::Reporter* reporter, 167 REPORTER_ASSERT(reporter, 2 == TestResource::alive()) [all...] |
BlitRowTest.cpp | 84 skiatest::Reporter* reporter) { 91 ERRORF(reporter, "BlitRow colortype=%s [%d %d] expected %x got %x", 100 static void test_00_FF(skiatest::Reporter* reporter) { 149 gSrcRec[j].fResult8, reporter)) { 190 static void test_diagonal(skiatest::Reporter* reporter) { 250 ERRORF(reporter, "Diagonal colortype=%s bg=0x%x dither=%d" 261 DEF_TEST(BlitRow, reporter) { [all...] |
/external/skia/tests/ |
DeviceLooperTest.cpp | 40 static void test_simple(skiatest::Reporter* reporter) { 52 REPORTER_ASSERT(reporter, valid); 54 REPORTER_ASSERT(reporter, looper.getBitmap().width() == bitmap.width()); 55 REPORTER_ASSERT(reporter, looper.getBitmap().height() == bitmap.height()); 56 REPORTER_ASSERT(reporter, equal(looper.getRC(), rc)); 58 REPORTER_ASSERT(reporter, !looper.next()); 66 REPORTER_ASSERT(reporter, !looper.next()); 95 static void test_complex(skiatest::Reporter* reporter) { [all...] |
FontObjTest.cpp | 25 static void test_cachedfont(skiatest::Reporter* reporter, const SkPaint& paint) { 30 REPORTER_ASSERT(reporter, font->getTypeface() == paint.getTypeface()); 32 REPORTER_ASSERT(reporter, font->getSize() == paint.getTextSize()); 33 REPORTER_ASSERT(reporter, font->getScaleX() == paint.getTextScaleX()); 34 REPORTER_ASSERT(reporter, font->getSkewX() == paint.getTextSkewX()); 36 REPORTER_ASSERT(reporter, font->isVertical() == paint.isVerticalText()); 37 REPORTER_ASSERT(reporter, font->isEmbolden() == paint.isFakeBoldText()); 39 REPORTER_ASSERT(reporter, font->isUseNonLinearMetrics() == is_use_nonlinear_metrics(paint)); 40 REPORTER_ASSERT(reporter, font->isEnableAutoHints() == is_enable_auto_hints(paint)) [all...] |
PathCoverageTest.cpp | 112 skiatest::Reporter* reporter) { 139 ERRORF(reporter, "Curve from %.2f %.2f through %.2f %.2f to " 152 static void TestQuadPointCount(skiatest::Reporter* reporter) { 153 one_d_pe(gXY, SK_ARRAY_COUNT(gXY), reporter); 154 one_d_pe(gSawtooth, SK_ARRAY_COUNT(gSawtooth), reporter); 155 one_d_pe(gOvalish, SK_ARRAY_COUNT(gOvalish), reporter); 156 one_d_pe(gSharpSawtooth, SK_ARRAY_COUNT(gSharpSawtooth), reporter); 157 one_d_pe(gRibbon, SK_ARRAY_COUNT(gRibbon), reporter); [all...] |
PathOpsSimplifyFailTest.cpp | 40 static void failOne(skiatest::Reporter* reporter, int index) { 63 REPORTER_ASSERT(reporter, !success); 64 REPORTER_ASSERT(reporter, result.isEmpty()); 65 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType); 66 reporter->bumpTestCount(); 69 static void dontFailOne(skiatest::Reporter* reporter, int index) { 92 REPORTER_ASSERT(reporter, success || index == 13); 93 REPORTER_ASSERT(reporter, result.getFillType() != SkPath::kWinding_FillType) [all...] |
PictureStateTreeTest.cpp | 67 static void check_bms(skiatest::Reporter* reporter, const SkBitmap& bm1, const SkBitmap& bm2) { 69 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getAddr(0, 0), bm2.getAddr(0, 0), bm1.getSize())); 72 static void test_reference_picture(skiatest::Reporter* reporter) { 90 REPORTER_ASSERT(reporter, 92 REPORTER_ASSERT(reporter, 94 check_bms(reporter, referenceBitmap, bbhBitmap); 102 REPORTER_ASSERT(reporter, 104 REPORTER_ASSERT(reporter, [all...] |
RTreeTest.cpp | 70 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 76 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 80 static void rtree_test_main(SkRTree* rtree, skiatest::Reporter* reporter) { 83 REPORTER_ASSERT(reporter, NULL != rtree); 110 run_queries(reporter, rand, rects, *rtree); 111 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount()); 112 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree->getDepth() && 115 REPORTER_ASSERT(reporter, 0 == rtree->getCount()) [all...] |
ClampRangeTest.cpp | 12 static skiatest::Reporter* gReporter; 66 DEF_TEST(ClampRange, reporter) { 67 gReporter = reporter;
|
GifTest.cpp | 51 static void test_gif_data_no_colormap(skiatest::Reporter* r, 65 static void test_gif_data(skiatest::Reporter* r, void* data, size_t size) { 85 static void test_interlaced_gif_data(skiatest::Reporter* r, 118 static void test_gif_data_short(skiatest::Reporter* r, 143 DEF_TEST(Gif, reporter) { 145 test_gif_data(reporter, static_cast<void *>(gGIFData), sizeof(gGIFData)); 146 test_interlaced_gif_data(reporter, static_cast<void *>(gInterlacedGIF), 157 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); 162 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)); 167 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData)) [all...] |
GpuDrawPathTest.cpp | 21 static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) { 44 DEF_GPUTEST(GpuDrawPath, reporter, factory) { 70 test_drawPathEmpty(reporter, &drawingCanvas);
|
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); 43 REPORTER_ASSERT(reporter, basename.equals(filename)); 46 REPORTER_ASSERT(reporter, !basename.contains(SkPATH_SEPARATOR)); 50 REPORTER_ASSERT(reporter, basename.equals(filename)); 53 DEF_TEST(OSPath, reporter) { 56 test_dir_with_file(reporter, dir, filename) [all...] |
ResourceCacheTest.cpp | 19 static void test_cache(skiatest::Reporter* reporter, 55 REPORTER_ASSERT(reporter, curCacheSize <= maxCacheSize); 108 static void test_purge_invalidated(skiatest::Reporter* reporter, GrContext* context) { 135 REPORTER_ASSERT(reporter, 3 == TestResource::alive()); 139 REPORTER_ASSERT(reporter, 0 == TestResource::alive()); 142 static void test_cache_delete_on_destruction(skiatest::Reporter* reporter, 165 REPORTER_ASSERT(reporter, 2 == TestResource::alive()) [all...] |
TestSize.cpp | 11 static void TestISize(skiatest::Reporter* reporter) { 15 REPORTER_ASSERT(reporter, a.isEmpty()); 17 REPORTER_ASSERT(reporter, a.isEmpty()); 19 REPORTER_ASSERT(reporter, a.isEmpty()); 21 REPORTER_ASSERT(reporter, a == b); 24 REPORTER_ASSERT(reporter, !a.isEmpty()); 26 REPORTER_ASSERT(reporter, !b.isEmpty()); 27 REPORTER_ASSERT(reporter, a == b); 28 REPORTER_ASSERT(reporter, !(a != b)) [all...] |
/external/skia/dm/ |
DMCpuGMTask.cpp | 14 Reporter* reporter, 19 : CpuTask(reporter, taskRunner)
|
/external/stlport/test/unit/cppunit/ |
file_reporter.h | 26 // CppUnit mini file(stream) reporter 28 class FileReporter : public CPPUNIT_NS::Reporter {
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
file_reporter.h | 26 // CppUnit mini file(stream) reporter 28 class FileReporter : public CPPUNIT_NS::Reporter {
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
file_reporter.h | 26 // CppUnit mini file(stream) reporter 28 class FileReporter : public CPPUNIT_NS::Reporter {
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_reader.cc | 15 Reader::Reporter::~Reporter() { 18 Reader::Reader(SequentialFile* file, Reporter* reporter, bool checksum, 21 reporter_(reporter),
|