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

1 2 3 4 5 6 7 891011>>

  /external/skia/tests/
SurfaceTest.cpp 77 DEF_TEST(SurfaceEmpty, reporter) {
79 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRaster(info));
80 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRasterDirect(info, nullptr, 0));
84 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceEmpty_Gpu, reporter, ctxInfo) {
86 REPORTER_ASSERT(reporter, nullptr ==
91 static void test_canvas_peek(skiatest::Reporter* reporter,
101 REPORTER_ASSERT(reporter, expectPeekSuccess == success);
107 REPORTER_ASSERT(reporter, requestInfo == pmap.info());
108 REPORTER_ASSERT(reporter, requestInfo.minRowBytes() <= pmap.rowBytes())
    [all...]
CodecTest.cpp 53 * @param r Reporter to assert that bm's digest matches goodDigest.
57 static void compare_to_good_digest(skiatest::Reporter* r, const SkMD5::Digest& goodDigest,
71 static void test_info(skiatest::Reporter* r, Codec* codec, const SkImageInfo& info,
97 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,
262 static void check(skiatest::Reporter* r,
537 static void test_invalid_stream(skiatest::Reporter* r, const void* stream, size_t len) {
580 static void test_dimensions(skiatest::Reporter* r, const char path[]) {
645 static void test_invalid(skiatest::Reporter* r, const char path[])
    [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...]
LListTest.cpp 27 skiatest::Reporter* reporter,
33 REPORTER_ASSERT(reporter, empty == list.isEmpty());
36 REPORTER_ASSERT(reporter, numElements == list.countEntries());
37 REPORTER_ASSERT(reporter, in0 == list.isInList(&elements[0]));
38 REPORTER_ASSERT(reporter, in1 == list.isInList(&elements[1]));
39 REPORTER_ASSERT(reporter, in2 == list.isInList(&elements[2]));
40 REPORTER_ASSERT(reporter, in3 == list.isInList(&elements[3]));
44 static void test_tinternallist(skiatest::Reporter* reporter) {
    [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...]
ProxyTest.cpp 20 static void check_surface(skiatest::Reporter* reporter,
27 REPORTER_ASSERT(reporter, proxy->origin() == origin);
28 REPORTER_ASSERT(reporter, proxy->width() == width);
29 REPORTER_ASSERT(reporter, proxy->height() == height);
30 REPORTER_ASSERT(reporter, proxy->config() == config);
32 REPORTER_ASSERT(reporter, proxy->uniqueID().asUInt() == uniqueID.asUInt());
34 REPORTER_ASSERT(reporter, !proxy->uniqueID().isInvalid());
36 REPORTER_ASSERT(reporter, proxy->isBudgeted() == budgeted);
39 static void check_rendertarget(skiatest::Reporter* reporter
    [all...]
ClampRangeTest.cpp 12 static skiatest::Reporter* gReporter;
69 DEF_TEST(ClampRange, reporter) {
70 gReporter = reporter;
ClipStackTest.cpp 24 static void test_assign_and_comparison(skiatest::Reporter* reporter) {
28 REPORTER_ASSERT(reporter, 0 == s.getSaveCount());
32 REPORTER_ASSERT(reporter, 1 == s.getSaveCount());
42 REPORTER_ASSERT(reporter, 2 == s.getSaveCount());
50 REPORTER_ASSERT(reporter, 3 == s.getSaveCount());
57 REPORTER_ASSERT(reporter, s == copy);
61 REPORTER_ASSERT(reporter, 2 == s.getSaveCount());
62 REPORTER_ASSERT(reporter, s != copy);
66 REPORTER_ASSERT(reporter, 3 == s.getSaveCount())
    [all...]
FloatingPointTextureTest.cpp 28 void runFPTest(skiatest::Reporter* reporter, GrContext* context,
31 REPORT_FAILURE(reporter, "(0 != arraySize % 4)",
60 REPORTER_ASSERT(reporter,
62 REPORTER_ASSERT(reporter,
70 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(FloatingPointTextureTest, reporter, ctxInfo) {
71 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON,
78 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(FloatingPointTextureTest_RG, reporter, ctxInfo) {
79 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON,
87 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(HalfFloatAlphaTextureTest, reporter, ctxInfo)
    [all...]
ICCTest.cpp 22 static inline void test_to_xyz_d50(skiatest::Reporter* r, SkICC* icc, bool shouldSucceed,
64 static inline void test_is_numerical_transfer_fn(skiatest::Reporter* r, SkICC* icc,
102 static inline void test_write_icc(skiatest::Reporter* r, const SkColorSpaceTransferFn& fn,
143 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...]
ParsePathTest.cpp 11 static void test_to_from(skiatest::Reporter* reporter, const SkPath& path) {
17 REPORTER_ASSERT(reporter, success);
20 REPORTER_ASSERT(reporter, str == str2);
23 REPORTER_ASSERT(reporter, path == path2);
44 DEF_TEST(ParsePath, reporter) {
48 REPORTER_ASSERT(reporter, success);
51 REPORTER_ASSERT(reporter, expectedBounds == pathBounds);
53 test_to_from(reporter, path);
60 test_to_from(reporter, p)
    [all...]
RTreeTest.cpp 46 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, SkRect rects[],
52 REPORTER_ASSERT(reporter, verify_query(query, rects, hits));
56 DEF_TEST(RTree, reporter) {
77 REPORTER_ASSERT(reporter, 0 == rtree.getCount());
86 run_queries(reporter, rand, rects, rtree);
87 REPORTER_ASSERT(reporter, NUM_RECTS == rtree.getCount());
88 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree.getDepth() &&
RecordOptsTest.cpp 105 static void assert_savelayer_restore(skiatest::Reporter* r,
119 static void assert_savelayer_draw_restore(skiatest::Reporter* r,
200 static void assert_merge_svg_opacity_and_filter_layers(skiatest::Reporter* r,
380 static void do_savelayer_srcmode(skiatest::Reporter* r, SkColor color) {
ShaderTest.cpp 18 static void check_isabitmap(skiatest::Reporter* reporter, SkShader* shader,
27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes));
28 REPORTER_ASSERT(reporter, bm.width() == expectedW);
29 REPORTER_ASSERT(reporter, bm.height() == expectedH);
30 REPORTER_ASSERT(reporter, localM == expectedM);
31 REPORTER_ASSERT(reporter, tileModes[0] == expectedX);
32 REPORTER_ASSERT(reporter, tileModes[1] == expectedY);
40 REPORTER_ASSERT(reporter, image);
41 REPORTER_ASSERT(reporter, image->width() == expectedW)
    [all...]
SkDOMTest.cpp 15 static const SkDOM::Node* check_node(skiatest::Reporter* r, const SkDOM& dom,
SkLinearBitmapPipelineTest.cpp 21 DEF_TEST(LBPBilerpEdge, reporter) {
37 skiatest::Reporter* reporter,
47 REPORTER_ASSERT_MESSAGE(reporter, prefixStart == start, dump(cut, prefix, span));
48 REPORTER_ASSERT_MESSAGE(reporter, prefixLen == len, dump(cut, prefix, span));
49 REPORTER_ASSERT_MESSAGE(reporter, prefixCount == count, dump(cut, prefix, span));
69 REPORTER_ASSERT_MESSAGE(reporter, expectedRemainderStart == remainderStart,
71 REPORTER_ASSERT_MESSAGE(reporter,
74 REPORTER_ASSERT_MESSAGE(reporter,
80 DEF_TEST(LBPSpanOps, reporter) {
    [all...]
YUVCacheTest.cpp 23 static void check_data(skiatest::Reporter* reporter, SkCachedData* data,
25 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt);
26 REPORTER_ASSERT(reporter, data->testing_only_isInCache() == (kInCache == cacheState));
28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked));
31 DEF_TEST(YUVPlanesCache, reporter) {
45 REPORTER_ASSERT(reporter, nullptr == data);
52 check_data(reporter, data, 2, kInCache, kLocked);
55 check_data(reporter, data, 1, kInCache, kUnlocked);
60 REPORTER_ASSERT(reporter, data)
    [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 122 milliseconds

1 2 3 4 5 6 7 891011>>