HomeSort by relevance Sort by last modified time
    Searched refs:Reporter (Results 201 - 225 of 484) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/skia/tests/
StrokeTest.cpp 22 static void test_strokecubic(skiatest::Reporter* reporter) {
51 static void test_strokerect(skiatest::Reporter* reporter) {
74 REPORTER_ASSERT(reporter, equal(outer, fillPath.getBounds()));
78 REPORTER_ASSERT(reporter, fillPath.isNestedFillRects(nested) == isMiter);
82 REPORTER_ASSERT(reporter, equal(nested[0], outer));
83 REPORTER_ASSERT(reporter, equal(nested[1], inner));
88 static void test_strokerec_equality(skiatest::Reporter* reporter) {
    [all...]
TDPQueueTest.cpp 14 static void simple_test(skiatest::Reporter* reporter) {
16 REPORTER_ASSERT(reporter, 0 == heap.count());
19 REPORTER_ASSERT(reporter, 1 == heap.count());
20 REPORTER_ASSERT(reporter, 0 == heap.peek());
22 REPORTER_ASSERT(reporter, 0 == heap.count());
26 REPORTER_ASSERT(reporter, 2 == heap.count());
27 REPORTER_ASSERT(reporter, 0 == heap.peek());
29 REPORTER_ASSERT(reporter, 1 == heap.count());
30 REPORTER_ASSERT(reporter, 1 == heap.peek())
    [all...]
VkWrapTests.cpp 30 void wrap_tex_test(skiatest::Reporter* reporter, GrContext* context) {
44 REPORTER_ASSERT(reporter, tex);
55 REPORTER_ASSERT(reporter, !tex);
61 REPORTER_ASSERT(reporter, !tex);
72 REPORTER_ASSERT(reporter, !tex);
78 REPORTER_ASSERT(reporter, !tex);
88 REPORTER_ASSERT(reporter, tex);
93 void wrap_rt_test(skiatest::Reporter* reporter, GrContext* context)
    [all...]
GrShapeTest.cpp 251 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r,
257 TestCase(skiatest::Reporter* r, ShapeArgs... shapeArgs)
262 TestCase(const GrShape& shape, skiatest::Reporter* r, SkScalar scale = SK_Scalar1)
273 void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const;
282 void compare(skiatest::Reporter*, const TestCase& that, ComparisonExpecation) const;
295 static void CheckBounds(skiatest::Reporter* r, const GrShape& shape, const SkRect& bounds) {
312 void init(skiatest::Reporter* r, SkScalar scale) {
416 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const
    [all...]
PathOpsBattles.cpp 12 static void issue414409(skiatest::Reporter* reporter, const char* filename) {
39 testPathOp(reporter, path1, path2, kUnion_SkPathOp, filename);
42 static void issue414409b(skiatest::Reporter* reporter, const char* filename) {
62 testPathOp(reporter, path1, path2, kUnion_SkPathOp, filename);
65 static void issue414409c(skiatest::Reporter* reporter, const char* filename) {
87 testPathOp(reporter, path1, path2, kUnion_SkPathOp, filename);
91 static void battleOp1(skiatest::Reporter* reporter, const char* filename)
    [all...]
GifTest.cpp 54 static void test_gif_data_no_colormap(skiatest::Reporter* r,
67 static void test_gif_data(skiatest::Reporter* r, void* data, size_t size) {
86 static void test_gif_data_dims(skiatest::Reporter* r, void* data, size_t size, int width,
95 static void test_interlaced_gif_data(skiatest::Reporter* r,
127 static void test_gif_data_short(skiatest::Reporter* r,
151 DEF_TEST(Gif, reporter) {
153 test_gif_data(reporter, static_cast<void *>(gGIFData), sizeof(gGIFData));
154 test_interlaced_gif_data(reporter, static_cast<void *>(gInterlacedGIF),
161 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData));
166 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gGIFData))
    [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...]
PathOpsQuadIntersectionTest.cpp 14 static void standardTestCases(skiatest::Reporter* reporter) {
51 REPORTER_ASSERT(reporter, 0);
335 static void oneOffTest1(skiatest::Reporter* reporter, size_t outer, size_t inner) {
355 REPORTER_ASSERT(reporter, 0);
364 static void oneOffTests(skiatest::Reporter* reporter) {
367 oneOffTest1(reporter, outer, inner);
387 static void coincidentTestOne(skiatest::Reporter* reporter, int test1, int test2)
    [all...]
PathOpsSimplifyFailTest.cpp 41 static void failOne(skiatest::Reporter* reporter, int index) {
64 REPORTER_ASSERT(reporter, !success);
65 REPORTER_ASSERT(reporter, result.isEmpty());
66 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType);
67 reporter->bumpTestCount();
70 static void dontFailOne(skiatest::Reporter* reporter, int index) {
90 REPORTER_ASSERT(reporter, success);
91 REPORTER_ASSERT(reporter, result.getFillType() != SkPath::kWinding_FillType)
    [all...]
SurfaceTest.cpp 78 DEF_TEST(SurfaceEmpty, reporter) {
80 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRaster(info));
81 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRasterDirect(info, nullptr, 0));
85 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceEmpty_Gpu, reporter, ctxInfo) {
87 REPORTER_ASSERT(reporter, nullptr ==
92 static void test_canvas_peek(skiatest::Reporter* reporter,
102 REPORTER_ASSERT(reporter, expectPeekSuccess == success);
108 REPORTER_ASSERT(reporter, requestInfo == pmap.info());
109 REPORTER_ASSERT(reporter, requestInfo.minRowBytes() <= pmap.rowBytes())
    [all...]
CodecTest.cpp 55 * @param r Reporter to assert that bm's digest matches goodDigest.
59 static void compare_to_good_digest(skiatest::Reporter* r, const SkMD5::Digest& goodDigest,
73 static void test_info(skiatest::Reporter* r, Codec* codec, const SkImageInfo& info,
98 static void test_incremental_decode(skiatest::Reporter* r, SkCodec* codec, const SkImageInfo& info,
112 static void test_in_stripes(skiatest::Reporter* r, SkCodec* codec, const SkImageInfo& info,
154 static void test_codec(skiatest::Reporter* r, Codec* codec, SkBitmap& bm, const SkImageInfo& info,
259 static void check(skiatest::Reporter* r,
527 static void test_invalid_stream(skiatest::Reporter* r, const void* stream, size_t len) {
570 static void test_dimensions(skiatest::Reporter* r, const char path[]) {
635 static void test_invalid(skiatest::Reporter* r, const char path[])
    [all...]
ClipStackTest.cpp 26 static void test_assign_and_comparison(skiatest::Reporter* reporter) {
30 REPORTER_ASSERT(reporter, 0 == s.getSaveCount());
34 REPORTER_ASSERT(reporter, 1 == s.getSaveCount());
44 REPORTER_ASSERT(reporter, 2 == s.getSaveCount());
52 REPORTER_ASSERT(reporter, 3 == s.getSaveCount());
59 REPORTER_ASSERT(reporter, s == copy);
63 REPORTER_ASSERT(reporter, 2 == s.getSaveCount());
64 REPORTER_ASSERT(reporter, s != copy);
68 REPORTER_ASSERT(reporter, 3 == s.getSaveCount())
    [all...]
PathOpsChalkboardTest.cpp 13 static void chalkboard(skiatest::Reporter* reporter, uint64_t testlines) {
85 testSimplify(reporter, path, "chalkboard");
93 static void chalkboard_threaded(skiatest::Reporter* reporter, const char* filename) {
97 initializeTests(reporter, "chalkboard");
98 PathOpsThreadedTestRunner testRunner(reporter);
113 testCount = reporter->allowExtendedTest() ? 63 * 62 / 2 : 100;
116 testCount = reporter->allowExtendedTest() ? 10000 : 100;
129 if (reporter->allowExtendedTest())
    [all...]
PathOpsAngleIdeas.cpp 41 static double testArc(skiatest::Reporter* reporter, const SkDQuad& quad, const SkDQuad& arcRef,
69 REPORTER_ASSERT(reporter, smallest >= 0);
70 REPORTER_ASSERT(reporter, t >= 0 && t <= 1);
74 static void orderQuads(skiatest::Reporter* reporter, const SkDQuad& quad, double radius,
91 double t = testArc(reporter, quad, cQuad, octant);
106 static double quadAngle(skiatest::Reporter* reporter, const SkDQuad& quad, double t) {
109 REPORTER_ASSERT(reporter, angle >= 0 && angle <= 8)
    [all...]
PathOpsLineIntersectionTest.cpp 87 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
96 REPORTER_ASSERT(reporter, ts.used() != 1);
101 REPORTER_ASSERT(reporter, result1.approximatelyEqual(result2));
102 REPORTER_ASSERT(reporter, result1.approximatelyEqual(ts.pt(i).asSkPoint()));
107 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
114 REPORTER_ASSERT(reporter, pts);
115 REPORTER_ASSERT(reporter, pts == i.used());
116 check_results(reporter, line1, line2, i, nearAllowed)
    [all...]
PictureTest.cpp 48 static void test_images_are_found_by_willPlayBackBitmaps(skiatest::Reporter* reporter) {
58 REPORTER_ASSERT(reporter, picture->willPlayBackBitmaps());
62 static void test_analysis(skiatest::Reporter* reporter) {
70 REPORTER_ASSERT(reporter, !picture->willPlayBackBitmaps());
83 REPORTER_ASSERT(reporter, paint.getShader()->isAImage());
87 REPORTER_ASSERT(reporter, recorder.finishRecordingAsPicture()->willPlayBackBitmaps());
155 static void test_gpu_veto(skiatest::Reporter* reporter) {
    [all...]
ClampRangeTest.cpp 12 static skiatest::Reporter* gReporter;
69 DEF_TEST(ClampRange, reporter) {
70 gReporter = reporter;
FloatingPointTextureTest.cpp 29 void runFPTest(skiatest::Reporter* reporter, GrContext* context,
32 REPORT_FAILURE(reporter, "(0 != arraySize % 4)",
65 REPORTER_ASSERT(reporter, sContext);
71 REPORTER_ASSERT(reporter, result);
72 REPORTER_ASSERT(reporter,
80 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(FloatingPointTextureTest, reporter, ctxInfo) {
81 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON,
88 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(FloatingPointTextureTest_RG, reporter, ctxInfo) {
89 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON
    [all...]
ICCTest.cpp 23 static inline void test_to_xyz_d50(skiatest::Reporter* r, SkICC* icc, bool shouldSucceed,
65 static inline void test_is_numerical_transfer_fn(skiatest::Reporter* r, SkICC* icc,
103 static inline void test_write_icc(skiatest::Reporter* r, const SkColorSpaceTransferFn& fn,
150 static inline void test_raw_transfer_fn(skiatest::Reporter* r, SkICC* icc) {
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(SkOSPath::SEPARATOR));
62 REPORTER_ASSERT(reporter, basename.equals(filename));
65 DEF_TEST(OSPath, reporter) {
    [all...]
PackBitsTest.cpp 24 static void test_pack8(skiatest::Reporter* reporter) {
41 REPORTER_ASSERT(reporter, dstSize == 0);
44 REPORTER_ASSERT(reporter, dstSize <= maxSize);
47 REPORTER_ASSERT(reporter, srcCount == 0);
52 REPORTER_ASSERT(reporter, match);
63 REPORTER_ASSERT(reporter, maxSize >= dstSize);
66 REPORTER_ASSERT(reporter, size == srcCount);
68 REPORTER_ASSERT(reporter, match);
73 DEF_TEST(PackBits, reporter) {
    [all...]
  /external/google-breakpad/src/common/mac/
macho_reader_unittest.cc 77 class MockFatReaderReporter: public FatReader::Reporter {
80 : FatReader::Reporter(filename) { }
86 class MockReaderReporter: public Reader::Reporter {
88 MockReaderReporter(const string &filename) : Reader::Reporter(filename) { }
126 FatReader::Reporter reporter("filename");
127 reporter.BadHeader();
131 FatReader::Reporter reporter("filename");
132 reporter.MisplacedObjectFile()
233 MockFatReaderReporter reporter; member in struct:FatReaderFixture
772 MockReaderReporter reporter; member in struct:ReaderFixture
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/configuration/
IndependentAnnotationEngine.java 17 import static org.mockito.internal.exceptions.Reporter.moreThanOneAnnotationNotAllowed;
  /external/mockito/src/main/java/org/mockito/internal/invocation/
InvocationImpl.java 13 import static org.mockito.internal.exceptions.Reporter.cannotCallAbstractRealMethod;

Completed in 305 milliseconds

1 2 3 4 5 6 7 891011>>