/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/skia/tests/ |
PDFPrimitivesTest.cpp | 71 static void CheckObjectOutput(skiatest::Reporter* reporter, SkPDFObject* obj, 80 REPORTER_ASSERT(reporter, directSize == expectedSize); 84 REPORTER_ASSERT(reporter, directSize == buffer.getOffset()); 85 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedData, 98 REPORTER_ASSERT(reporter, 103 REPORTER_ASSERT(reporter, indirectSize == buffer.getOffset()); 104 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, header, headerLen)); 105 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen, expectedData, 107 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen + directSize [all...] |
RegionTest.cpp | 16 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 17 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 18 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) 22 static void test_fromchrome(skiatest::Reporter* reporter) { 79 static void test_empties(skiatest::Reporter* reporter) { 83 REPORTER_ASSERT(reporter, empty.isEmpty()); 84 REPORTER_ASSERT(reporter, !valid.isEmpty()); 87 REPORTER_ASSERT(reporter, !empty.intersects(empty2)) [all...] |
CachedDecodingPixelRefTest.cpp | 53 static void compare_bitmaps(skiatest::Reporter* reporter, 56 REPORTER_ASSERT(reporter, b1.empty() == b2.empty()); 57 REPORTER_ASSERT(reporter, b1.width() == b2.width()); 58 REPORTER_ASSERT(reporter, b1.height() == b2.height()); 59 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); 62 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull()); 66 REPORTER_ASSERT(reporter, NULL != b1.getPixels()); 67 REPORTER_ASSERT(reporter, NULL != b2.getPixels()); 87 REPORTER_ASSERT(reporter, 0 == pixelErrors) [all...] |
Writer32Test.cpp | 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, 16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); 18 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size)); 22 static void test_reserve(skiatest::Reporter* reporter) { 30 static void test_string_null(skiatest::Reporter* reporter) { 37 check_contents(reporter, writer, expected, sizeof(expected)); 40 static void test_rewind(skiatest::Reporter* reporter) [all...] |
PathOpsCubicToQuadsTest.cpp | 16 static void test(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, 28 REPORTER_ASSERT(reporter, quads.count() == 1); 32 static void test(skiatest::Reporter* reporter, const SkDQuad* quadTests, const char* name, 45 REPORTER_ASSERT(reporter, quads.count() <= 2); 49 static void testC(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, 61 REPORTER_ASSERT(reporter, 0); 67 REPORTER_ASSERT(reporter, 0) [all...] |
EmptyPathTest.cpp | 14 static void drawAndTest(skiatest::Reporter* reporter, const SkPath& path, 48 ERRORF(reporter, "%s style[%d] cap[%d] join[%d] antialias[%d]" 57 static void iter_paint(skiatest::Reporter* reporter, const SkPath& path, bool shouldDraw) { 84 drawAndTest(reporter, path, paint, shouldDraw); 86 drawAndTest(reporter, path, paint, shouldDraw); 113 static void test_emptydrawing(skiatest::Reporter* reporter) { 133 iter_paint(reporter, path, shouldDraw) [all...] |
FontMgrTest.cpp | 15 static void test_font(skiatest::Reporter* reporter) { 19 REPORTER_ASSERT(reporter, NULL != font->getTypeface()); 20 REPORTER_ASSERT(reporter, 24 == font->getSize()); 21 REPORTER_ASSERT(reporter, 1 == font->getScaleX()); 22 REPORTER_ASSERT(reporter, 0 == font->getSkewX()); 23 REPORTER_ASSERT(reporter, SkFont::kA8_MaskType == font->getMaskType()); 30 REPORTER_ASSERT(reporter, 5 == count); 32 REPORTER_ASSERT(reporter, 0 != glyphs[i]); 34 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e [all...] |
/external/chromium_org/third_party/skia/tests/ |
RegionTest.cpp | 16 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 17 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 18 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) 22 static void test_fromchrome(skiatest::Reporter* reporter) { 79 static void test_empties(skiatest::Reporter* reporter) { 83 REPORTER_ASSERT(reporter, empty.isEmpty()); 84 REPORTER_ASSERT(reporter, !valid.isEmpty()); 87 REPORTER_ASSERT(reporter, !empty.intersects(empty2)) [all...] |
Writer32Test.cpp | 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, 16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); 18 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size)); 22 static void test_reserve(skiatest::Reporter* reporter) { 30 static void test_string_null(skiatest::Reporter* reporter) { 37 check_contents(reporter, writer, expected, sizeof(expected)); 40 static void test_rewind(skiatest::Reporter* reporter) [all...] |
ImageNewShaderTest.cpp | 19 void testBitmapEquality(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 void runShaderTest(skiatest::Reporter* reporter, SkSurface* sourceSurface, SkSurface* destinationSurface, SkImageInfo& info) { 68 testBitmapEquality(reporter, bmOrig, bm); 95 REPORTER_ASSERT(reporter, 0xFFFF0000 == bmt.getColor(0, y)); 98 REPORTER_ASSERT(reporter, 0xFFDEDEDE == bmt.getColor(x, y)); 104 DEF_TEST(ImageNewShader, reporter) { [all...] |
PathOpsCubicToQuadsTest.cpp | 16 static void test(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, 28 REPORTER_ASSERT(reporter, quads.count() == 1); 32 static void test(skiatest::Reporter* reporter, const SkDQuad* quadTests, const char* name, 45 REPORTER_ASSERT(reporter, quads.count() <= 2); 49 static void testC(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, 61 REPORTER_ASSERT(reporter, 0); 67 REPORTER_ASSERT(reporter, 0) [all...] |
EmptyPathTest.cpp | 14 static void drawAndTest(skiatest::Reporter* reporter, const SkPath& path, 48 ERRORF(reporter, "%s style[%d] cap[%d] join[%d] antialias[%d]" 57 static void iter_paint(skiatest::Reporter* reporter, const SkPath& path, bool shouldDraw) { 84 drawAndTest(reporter, path, paint, shouldDraw); 86 drawAndTest(reporter, path, paint, shouldDraw); 113 static void test_emptydrawing(skiatest::Reporter* reporter) { 133 iter_paint(reporter, path, shouldDraw) [all...] |
FontMgrTest.cpp | 15 static void test_font(skiatest::Reporter* reporter) { 19 REPORTER_ASSERT(reporter, font->getTypeface()); 20 REPORTER_ASSERT(reporter, 24 == font->getSize()); 21 REPORTER_ASSERT(reporter, 1 == font->getScaleX()); 22 REPORTER_ASSERT(reporter, 0 == font->getSkewX()); 23 REPORTER_ASSERT(reporter, SkFont::kA8_MaskType == font->getMaskType()); 30 REPORTER_ASSERT(reporter, 5 == count); 32 REPORTER_ASSERT(reporter, 0 != glyphs[i]); 34 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e [all...] |
MemsetTest.cpp | 12 static void test_chunkalloc(skiatest::Reporter* reporter) { 16 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity()); 17 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed()); 18 REPORTER_ASSERT(reporter, 0 == alloc.blockCount()); 19 REPORTER_ASSERT(reporter, !alloc.contains(NULL)); 20 REPORTER_ASSERT(reporter, !alloc.contains(reporter)); 23 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity()); 24 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed()) [all...] |
Reader32Test.cpp | 11 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) { 12 REPORTER_ASSERT(reporter, reader.eof()); 13 REPORTER_ASSERT(reporter, reader.size() == reader.offset()); 14 REPORTER_ASSERT(reporter, (const char*)reader.peek() == 18 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) { 19 REPORTER_ASSERT(reporter, 0 == reader.offset()); 20 REPORTER_ASSERT(reporter, reader.size() == reader.available()); 21 REPORTER_ASSERT(reporter, reader.isAvailable(reader.size())) [all...] |
RefCntTest.cpp | 30 static void test_refarray(skiatest::Reporter* reporter) { 31 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter); 36 REPORTER_ASSERT(reporter, 1 == array->getRefCnt()); 37 REPORTER_ASSERT(reporter, N == array->count()); 39 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter); 41 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter); 47 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter); 49 REPORTER_ASSERT(reporter, i == src[i].fCount); 53 REPORTER_ASSERT(reporter, 1 == array->getRefCnt()) [all...] |
ShaderOpacityTest.cpp | 13 static void test_bitmap(skiatest::Reporter* reporter) { 22 REPORTER_ASSERT(reporter, shader); 23 REPORTER_ASSERT(reporter, !shader->isOpaque()); 32 REPORTER_ASSERT(reporter, shader); 33 REPORTER_ASSERT(reporter, !shader->isOpaque()); 40 REPORTER_ASSERT(reporter, shader); 41 REPORTER_ASSERT(reporter, shader->isOpaque()); 48 REPORTER_ASSERT(reporter, shader); 49 REPORTER_ASSERT(reporter, !shader->isOpaque()) [all...] |
TSetTest.cpp | 14 static void TestTSet_basic(skiatest::Reporter* reporter) { 16 REPORTER_ASSERT(reporter, set0.isEmpty()); 17 REPORTER_ASSERT(reporter, !set0.contains(-1)); 18 REPORTER_ASSERT(reporter, !set0.contains(0)); 19 REPORTER_ASSERT(reporter, !set0.contains(1)); 20 REPORTER_ASSERT(reporter, set0.count() == 0); 22 REPORTER_ASSERT(reporter, set0.add(0)); 23 REPORTER_ASSERT(reporter, !set0.isEmpty()); 24 REPORTER_ASSERT(reporter, !set0.contains(-1)) [all...] |
/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/ |
DMPDFTask.cpp | 24 Reporter* reporter, 28 : CpuTask(reporter, taskRunner) 33 PDFTask::PDFTask(Reporter* reporter, 38 : CpuTask(reporter, taskRunner)
|