Searched defs:reporter (Results 1 - 25 of 278) sorted by last modified time

1234567891011>>

/external/stlport/test/unit/cppunit/
H A Dtest_main.cpp107 CPPUNIT_NS::Reporter* reporter; local
109 reporter = new FileReporter(fileName, doMonitoring);
111 reporter = new FileReporter(stdout, doMonitoring);
115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true);
117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName);
120 reporter->printSummary();
121 delete reporter;
/external/skia/tests/
H A DAAClipTest.cpp132 static void test_rgn(skiatest::Reporter* reporter) { argument
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) { argument
187 REPORTER_ASSERT(reporter, sheight == path.getBounds().height());
189 REPORTER_ASSERT(reporter, height == clip.getBounds().height());
201 REPORTER_ASSERT(reporter, sheight == path.getBounds().height());
203 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height());
206 static void test_empty(skiatest::Reporter* reporter) { argument
245 test_irect(skiatest::Reporter* reporter) argument
288 test_path_with_hole(skiatest::Reporter* reporter) argument
348 did_dx_affect(skiatest::Reporter* reporter, const SkScalar dx[], size_t count, bool changed) argument
371 test_nearly_integral(skiatest::Reporter* reporter) argument
[all...]
H A DBBoxHierarchyTest.cpp75 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], argument
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());
134 run_queries(reporter, rand, rects, *tree);
135 REPORTER_ASSERT(reporter, NUM_RECT
85 tree_test_main(SkBBoxHierarchy* tree, int minChildren, int maxChildren, skiatest::Reporter* reporter) argument
[all...]
H A DBitmapCopyTest.cpp21 static void report_opaqueness(skiatest::Reporter* reporter, const SkBitmap& src, argument
23 ERRORF(reporter, "src %s opaque:%d, dst %s opaque:%d",
33 static void test_isOpaque(skiatest::Reporter* reporter, argument
39 REPORTER_ASSERT(reporter, srcPremul.copyTo(&dst, dstColorType));
40 REPORTER_ASSERT(reporter, dst.colorType() == dstColorType);
42 report_opaqueness(reporter, srcPremul, dst);
46 REPORTER_ASSERT(reporter, srcOpaque.copyTo(&dst, dstColorType));
47 REPORTER_ASSERT(reporter, dst.colorType() == dstColorType);
49 report_opaqueness(reporter, srcOpaque, dst);
163 skiatest::Reporter* reporter){
160 reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, Coordinates& coords, const char* msg, skiatest::Reporter* reporter) argument
[all...]
H A DBitmapHasherTest.cpp19 SkColor color, skiatest::Reporter* reporter) {
21 REPORTER_ASSERT(reporter, bitmap->allocPixels(info));
25 DEF_TEST(BitmapHasher, reporter) {
30 CreateTestBitmap(&bitmap, 333, 555, SK_ColorBLUE, reporter);
31 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
32 REPORTER_ASSERT(reporter, digest == 0xfb2903562766ef87ULL);
34 CreateTestBitmap(&bitmap, 555, 333, SK_ColorBLUE, reporter);
35 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
36 REPORTER_ASSERT(reporter, digest == 0xfe04023fb97d0f61ULL);
38 CreateTestBitmap(&bitmap, 555, 333, SK_ColorGREEN, reporter);
18 CreateTestBitmap(SkBitmap* bitmap, int width, int height, SkColor color, skiatest::Reporter* reporter) argument
[all...]
H A DBitmapTest.cpp12 static void test_bigwidth(skiatest::Reporter* reporter) { argument
17 REPORTER_ASSERT(reporter, bm.setInfo(info));
19 REPORTER_ASSERT(reporter, bm.setInfo(info));
28 REPORTER_ASSERT(reporter, !bm.setInfo(info));
34 DEF_TEST(Bitmap, reporter) {
40 REPORTER_ASSERT(reporter, setConf);
42 REPORTER_ASSERT(reporter, bm.allocPixels(NULL));
44 REPORTER_ASSERT(reporter, SkToBool(width & height) != bm.empty());
48 test_bigwidth(reporter);
H A DBlitRowTest.cpp84 skiatest::Reporter* reporter) {
91 ERRORF(reporter, "BlitRow colortype=%s [%d %d] expected %x got %x",
100 static void test_00_FF(skiatest::Reporter* reporter) { argument
149 gSrcRec[j].fResult8, reporter)) {
190 static void test_diagonal(skiatest::Reporter* reporter) { argument
250 ERRORF(reporter, "Diagonal colortype=%s bg=0x%x dither=%d"
261 DEF_TEST(BlitRow, reporter) {
262 test_00_FF(reporter);
263 test_diagonal(reporter);
82 check_color(const SkBitmap& bm, SkPMColor expect32, uint16_t expect16, uint8_t expect8, skiatest::Reporter* reporter) argument
H A DBlurTest.cpp101 static void test_blur_drawing(skiatest::Reporter* reporter) { argument
149 REPORTER_ASSERT(reporter,
328 static void test_sigma_range(skiatest::Reporter* reporter, GrContextFactory* factory) { argument
362 REPORTER_ASSERT(reporter, match(rectSpecialCaseResult, bruteForce1DResult, kSize, 5));
363 REPORTER_ASSERT(reporter, match(generalCaseResult, bruteForce1DResult, kSize, 15));
372 REPORTER_ASSERT(reporter, match(gpuResult, bruteForce1DResult, kSize, 10));
376 REPORTER_ASSERT(reporter, match(groundTruthResult, bruteForce1DResult, kSize, 1));
415 static void test_blurDrawLooper(skiatest::Reporter* reporter, SkScalar sigma, argument
433 REPORTER_ASSERT(reporter, sigma <= 0);
437 REPORTER_ASSERT(reporter, succes
449 test_delete_looper(skiatest::Reporter* reporter, SkDrawLooper* lp, SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, bool expectSuccess) argument
482 test_layerDrawLooper(skiatest::Reporter* reporter, SkMaskFilter* mf, SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, bool expectSuccess) argument
509 test_asABlur(skiatest::Reporter* reporter) argument
[all...]
H A DCachedDecodingPixelRefTest.cpp53 static void compare_bitmaps(skiatest::Reporter* reporter, argument
56 REPORTER_ASSERT(reporter, b1.empty() == b2.empty());
57 REPORTER_ASSERT(reporter, b1.width() == b2.width());
58 REPORTER_ASSERT(reporter, b1.height() == b2.height());
59 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull());
62 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull());
66 REPORTER_ASSERT(reporter, NULL != b1.getPixels());
67 REPORTER_ASSERT(reporter, NULL != b2.getPixels());
87 REPORTER_ASSERT(reporter, 0 == pixelErrors);
95 static void test_three_encodings(skiatest::Reporter* reporter, argument
179 TestImageGenerator(TestType type, skiatest::Reporter* reporter) argument
223 check_test_image_generator_bitmap(skiatest::Reporter* reporter, const SkBitmap& bm) argument
249 check_pixelref(TestImageGenerator::TestType type, skiatest::Reporter* reporter, PixelRefType pixelRefType, SkDiscardableMemory::Factory* factory) argument
276 test_newlockdelete(skiatest::Reporter* reporter) argument
[all...]
H A DCanvasStateTest.cpp18 static void test_complex_layers(skiatest::Reporter* reporter) { argument
38 REPORTER_ASSERT(reporter, sizeof(layerAlpha) == sizeof(flags));
60 REPORTER_ASSERT(reporter, state);
62 REPORTER_ASSERT(reporter, tmpCanvas);
86 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
87 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
96 static void test_complex_clips(skiatest::Reporter* reporter) { argument
128 REPORTER_ASSERT(reporter, sizeof(clipOps) == sizeof(flags));
149 REPORTER_ASSERT(reporter, state);
151 REPORTER_ASSERT(reporter, tmpCanva
190 test_draw_filters(skiatest::Reporter* reporter) argument
215 test_soft_clips(skiatest::Reporter* reporter) argument
234 test_saveLayer_clip(skiatest::Reporter* reporter) argument
[all...]
H A DCanvasTest.cpp21 * skiatest::Reporter* reporter,
26 * REPORTER_ASSERT_MESSAGE(reporter, (...), \
100 static void test_clipVisitor(skiatest::Reporter* reporter, SkCanvas* canvas) { argument
110 REPORTER_ASSERT(reporter, equal_clips(c, *canvas));
278 virtual void draw(SkCanvas* canvas, skiatest::Reporter* reporter) { \
279 FUNCTION (canvas, reporter, this); \
289 virtual void draw(SkCanvas* canvas, skiatest::Reporter* reporter) { \
290 FUNCTION (canvas, reporter, this); \
304 static void NAME##TestStep(SkCanvas* canvas, skiatest::Reporter* reporter, \
306 REPORTER_ASSERT_MESSAGE(reporter, canva
372 SaveMatrixStep(SkCanvas* canvas, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
388 SaveClipStep(SkCanvas* canvas, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
404 SaveMatrixClipStep(SkCanvas* canvas, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
420 SaveLayerStep(SkCanvas* canvas, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
431 BoundedSaveLayerStep(SkCanvas* canvas, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
442 PaintSaveLayerStep(SkCanvas* canvas, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
510 SaveRestoreTestStep(SkCanvas* canvas, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
533 DrawLayerTestStep(SkCanvas* canvas, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
610 AssertCanvasStatesEqual(skiatest::Reporter* reporter, const SkCanvas* canvas1, const SkCanvas* canvas2, CanvasTestStep* testStep) argument
677 AssertFlattenedObjectsEqual( SkPictureRecord* referenceRecord, SkPictureRecord* testRecord, skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
717 TestPictureFlattenedObjectReuse(skiatest::Reporter* reporter, CanvasTestStep* testStep, uint32_t recordFlags) argument
743 TestPdfDevice(skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
760 TestDeferredCanvasStateConsistency( skiatest::Reporter* reporter, CanvasTestStep* testStep, const SkCanvas& referenceCanvas, bool silent) argument
801 TestProxyCanvasStateConsistency( skiatest::Reporter* reporter, CanvasTestStep* testStep, const SkCanvas& referenceCanvas) argument
824 TestNWayCanvasStateConsistency( skiatest::Reporter* reporter, CanvasTestStep* testStep, const SkCanvas& referenceCanvas) argument
865 TestOverrideStateConsistency(skiatest::Reporter* reporter, CanvasTestStep* testStep) argument
900 test_newraster(skiatest::Reporter* reporter) argument
[all...]
H A DClipCacheTest.cpp44 static void test_clip_bounds(skiatest::Reporter* reporter, GrContext* context) { argument
84 REPORTER_ASSERT(reporter, screen == devStackBounds);
85 REPORTER_ASSERT(reporter, isIntersectionOfRects);
97 REPORTER_ASSERT(reporter, intScreen == devGrClipDataBound);
98 REPORTER_ASSERT(reporter, isIntersectionOfRects);
103 static void check_state(skiatest::Reporter* reporter, argument
108 REPORTER_ASSERT(reporter, clip.getTopmostGenID() == cache.getLastClipGenID());
110 REPORTER_ASSERT(reporter, mask == cache.getLastMask());
114 REPORTER_ASSERT(reporter, bound == cacheBound);
117 static void check_empty_state(skiatest::Reporter* reporter, argument
133 test_cache(skiatest::Reporter* reporter, GrContext* context) argument
[all...]
H A DClipStackTest.cpp18 static void test_assign_and_comparison(skiatest::Reporter* reporter) { argument
22 REPORTER_ASSERT(reporter, 0 == s.getSaveCount());
26 REPORTER_ASSERT(reporter, 1 == s.getSaveCount());
36 REPORTER_ASSERT(reporter, 2 == s.getSaveCount());
44 REPORTER_ASSERT(reporter, 3 == s.getSaveCount());
51 REPORTER_ASSERT(reporter, s == copy);
55 REPORTER_ASSERT(reporter, 2 == s.getSaveCount());
56 REPORTER_ASSERT(reporter, s != copy);
60 REPORTER_ASSERT(reporter, 3 == s.getSaveCount());
63 REPORTER_ASSERT(reporter,
116 assert_count(skiatest::Reporter* reporter, const SkClipStack& stack, int count) argument
128 test_iterators(skiatest::Reporter* reporter) argument
188 test_bounds(skiatest::Reporter* reporter, SkClipStack::Element::Type primType) argument
881 test_reduced_clip_stack(skiatest::Reporter* reporter) argument
1020 test_reduced_clip_stack_genid(skiatest::Reporter* reporter) argument
1148 test_reduced_clip_stack_no_aa_crash(skiatest::Reporter* reporter) argument
[all...]
H A DClipperTest.cpp14 static void test_hairclipping(skiatest::Reporter* reporter) { argument
42 REPORTER_ASSERT(reporter, 0xFFFFFFFF != c);
44 REPORTER_ASSERT(reporter, 0xFFFFFFFF == c);
68 static void test_intersectline(skiatest::Reporter* reporter) { argument
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) {
147 test_intersectline(reporter);
149 test_hairclipping(reporter);
[all...]
H A DColorTest.cpp19 static inline void test_premul(skiatest::Reporter* reporter) { argument
30 REPORTER_ASSERT(reporter, p0 == p1);
34 REPORTER_ASSERT(reporter, ax <= a);
46 static void test_interp(skiatest::Reporter* reporter) {
57 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a0) == dst);
58 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a255) == src);
63 static inline void test_fast_interp(skiatest::Reporter* reporter) { argument
74 REPORTER_ASSERT(reporter, SkFastFourByteInterp(src, dst, a0) == dst);
75 REPORTER_ASSERT(reporter, SkFastFourByteInterp(src, dst, a255) == src);
79 DEF_TEST(Color, reporter) {
[all...]
H A DDataRefTest.cpp16 static void test_is_equal(skiatest::Reporter* reporter, argument
18 REPORTER_ASSERT(reporter, a->count() == b->count());
23 REPORTER_ASSERT(reporter, sizea == sizeb);
24 REPORTER_ASSERT(reporter, !memcmp(mema, memb, sizea));
28 static void test_datatable_is_empty(skiatest::Reporter* reporter, argument
30 REPORTER_ASSERT(reporter, table->isEmpty());
31 REPORTER_ASSERT(reporter, 0 == table->count());
34 static void test_emptytable(skiatest::Reporter* reporter) { argument
41 test_datatable_is_empty(reporter, table0);
42 test_datatable_is_empty(reporter, table
51 test_simpletable(skiatest::Reporter* reporter) argument
66 test_vartable(skiatest::Reporter* reporter) argument
92 test_tablebuilder(skiatest::Reporter* reporter) argument
118 test_globaltable(skiatest::Reporter* reporter) argument
152 assert_len(skiatest::Reporter* reporter, SkData* ref, size_t len) argument
156 assert_data(skiatest::Reporter* reporter, SkData* ref, const void* data, size_t len) argument
162 test_cstring(skiatest::Reporter* reporter) argument
176 test_files(skiatest::Reporter* reporter) argument
[all...]
H A DDeferredCanvasTest.cpp52 static void TestDeferredCanvasBitmapAccess(skiatest::Reporter* reporter) { argument
61 REPORTER_ASSERT(reporter, 0xFFFFFFFF == read_pixel(surface, 0, 0));
66 REPORTER_ASSERT(reporter, 0 == read_pixel(surface, 0, 0));
105 static void TestDeferredCanvasWritePixelsToSurface(skiatest::Reporter* reporter) { argument
117 REPORTER_ASSERT(reporter, 0 == surface->fDiscardCount);
118 REPORTER_ASSERT(reporter, 0 == surface->fRetainCount);
122 REPORTER_ASSERT(reporter, 0 == surface->fDiscardCount);
123 REPORTER_ASSERT(reporter, 0 == surface->fRetainCount);
129 REPORTER_ASSERT(reporter, 0 == surface->fDiscardCount);
130 REPORTER_ASSERT(reporter,
257 TestDeferredCanvasFlush(skiatest::Reporter* reporter) argument
272 TestDeferredCanvasFreshFrame(skiatest::Reporter* reporter) argument
478 TestDeferredCanvasMemoryLimit(skiatest::Reporter* reporter) argument
499 TestDeferredCanvasSilentFlush(skiatest::Reporter* reporter) argument
512 TestDeferredCanvasBitmapCaching(skiatest::Reporter* reporter) argument
591 TestDeferredCanvasSkip(skiatest::Reporter* reporter) argument
606 TestDeferredCanvasBitmapShaderNoLeak(skiatest::Reporter* reporter) argument
644 TestDeferredCanvasBitmapSizeThreshold(skiatest::Reporter* reporter) argument
689 TestDeferredCanvasSurface(skiatest::Reporter* reporter, GrContextFactory* factory) argument
755 TestDeferredCanvasSetSurface(skiatest::Reporter* reporter, GrContextFactory* factory) argument
798 TestDeferredCanvasCreateCompatibleDevice(skiatest::Reporter* reporter) argument
[all...]
H A DDequeTest.cpp11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) { argument
13 REPORTER_ASSERT(reporter, deq.empty());
14 REPORTER_ASSERT(reporter, 0 == deq.count());
15 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize());
16 REPORTER_ASSERT(reporter, NULL == deq.front());
17 REPORTER_ASSERT(reporter, NULL == deq.back());
19 REPORTER_ASSERT(reporter, !deq.empty());
20 REPORTER_ASSERT(reporter, count == deq.count());
21 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize());
22 REPORTER_ASSERT(reporter, NUL
32 assert_iter(skiatest::Reporter* reporter, const SkDeque& deq, int max, int min) argument
83 assert_blocks(skiatest::Reporter* reporter, const SkDeque& deq, int allocCount) argument
100 TestSub(skiatest::Reporter* reporter, int allocCount) argument
[all...]
H A DDeviceLooperTest.cpp40 static void test_simple(skiatest::Reporter* reporter) { argument
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) { argument
130 REPORTER_ASSERT(reporter, !looper.getRC().isEmpty());
136 DEF_TEST(DeviceLooper, reporter) {
[all...]
H A DDocumentTest.cpp8 static void test_empty(skiatest::Reporter* reporter) { argument
15 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
18 static void test_abort(skiatest::Reporter* reporter) { argument
28 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
31 static void test_abortWithFile(skiatest::Reporter* reporter) { argument
56 REPORTER_ASSERT(reporter, fread(buffer, 1, 1, file) == 0);
60 static void test_file(skiatest::Reporter* reporter) { argument
79 REPORTER_ASSERT(reporter, file != NULL);
81 REPORTER_ASSERT(reporter, fread(header, 4, 1, file) != 0);
82 REPORTER_ASSERT(reporter, strncm
86 test_close(skiatest::Reporter* reporter) argument
[all...]
H A DDrawBitmapRectTest.cpp40 static void test_faulty_pixelref(skiatest::Reporter* reporter) { argument
46 REPORTER_ASSERT(reporter, installSuccess);
95 static void test_treatAsSprite(skiatest::Reporter* reporter) { argument
107 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, 0));
116 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, 0));
117 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
125 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
127 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
131 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, bilerBits));
133 REPORTER_ASSERT(reporter, treat_as_sprit
154 assert_ifDrawnTo(skiatest::Reporter* reporter, const SkBitmap& bm, bool shouldBeDrawn) argument
174 test_wacky_bitmapshader(skiatest::Reporter* reporter, int width, int height, bool shouldBeDrawn) argument
233 test_giantrepeat_crbug118018(skiatest::Reporter* reporter) argument
[all...]
H A DDrawPathTest.cpp15 static void test_big_aa_rect(skiatest::Reporter* reporter) { argument
29 REPORTER_ASSERT(reporter, 0 == pixel[0]);
31 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed");
44 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]);
46 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed");
240 static void test_infinite_dash(skiatest::Reporter* reporter) { argument
255 REPORTER_ASSERT(reporter, true);
260 static void test_crbug_165432(skiatest::Reporter* reporter) { argument
274 REPORTER_ASSERT(reporter, !dash->filterPath(&filteredPath, path, &rec, NULL));
275 REPORTER_ASSERT(reporter, filteredPat
[all...]
H A DEmptyPathTest.cpp14 static void drawAndTest(skiatest::Reporter* reporter, const SkPath& path, argument
48 ERRORF(reporter, "%s style[%d] cap[%d] join[%d] antialias[%d]"
57 static void iter_paint(skiatest::Reporter* reporter, const SkPath& path, bool shouldDraw) { argument
84 drawAndTest(reporter, path, paint, shouldDraw);
86 drawAndTest(reporter, path, paint, shouldDraw);
113 static void test_emptydrawing(skiatest::Reporter* reporter) { argument
133 iter_paint(reporter, path, shouldDraw);
139 DEF_TEST(EmptyPath, reporter) {
140 test_emptydrawing(reporter);
H A DFlatDataTest.cpp37 * @param reporter Object to report failures.
42 static void testCreate(skiatest::Reporter* reporter, const T& obj) { argument
47 REPORTER_ASSERT(reporter, *data1 == *data2);
50 DEF_TEST(FlatData, reporter) {
61 testCreate<SkFlattenableTraits>(reporter, *shader);
65 testCreate<SkFlattenableTraits>(reporter, *cf);
69 testCreate<SkFlattenableTraits>(reporter, *xfer);
H A DFlateTest.cpp31 static void TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream, argument
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(),
80 REPORTER_ASSERT(reporter, testDat
[all...]

Completed in 4604 milliseconds

1234567891011>>