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

1 2 3 4 5 67 8 91011>>

  /external/skia/tests/
RecordTestUtils.h 31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) {
RoundRectTest.cpp 12 static void test_tricky_radii(skiatest::Reporter* reporter) {
31 REPORTER_ASSERT(reporter, (double) rr.radii(SkRRect::kUpperRight_Corner).fY +
37 static void test_empty_crbug_458524(skiatest::Reporter* reporter) {
47 REPORTER_ASSERT(reporter, SkRRect::kEmpty_Type == other.getType());
52 static void test_empty(skiatest::Reporter* reporter) {
72 REPORTER_ASSERT(reporter, !r.isEmpty());
75 REPORTER_ASSERT(reporter, !r.isEmpty())
    [all...]
SmallAllocatorTest.cpp 30 template<uint32_t kMaxObjects, size_t kBytes> void test_allocator(skiatest::Reporter* reporter) {
35 REPORTER_ASSERT(reporter, c != nullptr);
36 REPORTER_ASSERT(reporter, CountingClass::GetCount() == static_cast<int>(i+1));
39 REPORTER_ASSERT(reporter, CountingClass::GetCount() == 0);
44 DEF_TEST(SmallAllocator_destructor, reporter) {
48 test_allocator<5, 20>(reporter);
49 test_allocator<10, 40>(reporter);
50 test_allocator<20, 80>(reporter);
55 test_allocator<50, 20>(reporter);
    [all...]
SortTest.cpp 26 static void check_sort(skiatest::Reporter* reporter, const char label[],
30 ERRORF(reporter, "%sSort [%d] failed %d %d",
36 DEF_TEST(Sort, reporter) {
56 check_sort(reporter, "Heap", workingArray, sortedArray, count);
60 check_sort(reporter, "Quick", workingArray, sortedArray, count);
TemplatesTest.cpp 12 static void test_automalloc_realloc(skiatest::Reporter* reporter) {
17 REPORTER_ASSERT(reporter, array[0] == 1);
23 REPORTER_ASSERT(reporter, array[0] == 1);
27 REPORTER_ASSERT(reporter, array[0] == 1);
31 REPORTER_ASSERT(reporter, array[0] == 1);
43 REPORTER_ASSERT(reporter, array[i] == 10 - i);
47 REPORTER_ASSERT(reporter, array[i] == 10 - i);
51 REPORTER_ASSERT(reporter, array[0] = 10);
59 REPORTER_ASSERT(reporter, array[0] == 1)
    [all...]
UtilsTest.cpp 28 static void test_autounref(skiatest::Reporter* reporter) {
30 REPORTER_ASSERT(reporter, obj.unique());
33 REPORTER_ASSERT(reporter, &obj == tmp.get());
34 REPORTER_ASSERT(reporter, obj.unique());
36 REPORTER_ASSERT(reporter, &obj == tmp.detach());
37 REPORTER_ASSERT(reporter, obj.unique());
38 REPORTER_ASSERT(reporter, nullptr == tmp.detach());
39 REPORTER_ASSERT(reporter, nullptr == tmp.get());
42 REPORTER_ASSERT(reporter, !obj.unique())
    [all...]
DrawBitmapRectTest.cpp 33 static void test_faulty_pixelref(skiatest::Reporter* reporter) {
85 static void test_treatAsSprite(skiatest::Reporter* reporter) {
100 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, noaaPaint));
109 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, noaaPaint));
110 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, aaPaint));
118 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, aaPaint));
120 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, aaPaint));
124 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, aaPaint))
    [all...]
DrawPathTest.cpp 16 static void test_big_aa_rect(skiatest::Reporter* reporter) {
30 REPORTER_ASSERT(reporter, 0 == pixel[0]);
32 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed");
45 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]);
47 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed");
278 static void test_infinite_dash(skiatest::Reporter* reporter) {
293 REPORTER_ASSERT(reporter, true);
298 static void test_crbug_165432(skiatest::Reporter* reporter)
    [all...]
ImageFilterCacheTest.cpp 29 static void test_find_existing(skiatest::Reporter* reporter,
45 REPORTER_ASSERT(reporter, foundImage);
46 REPORTER_ASSERT(reporter, offset == foundOffset);
48 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset));
53 static void test_dont_find_if_diff_key(skiatest::Reporter* reporter,
72 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset));
73 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset));
74 REPORTER_ASSERT(reporter, !cache->get(key3, &foundOffset))
    [all...]
Matrix44Test.cpp 30 template <typename T> void assert16(skiatest::Reporter* reporter, const T data[],
35 REPORTER_ASSERT(reporter, data[0] == m0);
36 REPORTER_ASSERT(reporter, data[1] == m1);
37 REPORTER_ASSERT(reporter, data[2] == m2);
38 REPORTER_ASSERT(reporter, data[3] == m3);
40 REPORTER_ASSERT(reporter, data[4] == m4);
41 REPORTER_ASSERT(reporter, data[5] == m5);
42 REPORTER_ASSERT(reporter, data[6] == m6);
43 REPORTER_ASSERT(reporter, data[7] == m7)
    [all...]
PathOpsQuadIntersectionTest.cpp 14 static void standardTestCases(skiatest::Reporter* reporter) {
47 REPORTER_ASSERT(reporter, 0);
325 static void oneOffTest1(skiatest::Reporter* reporter, size_t outer, size_t inner) {
341 REPORTER_ASSERT(reporter, 0);
350 static void oneOffTests(skiatest::Reporter* reporter) {
353 oneOffTest1(reporter, outer, inner);
373 static void coincidentTestOne(skiatest::Reporter* reporter, int test1, int test2)
    [all...]
PathOpsExtendedTest.cpp 290 int comparePaths(skiatest::Reporter* reporter, const char* filename, const SkPath& one,
313 SkDebugf("static void %s%d%s(skiatest::Reporter* reporter, const char* filename) {\n",
320 SkDebugf(" testPathOp(reporter, path, pathB, %s, filename);\n", opStrs[shapeOp]);
336 static int comparePaths(skiatest::Reporter* reporter, const char* testName, const SkPath& one,
345 REPORTER_ASSERT(reporter, 0);
356 REPORTER_ASSERT(reporter, 0);
362 // Default values for when reporter->verbose() is false
    [all...]
AAClipTest.cpp 132 static void test_rgn(skiatest::Reporter* reporter) {
137 REPORTER_ASSERT(reporter, equalsAAClip(rgn));
145 REPORTER_ASSERT(reporter, equalsAAClip(rgn));
153 REPORTER_ASSERT(reporter, equalsAAClip(rgn));
180 static void test_path_bounds(skiatest::Reporter* reporter) {
187 REPORTER_ASSERT(reporter, sheight == path.getBounds().height());
189 REPORTER_ASSERT(reporter, height == clip.getBounds().height());
201 REPORTER_ASSERT(reporter, sheight == path.getBounds().height())
    [all...]
StreamTest.cpp 24 static void test_loop_stream(skiatest::Reporter* reporter, SkStream* stream,
31 REPORTER_ASSERT(reporter, bytes == len);
32 REPORTER_ASSERT(reporter, !memcmp(tmp, src, len));
37 REPORTER_ASSERT(reporter, 0 == bytes);
39 REPORTER_ASSERT(reporter, stream->isAtEnd());
42 static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) {
50 ERRORF(reporter, "Failed to create tmp file %s\n", path.c_str());
61 REPORTER_ASSERT(reporter, stream.isValid())
    [all...]
CachedDecodingPixelRefTest.cpp 52 static void compare_bitmaps(skiatest::Reporter* reporter,
55 REPORTER_ASSERT(reporter, b1.empty() == b2.empty());
56 REPORTER_ASSERT(reporter, b1.width() == b2.width());
57 REPORTER_ASSERT(reporter, b1.height() == b2.height());
58 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull());
61 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull());
65 REPORTER_ASSERT(reporter, b1.getPixels());
66 REPORTER_ASSERT(reporter, b2.getPixels());
86 REPORTER_ASSERT(reporter, 0 == pixelErrors)
    [all...]
SkResourceCacheTest.cpp 37 DEF_TEST(BitmapCache_add_rect, reporter) {
58 REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedPR, SkIRect::MakeWH(4, 6), cachedBitmap, cache));
59 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedID, rect, &bm, cache));
61 REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedPR, SkIRect::MakeXYWH(-1, 0, 5, 5), cachedBitmap, cache));
62 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedID, rect, &bm, cache));
65 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedID, rect, &bm, cache));
67 REPORTER_ASSERT(reporter, SkBitmapCache::Add(cachedPR, rect, cachedBitmap, cache));
69 REPORTER_ASSERT(reporter, SkBitmapCache::Find(cachedID, rect, &bm, cache));
84 static void check_data(skiatest::Reporter* reporter, const SkCachedData* data
    [all...]
PathOpsSkpTest.cpp 11 static void skpcheeseandburger_com225(skiatest::Reporter* reporter, const char* filename) {
369 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename);
372 static void skpeverytechpro_blogspot_com100(skiatest::Reporter* reporter, const char* filename) {
403 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename);
406 static void skpflite_com41(skiatest::Reporter* reporter, const char* filename) {
426 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename);
429 static void skpilkoora_com37(skiatest::Reporter* reporter, const char* filename)
    [all...]
DeviceLooperTest.cpp 39 static void test_simple(skiatest::Reporter* reporter) {
51 REPORTER_ASSERT(reporter, valid);
53 REPORTER_ASSERT(reporter, looper.getPixmap().width() == pmap.width());
54 REPORTER_ASSERT(reporter, looper.getPixmap().height() == pmap.height());
55 REPORTER_ASSERT(reporter, equal(looper.getRC(), rc));
57 REPORTER_ASSERT(reporter, !looper.next());
65 REPORTER_ASSERT(reporter, !looper.next());
94 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...]
GpuDrawPathTest.cpp 28 static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) {
65 static void test_drawSameRectOvals(skiatest::Reporter*, SkCanvas* canvas) {
80 DEF_GPUTEST_FOR_ALL_CONTEXTS(GpuDrawPath, reporter, context) {
90 test_func(reporter, surface->getCanvas());
95 DEF_GPUTEST(GrPathKeys, reporter, /*factory*/) {
111 REPORTER_ASSERT(reporter, key1 != key2);
ImageCacheTest.cpp 45 static void test_cache(skiatest::Reporter* reporter, SkResourceCache& cache, bool testPurge) {
50 REPORTER_ASSERT(reporter, !cache.find(key, TestingRec::Visitor, &value));
51 REPORTER_ASSERT(reporter, -1 == value);
55 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value));
56 REPORTER_ASSERT(reporter, i == value);
76 static void test_cache_purge_shared_id(skiatest::Reporter* reporter, SkResourceCache& cache) {
87 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value));
88 REPORTER_ASSERT(reporter, value == i)
    [all...]
  /external/autotest/frontend/health/
passing_experimental_functional_test.py 62 self.mox.StubOutClassWithMocks(reporting, 'Reporter')
106 reporter1 = reporting.Reporter()
112 reporter2 = reporting.Reporter()
  /external/chromium-trace/catapult/third_party/coverage/coverage/
summary.py 9 from coverage.report import Reporter
14 class SummaryReporter(Reporter):
15 """A reporter for writing the summary report."""
  /external/google-breakpad/src/tools/mac/dump_syms/
macho_dump.cc 133 mach_o::FatReader::Reporter fat_reporter(filename);
163 mach_o::Reader::Reporter reporter(name.str());
164 mach_o::Reader reader(&reporter);
  /external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
ReplaceSelectedJavadoc.java 20 import com.google.currysrc.api.process.Reporter;
51 @Override protected String processComment(Reporter reporter, Comment commentNode,
66 reporter.info(bodyDeclaration, "Replaced comment text");

Completed in 291 milliseconds

1 2 3 4 5 67 8 91011>>