HomeSort by relevance Sort by last modified time
    Searched refs:Reporter (Results 101 - 125 of 379) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/third_party/skia/tests/
PathOpsOpTest.cpp 12 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) {
22 testPathOp(reporter, path, pathB, kDifference_PathOp, filename);
25 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) {
35 testPathOp(reporter, path, pathB, kDifference_PathOp, filename);
38 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) {
48 testPathOp(reporter, path, pathB, kDifference_PathOp, filename);
51 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename)
    [all...]
MathTest.cpp 17 static void test_clz(skiatest::Reporter* reporter) {
18 REPORTER_ASSERT(reporter, 32 == SkCLZ(0));
19 REPORTER_ASSERT(reporter, 31 == SkCLZ(1));
20 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30));
21 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U));
31 REPORTER_ASSERT(reporter, intri == porta);
51 static void test_floor_value(skiatest::Reporter* reporter, float value) {
54 REPORTER_ASSERT(reporter, std == fast)
    [all...]
FontHostTest.cpp 34 static void test_unitsPerEm(skiatest::Reporter* reporter, SkTypeface* face) {
47 REPORTER_ASSERT(reporter, tableUPEM == nativeUPEM);
53 static void test_countGlyphs(skiatest::Reporter* reporter, SkTypeface* face) {
66 REPORTER_ASSERT(reporter, tableGlyphs == nativeGlyphs);
89 static void test_charsToGlyphs(skiatest::Reporter* reporter, SkTypeface* face) {
109 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str());
114 static void test_fontstream(skiatest::Reporter* reporter
    [all...]
CanvasTest.cpp 21 * skiatest::Reporter* reporter,
26 * REPORTER_ASSERT_MESSAGE(reporter, (...), \
100 static void test_clipVisitor(skiatest::Reporter* reporter, SkCanvas* canvas) {
110 REPORTER_ASSERT(reporter, equal_clips(c, *canvas));
181 virtual void draw(SkCanvas*, skiatest::Reporter*) = 0;
278 virtual void draw(SkCanvas* canvas, skiatest::Reporter* reporter) { \
279 FUNCTION (canvas, reporter, this);
    [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...]
SListTest.cpp 18 static bool verifyEmptyList(skiatest::Reporter* reporter,
23 ERRORF(reporter, "%s - List not empty", stage);
27 ERRORF(reporter, "%s - List count is not zero, %d instead", stage, list.getCount());
31 ERRORF(reporter, "%s - List has elements when empty", stage);
37 static bool verifyList(skiatest::Reporter* reporter,
43 ERRORF(reporter, "%s - List was too short, %d instead of %d", stage, list.getCount(), count);
49 ERRORF(reporter, "%s - List too short, should be %d", stage, count);
53 ERRORF(reporter, "%s - List entries at index %d of %d don't match", stage, index, count)
    [all...]
BitmapHasherTest.cpp 19 SkColor color, skiatest::Reporter* reporter) {
24 DEF_TEST(BitmapHasher, reporter) {
29 CreateTestBitmap(&bitmap, 333, 555, SK_ColorBLUE, reporter);
30 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
31 REPORTER_ASSERT(reporter, digest == 0xfb2903562766ef87ULL);
33 CreateTestBitmap(&bitmap, 555, 333, SK_ColorBLUE, reporter);
34 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
35 REPORTER_ASSERT(reporter, digest == 0xfe04023fb97d0f61ULL);
37 CreateTestBitmap(&bitmap, 555, 333, SK_ColorGREEN, reporter);
    [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, 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())
    [all...]
GrBinHashKeyTest.cpp 16 template<typename KeyType> static void TestHash(skiatest::Reporter* reporter) {
26 REPORTER_ASSERT(reporter, keyA == keyA2);
27 REPORTER_ASSERT(reporter, keyA.getHash() == keyA2.getHash());
30 REPORTER_ASSERT(reporter, keyA == keyA2);
31 REPORTER_ASSERT(reporter, keyA.getHash() == keyA2.getHash());
35 REPORTER_ASSERT(reporter, keyA.getHash() != keyB.getHash());
39 DEF_TEST(GrBinHashKey, reporter) {
44 TestHash<GrBinHashKey<kDataLenUsedForKey> >(reporter);
45 TestHash<GrMurmur3HashKey<kDataLenUsedForKey> >(reporter);
    [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...]
RecordTestUtils.h 23 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, unsigned index) {
ScalarTest.cpp 15 static void test_roundtoint(skiatest::Reporter* reporter) {
20 REPORTER_ASSERT(reporter, 1 == ix);
25 REPORTER_ASSERT(reporter, 0 == ix);
34 static void test_isRectFinite(skiatest::Reporter* reporter) {
73 REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite);
112 static void test_floatclass(skiatest::Reporter* reporter, float value, FloatClass fc) {
115 REPORTER_ASSERT(reporter, !!sk_float_isfinite(value) == (fc == kFinite))
    [all...]
  /external/skia/tests/
MathTest.cpp 17 static void test_clz(skiatest::Reporter* reporter) {
18 REPORTER_ASSERT(reporter, 32 == SkCLZ(0));
19 REPORTER_ASSERT(reporter, 31 == SkCLZ(1));
20 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30));
21 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U));
31 REPORTER_ASSERT(reporter, intri == porta);
51 static void test_floor_value(skiatest::Reporter* reporter, float value) {
54 REPORTER_ASSERT(reporter, std == fast)
    [all...]
PathOpsOpTest.cpp 12 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) {
22 testPathOp(reporter, path, pathB, kDifference_PathOp, filename);
25 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) {
35 testPathOp(reporter, path, pathB, kDifference_PathOp, filename);
38 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) {
48 testPathOp(reporter, path, pathB, kDifference_PathOp, filename);
51 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename)
    [all...]
CanvasTest.cpp 21 * skiatest::Reporter* reporter,
26 * REPORTER_ASSERT_MESSAGE(reporter, (...), \
100 static void test_clipVisitor(skiatest::Reporter* reporter, SkCanvas* canvas) {
110 REPORTER_ASSERT(reporter, equal_clips(c, *canvas));
181 virtual void draw(SkCanvas*, skiatest::Reporter*) = 0;
278 virtual void draw(SkCanvas* canvas, skiatest::Reporter* reporter) { \
279 FUNCTION (canvas, reporter, this);
    [all...]
FontHostTest.cpp 35 static void test_unitsPerEm(skiatest::Reporter* reporter, SkTypeface* face) {
48 REPORTER_ASSERT(reporter, tableUPEM == nativeUPEM);
54 static void test_countGlyphs(skiatest::Reporter* reporter, SkTypeface* face) {
67 REPORTER_ASSERT(reporter, tableGlyphs == nativeGlyphs);
89 static void test_charsToGlyphs(skiatest::Reporter* reporter, SkTypeface* face) {
109 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str());
114 static void test_fontstream(skiatest::Reporter* reporter
    [all...]
SListTest.cpp 18 static bool verifyEmptyList(skiatest::Reporter* reporter,
23 ERRORF(reporter, "%s - List not empty", stage);
27 ERRORF(reporter, "%s - List count is not zero, %d instead", stage, list.getCount());
31 ERRORF(reporter, "%s - List has elements when empty", stage);
37 static bool verifyList(skiatest::Reporter* reporter,
43 ERRORF(reporter, "%s - List was too short, %d instead of %d", stage, list.getCount(), count);
49 ERRORF(reporter, "%s - List too short, should be %d", stage, count);
53 ERRORF(reporter, "%s - List entries at index %d of %d don't match", stage, index, count)
    [all...]
BitmapHasherTest.cpp 19 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)
    [all...]
BitmapTest.cpp 12 static void test_bigwidth(skiatest::Reporter* reporter) {
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);
    [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, 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())
    [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...]
RecordTestUtils.h 23 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, unsigned index) {
ScalarTest.cpp 15 static void test_roundtoint(skiatest::Reporter* reporter) {
20 REPORTER_ASSERT(reporter, 1 == ix);
25 REPORTER_ASSERT(reporter, 0 == ix);
34 static void test_isRectFinite(skiatest::Reporter* reporter) {
73 REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite);
112 static void test_floatclass(skiatest::Reporter* reporter, float value, FloatClass fc) {
115 REPORTER_ASSERT(reporter, !!sk_float_isfinite(value) == (fc == kFinite))
    [all...]
  /external/mockito/src/org/mockito/internal/progress/
MockingProgressImpl.java 9 import org.mockito.exceptions.Reporter;
22 private final Reporter reporter = new Reporter(); field in class:MockingProgressImpl
75 reporter.unfinishedStubbing(temp);
87 reporter.unfinishedVerificationException(location);
  /external/skia/dm/
DMBenchTask.cpp 14 Reporter* reporter,
17 : CpuTask(reporter, tasks)
22 Reporter* reporter,
26 : CpuTask(reporter, tasks)
32 Reporter* reporter,
37 : GpuTask(reporter, tasks)

Completed in 397 milliseconds

1 2 3 45 6 7 8 91011>>