HomeSort by relevance Sort by last modified time
    Searched refs:reporter (Results 251 - 275 of 541) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/skia/tests/
ImageNewShaderTest.cpp 19 void testBitmapEquality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) {
23 REPORTER_ASSERT(reporter, bm1.getSize() == bm2.getSize());
24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize()));
44 void runShaderTest(skiatest::Reporter* reporter, SkSurface* sourceSurface, SkSurface* destinationSurface, SkImageInfo& info) {
68 testBitmapEquality(reporter, bmOrig, bm);
95 REPORTER_ASSERT(reporter, 0xFFFF0000 == bmt.getColor(0, y));
98 REPORTER_ASSERT(reporter, 0xFFDEDEDE == bmt.getColor(x, y));
104 DEF_TEST(ImageNewShader, reporter) {
    [all...]
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...]
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...]
PictureTest.cpp 477 static void test_gatherpixelrefs(skiatest::Reporter* reporter) {
499 REPORTER_ASSERT(reporter, pic->willPlayBackBitmaps() || N == 0);
508 ERRORF(reporter, "SkPictureUtils::GatherPixelRefs returned "
514 REPORTER_ASSERT(reporter, 1 == count || 2 == count);
516 REPORTER_ASSERT(reporter, gatheredRefs[0] == refs[i]);
518 REPORTER_ASSERT(reporter,
551 ERRORF(reporter, "PixelRef missing %d %s",
566 ERRORF(reporter, "PixelRef missing %d %s",
587 static void test_analysis(skiatest::Reporter* reporter, bool useNewPath)
    [all...]
NameAllocatorTest.cpp 20 NameLeakTest(skiatest::Reporter* reporter)
21 : fReporter(reporter),
122 skiatest::Reporter* fReporter;
129 DEF_GPUTEST(NameAllocator, reporter, factory) {
132 NameLeakTest nameLeakTest(reporter);
141 REPORTER_ASSERT(reporter, 0 == allocator.allocateName());
146 REPORTER_ASSERT(reporter, 0 == allocator.allocateName());
162 ERRORF(reporter, "Name allocate failed when there should be free names");
166 REPORTER_ASSERT(reporter, 0 == allocator.allocateName())
    [all...]
SkBase64Test.cpp 12 DEF_TEST(SkBase64, reporter) {
26 REPORTER_ASSERT(reporter, (strcmp((const char*) (all + offset), tryMe.getData()) == 0));
PaintTest.cpp 62 DEF_TEST(Paint_cmap, reporter) {
106 REPORTER_ASSERT(reporter, NGLYPHS == nglyphs);
107 REPORTER_ASSERT(reporter, index == first);
108 REPORTER_ASSERT(reporter, 0 == memcmp(glyphs0, glyphs1, NGLYPHS * sizeof(uint16_t)));
110 REPORTER_ASSERT(reporter, NGLYPHS == first);
112 REPORTER_ASSERT(reporter, NGLYPHS > first);
119 DEF_TEST(Paint_filterlevel, reporter) {
122 REPORTER_ASSERT(reporter,
133 REPORTER_ASSERT(reporter, gLevels[i] == p0.getFilterLevel());
135 REPORTER_ASSERT(reporter, gLevels[i] == p1.getFilterLevel())
    [all...]
PathOpsCubicIntersectionTest.cpp 16 static void standardTestCases(skiatest::Reporter* reporter) {
60 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
62 reporter->bumpTestCount();
310 static void oneOff(skiatest::Reporter* reporter, const SkDCubic& cubic1, const SkDCubic& cubic2,
345 REPORTER_ASSERT(reporter, !coin || intersections.used() == 2);
359 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(iPt));
360 REPORTER_ASSERT(reporter, xy2.approximatelyEqual(iPt));
361 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2))
    [all...]
PathUtilsTest.cpp 79 static bool test_bmp(skiatest::Reporter* reporter,
84 REPORTER_ASSERT( reporter, *bmp1->getAddr32(x,y) == *bmp2->getAddr32(x,y) );
90 static void test_path_eq(skiatest::Reporter* reporter, const SkPath* path,
106 test_bmp(reporter, truth, &bmp, w, h);
109 static void test_path(skiatest::Reporter* reporter, const SkBitmap* truth,
116 test_path_eq(reporter, &path, truth, w, h);
119 static void test_region(skiatest::Reporter* reporter, const SkBitmap* truth
    [all...]
  /external/chromium_org/third_party/skia/dm/
DMTask.h 32 Task(Reporter* reporter, TaskRunner* taskRunner);
43 Reporter* fReporter; // Unowned.
51 CpuTask(Reporter* reporter, TaskRunner* taskRunner);
63 GpuTask(Reporter* reporter, TaskRunner* taskRunner);
DMTask.cpp 7 Task::Task(Reporter* reporter, TaskRunner* taskRunner)
8 : fReporter(reporter)
45 CpuTask::CpuTask(Reporter* reporter, TaskRunner* taskRunner) : Task(reporter, taskRunner) {}
66 GpuTask::GpuTask(Reporter* reporter, TaskRunner* taskRunner) : Task(reporter, taskRunner) {}
  /external/skia/dm/
DMTask.h 31 Task(Reporter* reporter, TaskRunner* taskRunner);
42 Reporter* fReporter; // Unowned.
50 CpuTask(Reporter* reporter, TaskRunner* taskRunner);
62 GpuTask(Reporter* reporter, TaskRunner* taskRunner);
DMTask.cpp 12 Task::Task(Reporter* reporter, TaskRunner* taskRunner)
13 : fReporter(reporter)
50 CpuTask::CpuTask(Reporter* reporter, TaskRunner* taskRunner) : Task(reporter, taskRunner) {}
69 GpuTask::GpuTask(Reporter* reporter, TaskRunner* taskRunner) : Task(reporter, taskRunner) {}
  /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...]
ImageCacheTest.cpp 19 static void test_cache(skiatest::Reporter* reporter, SkScaledImageCache& cache,
34 REPORTER_ASSERT(reporter, NULL == id);
38 REPORTER_ASSERT(reporter, NULL != id);
43 REPORTER_ASSERT(reporter, id == id2);
44 REPORTER_ASSERT(reporter, tmp.pixelRef() == tmp2.pixelRef());
45 REPORTER_ASSERT(reporter, tmp.width() == tmp2.width());
46 REPORTER_ASSERT(reporter, tmp.height() == tmp2.height());
63 REPORTER_ASSERT(reporter, NULL != id);
88 DEF_TEST(ImageCache, reporter) {
    [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...]
NameAllocatorTest.cpp 20 NameLeakTest(skiatest::Reporter* reporter)
21 : fReporter(reporter),
122 skiatest::Reporter* fReporter;
129 DEF_GPUTEST(NameAllocator, reporter, factory) {
132 NameLeakTest nameLeakTest(reporter);
141 REPORTER_ASSERT(reporter, 0 == allocator.allocateName());
146 REPORTER_ASSERT(reporter, 0 == allocator.allocateName());
162 ERRORF(reporter, "Name allocate failed when there should be free names");
166 REPORTER_ASSERT(reporter, 0 == allocator.allocateName())
    [all...]
SkBase64Test.cpp 12 DEF_TEST(SkBase64Test, reporter) {
26 REPORTER_ASSERT(reporter, (strcmp((const char*) (all + offset), tryMe.getData()) == 0));
PaintTest.cpp 62 DEF_TEST(Paint_cmap, reporter) {
106 REPORTER_ASSERT(reporter, NGLYPHS == nglyphs);
107 REPORTER_ASSERT(reporter, index == first);
108 REPORTER_ASSERT(reporter, 0 == memcmp(glyphs0, glyphs1, NGLYPHS * sizeof(uint16_t)));
110 REPORTER_ASSERT(reporter, NGLYPHS == first);
112 REPORTER_ASSERT(reporter, NGLYPHS > first);
119 DEF_TEST(Paint_filterlevel, reporter) {
122 REPORTER_ASSERT(reporter,
133 REPORTER_ASSERT(reporter, gLevels[i] == p0.getFilterLevel());
135 REPORTER_ASSERT(reporter, gLevels[i] == p1.getFilterLevel())
    [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...]
PathOpsCubicIntersectionTest.cpp 16 static void standardTestCases(skiatest::Reporter* reporter) {
60 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
62 reporter->bumpTestCount();
310 static void oneOff(skiatest::Reporter* reporter, const SkDCubic& cubic1, const SkDCubic& cubic2,
345 REPORTER_ASSERT(reporter, !coin || intersections.used() == 2);
359 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(iPt));
360 REPORTER_ASSERT(reporter, xy2.approximatelyEqual(iPt));
361 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2))
    [all...]
PathUtilsTest.cpp 79 static bool test_bmp(skiatest::Reporter* reporter,
84 REPORTER_ASSERT( reporter, *bmp1->getAddr32(x,y) == *bmp2->getAddr32(x,y) );
90 static void test_path_eq(skiatest::Reporter* reporter, const SkPath* path,
106 test_bmp(reporter, truth, &bmp, w, h);
109 static void test_path(skiatest::Reporter* reporter, const SkBitmap* truth,
116 test_path_eq(reporter, &path, truth, w, h);
119 static void test_region(skiatest::Reporter* reporter, const SkBitmap* truth
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/
CloseGuard.java 122 private static volatile Reporter REPORTER = new DefaultReporter();
146 * Used to replace default Reporter used to warn of CloseGuard
149 public static void setReporter(Reporter reporter) {
150 if (reporter == null) {
151 throw new NullPointerException("reporter == null");
153 REPORTER = reporter;
157 * Returns non-null CloseGuard.Reporter
    [all...]
  /libcore/luni/src/main/java/libcore/io/
DropBox.java 24 private static volatile Reporter REPORTER = new DefaultReporter();
27 * Used to replace default Reporter for logging events. Must be non-null.
29 public static void setReporter(Reporter reporter) {
30 if (reporter == null) {
31 throw new NullPointerException("reporter == null");
33 REPORTER = reporter;
37 * Returns non-null Reporter
    [all...]
  /external/objenesis/tck/test/org/objenesis/tck/
TCKTest.java 64 Reporter reporter = new RecordingReporter(); local
65 tck.runTests(reporter);
67 // Expect... the reporter to have received a sequence of calls
75 + "result(false)\n" + "endTest()\n" + "endTests()\n", reporter.toString());
90 Reporter reporter = new RecordingReporter(); local
91 tck.runTests(reporter);
93 // Expect... the reporter to be notified that A succeeded
99 "endTest()\n" + "endTests()\n", reporter.toString())
    [all...]

Completed in 970 milliseconds

<<11121314151617181920>>