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

1 2 34 5 6 7 8 91011>>

  /external/skia/tests/
ImageNewShaderTest.cpp 19 static void test_bitmap_equality(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 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface,
69 test_bitmap_equality(reporter, bmOrig, bm);
94 REPORTER_ASSERT(reporter, 0xFFFF0000 == bmt.getColor(0, y));
97 REPORTER_ASSERT(reporter, 0xFFDEDEDE == bmt.getColor(x, y));
103 DEF_TEST(ImageNewShader, reporter) {
    [all...]
RandomTest.cpp 59 static void test_random_byte(skiatest::Reporter* reporter, int shift) {
68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000));
71 static void test_random_float(skiatest::Reporter* reporter) {
78 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f);
81 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000));
86 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f);
89 REPORTER_ASSERT(reporter, anderson_darling_test(p));
102 static double test_single_gorilla(skiatest::Reporter* reporter, int shift)
    [all...]
GradientTest.cpp 22 static void test_big_grad(skiatest::Reporter* reporter) {
51 void gradCheck(skiatest::Reporter* reporter, const sk_sp<SkShader>& shader,
60 REPORTER_ASSERT(reporter, shader->asAGradient(info) == gt);
62 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount);
63 REPORTER_ASSERT(reporter,
65 REPORTER_ASSERT(reporter,
67 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode);
72 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&, const GradRec&)
    [all...]
DataRefTest.cpp 17 static void test_is_equal(skiatest::Reporter* reporter,
19 REPORTER_ASSERT(reporter, a->count() == b->count());
24 REPORTER_ASSERT(reporter, sizea == sizeb);
25 REPORTER_ASSERT(reporter, !memcmp(mema, memb, sizea));
29 static void test_datatable_is_empty(skiatest::Reporter* reporter, SkDataTable* table) {
30 REPORTER_ASSERT(reporter, table->isEmpty());
31 REPORTER_ASSERT(reporter, 0 == table->count());
34 static void test_emptytable(skiatest::Reporter* reporter)
    [all...]
PathOpsSimplifyTest.cpp 11 static void testLine1(skiatest::Reporter* reporter, const char* filename) {
17 testSimplify(reporter, path, filename);
20 static void testLine1x(skiatest::Reporter* reporter, const char* filename) {
27 testSimplify(reporter, path, filename);
58 static void testLine2(skiatest::Reporter* reporter, const char* filename) {
62 testSimplify(reporter, path, filename);
65 static void testLine2x(skiatest::Reporter* reporter, const char* filename)
    [all...]
RRectInPathTest.cpp 14 static SkRRect path_contains_rrect(skiatest::Reporter* reporter, const SkPath& path,
17 REPORTER_ASSERT(reporter, path.isRRect(&out, dir, start));
20 REPORTER_ASSERT(reporter, path == recreatedPath);
35 REPORTER_ASSERT(reporter, xformed.isRRect(&xrr, &xd, &xs));
38 REPORTER_ASSERT(reporter, recreatedPath == xformed);
43 static SkRRect inner_path_contains_rrect(skiatest::Reporter* reporter, const SkRRect& in,
57 SkRRect rrect = path_contains_rrect(reporter, path, &outDir, &outStart);
58 REPORTER_ASSERT(reporter, outDir == dir && outStart == start)
    [all...]
FontHostTest.cpp 35 static void test_unitsPerEm(skiatest::Reporter* reporter, const sk_sp<SkTypeface>& face) {
48 REPORTER_ASSERT(reporter, tableUPEM == nativeUPEM);
54 static void test_countGlyphs(skiatest::Reporter* reporter, const sk_sp<SkTypeface>& face) {
67 REPORTER_ASSERT(reporter, tableGlyphs == nativeGlyphs);
90 static void test_charsToGlyphs(skiatest::Reporter* reporter, const sk_sp<SkTypeface>& face) {
110 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str());
115 static void test_fontstream(skiatest::Reporter* reporter, SkStream* stream, int ttcIndex)
    [all...]
SkPEGTest.cpp 42 void test_EOS(skiatest::Reporter* r) {
60 void test_LIT(skiatest::Reporter* r) {
86 void test_Alpha(skiatest::Reporter* r) {
118 void test_Digit(skiatest::Reporter* r) {
144 void test_Opt(skiatest::Reporter* r) {
163 void test_Seq(skiatest::Reporter* r) {
187 void test_Choice(skiatest::Reporter* r) {
215 void test_AnySome(skiatest::Reporter* r) {
248 void test_Complex(skiatest::Reporter* r) {
ColorMatrixTest.cpp 18 static inline void assert_color(skiatest::Reporter* reporter,
20 REPORTER_ASSERT(reporter, abs((int)(SkColorGetA(expected) - SkColorGetA(actual))) <= tolerance);
21 REPORTER_ASSERT(reporter, abs((int)(SkColorGetR(expected) - SkColorGetR(actual))) <= tolerance);
22 REPORTER_ASSERT(reporter, abs((int)(SkColorGetG(expected) - SkColorGetG(actual))) <= tolerance);
23 REPORTER_ASSERT(reporter, abs((int)(SkColorGetB(expected) - SkColorGetB(actual))) <= tolerance);
26 static inline void assert_color(skiatest::Reporter* reporter, SkColor expected, SkColor actual) {
28 assert_color(reporter, expected, actual, TOLERANCE);
35 static inline void test_colorMatrixCTS(skiatest::Reporter* reporter)
    [all...]
GrAllocatorTest.cpp 27 skiatest::Reporter* reporter);
32 skiatest::Reporter* reporter) {
43 check_allocator_helper(allocator, cnt, popCnt, reporter);
45 check_allocator_helper(allocator, 0, 0, reporter);
51 skiatest::Reporter* reporter) {
52 REPORTER_ASSERT(reporter, (0 == cnt) == allocator->empty());
53 REPORTER_ASSERT(reporter, cnt == allocator->count())
    [all...]
PaintBreakTextTest.cpp 12 static void test_monotonic(skiatest::Reporter* reporter,
26 REPORTER_ASSERT_MESSAGE(reporter, n <= length, msg);
27 REPORTER_ASSERT_MESSAGE(reporter, m <= width, msg);
30 REPORTER_ASSERT_MESSAGE(reporter, m == 0, msg);
34 REPORTER_ASSERT_MESSAGE(reporter, m == mm, msg);
36 REPORTER_ASSERT_MESSAGE(reporter, n > nn, msg);
37 REPORTER_ASSERT_MESSAGE(reporter, m > mm, msg);
45 static void test_eq_measure_text(skiatest::Reporter* reporter,
    [all...]
ShaderOpacityTest.cpp 13 static void test_bitmap(skiatest::Reporter* reporter) {
22 REPORTER_ASSERT(reporter, shader);
23 REPORTER_ASSERT(reporter, !shader->isOpaque());
31 REPORTER_ASSERT(reporter, shader);
32 REPORTER_ASSERT(reporter, !shader->isOpaque());
38 REPORTER_ASSERT(reporter, shader);
39 REPORTER_ASSERT(reporter, shader->isOpaque());
45 REPORTER_ASSERT(reporter, shader);
46 REPORTER_ASSERT(reporter, !shader->isOpaque())
    [all...]
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...]
PathOpsOpTest.cpp 32 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) {
42 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename);
45 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) {
55 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename);
58 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) {
68 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename);
71 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename)
    [all...]
CanvasTest.cpp 22 * skiatest::Reporter* reporter,
27 * REPORTER_ASSERT_MESSAGE(reporter, (...), \
70 DEF_TEST(canvas_clipbounds, reporter) {
76 REPORTER_ASSERT(reporter, irect == SkIRect::MakeWH(10, 10));
77 REPORTER_ASSERT(reporter, canvas.getDeviceClipBounds(&irect2));
78 REPORTER_ASSERT(reporter, irect == irect2);
82 REPORTER_ASSERT(reporter, rect.contains(SkRect::MakeWH(10, 10)));
83 REPORTER_ASSERT(reporter, canvas.getLocalClipBounds(&rect2));
84 REPORTER_ASSERT(reporter, rect == rect2)
    [all...]
DequeTest.cpp 11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) {
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, nullptr == deq.front());
17 REPORTER_ASSERT(reporter, nullptr == deq.back());
19 REPORTER_ASSERT(reporter, !deq.empty());
20 REPORTER_ASSERT(reporter, count == deq.count());
21 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize())
    [all...]
FlattenableFactoryToName.cpp 13 static void test_flattenable(skiatest::Reporter* r,
  /external/objenesis/tck/src/test/java/org/objenesis/tck/
TCKTest.java 66 Reporter reporter = new RecordingReporter(); local
67 tck.runTests(reporter);
69 // Expect... the reporter to have received a sequence of calls
77 + "result(false)\n" + "endTest()\n" + "endTests()\n", reporter.toString());
93 Reporter reporter = new RecordingReporter(); local
94 tck.runTests(reporter);
96 // Expect... the reporter to be notified that A succeeded
102 "endTest()\n" + "endTests()\n", reporter.toString())
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/configuration/injection/filter/
TerminalMockCandidateFilter.java 13 import static org.mockito.internal.exceptions.Reporter.cannotInjectDependency;
  /external/mockito/src/main/java/org/mockito/internal/matchers/
CapturingMatcher.java 9 import static org.mockito.internal.exceptions.Reporter.noArgumentValueWasCaptured;
  /external/mockito/src/main/java/org/mockito/internal/progress/
MockingProgressImpl.java 11 import org.mockito.internal.exceptions.Reporter;
24 import static org.mockito.internal.exceptions.Reporter.unfinishedStubbing;
25 import static org.mockito.internal.exceptions.Reporter.unfinishedVerificationException;
159 Reporter.redundantMockitoListener(listener.getClass().getSimpleName());
  /external/mockito/src/main/java/org/mockito/internal/stubbing/
OngoingStubbingImpl.java 11 import static org.mockito.internal.exceptions.Reporter.incorrectUseOfApi;
  /external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
CallsRealMethods.java 14 import static org.mockito.internal.exceptions.Reporter.cannotCallAbstractRealMethod;
ThrowsExceptionClass.java 13 import static org.mockito.internal.exceptions.Reporter.notAnException;
  /external/mockito/src/main/java/org/mockito/internal/verification/
VerificationDataImpl.java 13 import static org.mockito.internal.exceptions.Reporter.cannotVerifyToString;

Completed in 659 milliseconds

1 2 34 5 6 7 8 91011>>