/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/tests/ |
DequeTest.cpp | 12 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) { 14 REPORTER_ASSERT(reporter, deq.empty()); 15 REPORTER_ASSERT(reporter, 0 == deq.count()); 16 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize()); 17 REPORTER_ASSERT(reporter, NULL == deq.front()); 18 REPORTER_ASSERT(reporter, NULL == deq.back()); 20 REPORTER_ASSERT(reporter, !deq.empty()); 21 REPORTER_ASSERT(reporter, count == deq.count()); 22 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize()) [all...] |
DynamicHashTest.cpp | 38 #define ASSERT(x) REPORTER_ASSERT(reporter, x) 40 static void test_growth(skiatest::Reporter* reporter) { 68 static void test_add(skiatest::Reporter* reporter) { 80 static void test_lookup(skiatest::Reporter* reporter) { 116 static void test_remove(skiatest::Reporter* reporter) { 143 DEF_TEST(DynamicHash, reporter) { [all...] |
PathOpsInverseTest.cpp | 9 static void PathOpsInverseTest(skiatest::Reporter* reporter) { 25 testPathOp(reporter, one, two, (SkPathOp) op);
|
PathUtilsTest.cpp | 81 static bool test_bmp(skiatest::Reporter* reporter, 86 REPORTER_ASSERT( reporter, *bmp1->getAddr32(x,y) == *bmp2->getAddr32(x,y) ); 92 static void test_path_eq(skiatest::Reporter* reporter, const SkPath* path, 109 test_bmp(reporter, truth, &bmp, w, h); 112 static void test_path(skiatest::Reporter* reporter, const SkBitmap* truth, 119 test_path_eq(reporter, &path, truth, w, h); 122 static void test_region(skiatest::Reporter* reporter, const SkBitmap* truth [all...] |
PDFPrimitivesTest.cpp | 72 static void CheckObjectOutput(skiatest::Reporter* reporter, SkPDFObject* obj, 81 REPORTER_ASSERT(reporter, directSize == expectedSize); 85 REPORTER_ASSERT(reporter, directSize == buffer.getOffset()); 86 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedData, 99 REPORTER_ASSERT(reporter, 104 REPORTER_ASSERT(reporter, indirectSize == buffer.getOffset()); 105 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, header, headerLen)); 106 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen, expectedData, 108 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen + directSize [all...] |
FontMgrTest.cpp | 19 static void test_alias_names(skiatest::Reporter* reporter) { 39 REPORTER_ASSERT(reporter, first->uniqueID() == face->uniqueID()); 44 static void test_fontiter(skiatest::Reporter* reporter, bool verbose) { 51 REPORTER_ASSERT(reporter, fname.size() > 0); 55 REPORTER_ASSERT(reporter, fnset->count() == set->count()); 65 // REPORTER_ASSERT(reporter, sname.size() > 0); 68 // REPORTER_ASSERT(reporter, face.get()); 80 DEF_TEST(FontMgr, reporter) { [all...] |
GpuDrawPathTest.cpp | 22 static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) 46 static void TestGpuDrawPath(skiatest::Reporter* reporter, GrContextFactory* factory) { 72 test_drawPathEmpty(reporter, &drawingCanvas);
|
RegionTest.cpp | 17 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 18 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 19 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) 23 static void test_fromchrome(skiatest::Reporter* reporter) { 80 static void test_empties(skiatest::Reporter* reporter) { 84 REPORTER_ASSERT(reporter, empty.isEmpty()); 85 REPORTER_ASSERT(reporter, !valid.isEmpty()); 88 REPORTER_ASSERT(reporter, !empty.intersects(empty2)) [all...] |
ResourceCacheTest.cpp | 19 static void test_cache(skiatest::Reporter* reporter, 55 REPORTER_ASSERT(reporter, curCacheSize <= maxCacheSize); 62 static void TestResourceCache(skiatest::Reporter* reporter, GrContextFactory* factory) { 83 test_cache(reporter, context, &canvas);
|
Writer32Test.cpp | 14 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, 17 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); 19 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size)); 23 static void test_reserve(skiatest::Reporter* reporter) { 31 static void test_string_null(skiatest::Reporter* reporter) { 38 check_contents(reporter, writer, expected, sizeof(expected)); 41 static void test_rewind(skiatest::Reporter* reporter) [all...] |
XfermodeTest.cpp | 19 static void test_asMode(skiatest::Reporter* reporter) { 24 REPORTER_ASSERT(reporter, reportedMode != mode); 27 REPORTER_ASSERT(reporter, SkXfermode::AsMode(xfer, &reportedMode)); 28 REPORTER_ASSERT(reporter, reportedMode == mode); 33 REPORTER_ASSERT(reporter, xfer->asMode(&reportedMode)); 34 REPORTER_ASSERT(reporter, reportedMode == mode); 37 REPORTER_ASSERT(reporter, SkXfermode::kSrcOver_Mode == mode); 43 REPORTER_ASSERT(reporter, !bogusXfer->asMode(&reportedMode)); 44 REPORTER_ASSERT(reporter, reportedMode == ILLEGAL_MODE) [all...] |
PathOpsCubicIntersectionTest.cpp | 16 static void standardTestCases(skiatest::Reporter* reporter) { 60 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 62 reporter->bumpTestCount(); 307 static void oneOff(skiatest::Reporter* reporter, const SkDCubic& cubic1, const SkDCubic& cubic2, 342 REPORTER_ASSERT(reporter, !coin || intersections.used() == 2); 356 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(iPt)); 357 REPORTER_ASSERT(reporter, xy2.approximatelyEqual(iPt)); 358 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)) [all...] |
CachedDecodingPixelRefTest.cpp | 55 static void compare_bitmaps(skiatest::Reporter* reporter, 58 REPORTER_ASSERT(reporter, b1.empty() == b2.empty()); 59 REPORTER_ASSERT(reporter, b1.width() == b2.width()); 60 REPORTER_ASSERT(reporter, b1.height() == b2.height()); 61 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); 64 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); 68 REPORTER_ASSERT(reporter, NULL != b1.getPixels()); 69 REPORTER_ASSERT(reporter, NULL != b2.getPixels()); 89 REPORTER_ASSERT(reporter, 0 == pixelErrors) [all...] |
ClipCacheTest.cpp | 45 static void test_clip_bounds(skiatest::Reporter* reporter, GrContext* context) { 85 REPORTER_ASSERT(reporter, screen == devStackBounds); 86 REPORTER_ASSERT(reporter, isIntersectionOfRects); 98 REPORTER_ASSERT(reporter, intScreen == devGrClipDataBound); 99 REPORTER_ASSERT(reporter, isIntersectionOfRects); 104 static void check_state(skiatest::Reporter* reporter, 109 REPORTER_ASSERT(reporter, clip.getTopmostGenID() == cache.getLastClipGenID()); 111 REPORTER_ASSERT(reporter, mask == cache.getLastMask()) [all...] |
PaintTest.cpp | 60 static void test_cmap(skiatest::Reporter* reporter) { 100 REPORTER_ASSERT(reporter, NGLYPHS == nglyphs); 101 REPORTER_ASSERT(reporter, index == first); 102 REPORTER_ASSERT(reporter, 105 REPORTER_ASSERT(reporter, NGLYPHS == first); 107 REPORTER_ASSERT(reporter, NGLYPHS > first); 114 static void test_filterlevel(skiatest::Reporter* reporter) { 117 REPORTER_ASSERT(reporter, [all...] |
MathTest.cpp | 18 static void test_clz(skiatest::Reporter* reporter) { 19 REPORTER_ASSERT(reporter, 32 == SkCLZ(0)); 20 REPORTER_ASSERT(reporter, 31 == SkCLZ(1)); 21 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30)); 22 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U)); 32 REPORTER_ASSERT(reporter, intri == porta); 52 static void test_floor_value(skiatest::Reporter* reporter, float value) { 55 REPORTER_ASSERT(reporter, std == fast) [all...] |
MemsetTest.cpp | 13 static void test_chunkalloc(skiatest::Reporter* reporter) { 17 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity()); 18 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed()); 19 REPORTER_ASSERT(reporter, 0 == alloc.blockCount()); 20 REPORTER_ASSERT(reporter, !alloc.contains(NULL)); 21 REPORTER_ASSERT(reporter, !alloc.contains(reporter)); 24 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity()); 25 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed()) [all...] |
/external/stlport/test/unit/cppunit/ |
cppunit_mini.h | 33 class Reporter { 35 virtual ~Reporter() {} 59 static int run(Reporter *in_reporter = 0, const char *in_testName = "", bool invert = false); 128 static Reporter *m_reporter;
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
cppunit_mini.h | 33 class Reporter { 35 virtual ~Reporter() {} 59 static int run(Reporter *in_reporter = 0, const char *in_testName = "", bool invert = false); 128 static Reporter *m_reporter;
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
cppunit_mini.h | 33 class Reporter { 35 virtual ~Reporter() {} 59 static int run(Reporter *in_reporter = 0, const char *in_testName = "", bool invert = false); 128 static Reporter *m_reporter;
|
/external/mockito/src/org/mockito/ |
MockitoAnnotations.java | 10 import org.mockito.exceptions.Reporter; 139 new Reporter().moreThanOneAnnotationNotAllowed(field.getName());
|
/external/mockito/src/org/mockito/internal/configuration/injection/ |
ConstructorInjection.java | 8 import org.mockito.exceptions.Reporter; 58 new Reporter().fieldInitialisationThrewException(field, realCause);
|
PropertyAndSetterInjection.java | 8 import org.mockito.exceptions.Reporter; 93 new Reporter().fieldInitialisationThrewException(field, realCause); 95 new Reporter().cannotInitializeForInjectMocksAnnotation(field.getName(), e);
|
/external/skia/dm/ |
DM.cpp | 54 DM::Reporter* reporter, 78 (name, reporter, tasks, expectations, gms[i], __VA_ARGS__))); \ 96 static void report_failures(const DM::Reporter& reporter) { 98 reporter.getFailures(&failures); 140 DM::Reporter reporter; local 142 kick_off_tasks(gms, configs, *expectations, &reporter, &tasks); 145 reporter.updateStatusLine() [all...] |