/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/ |
Main.java | 22 import com.google.currysrc.api.process.Reporter; 137 private final Reporter reporter; field in class:Main.CompilationUnitHandler 151 this.reporter = new ReporterImpl(reportWriter); 249 @Override public Reporter reporter() { method in class:Main.CompilationUnitHandler 250 return reporter; 310 private class ReporterImpl implements Reporter {
|
/external/mockito/src/main/java/org/mockito/internal/ |
InOrderImpl.java | 20 import static org.mockito.internal.exceptions.Reporter.inOrderRequiresFamiliarMock;
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/ |
ConstructorInjection.java | 13 import static org.mockito.internal.exceptions.Reporter.fieldInitialisationThrewException;
|
/external/mockito/src/main/java/org/mockito/internal/handler/ |
InvocationNotifierHandler.java | 7 import static org.mockito.internal.exceptions.Reporter.invocationListenerThrewException;
|
/external/skia/tests/ |
ImageGeneratorTest.cpp | 20 static void test_imagegenerator_factory(skiatest::Reporter* reporter) { 26 REPORTER_ASSERT(reporter, !gMyFactoryWasCalled); 29 REPORTER_ASSERT(reporter, nullptr == gen); 30 REPORTER_ASSERT(reporter, !gMyFactoryWasCalled); 35 REPORTER_ASSERT(reporter, nullptr == gen); 36 REPORTER_ASSERT(reporter, gMyFactoryWasCalled); 45 DEF_TEST(ImageGenerator, reporter) { 69 test_imagegenerator_factory(reporter);
|
PathOpsConicQuadIntersectionTest.cpp | 27 static void conicQuadIntersection(skiatest::Reporter* reporter, int index) { 42 REPORTER_ASSERT(reporter, 0); 46 REPORTER_ASSERT(reporter, 0); 59 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 61 reporter->bumpTestCount(); 64 DEF_TEST(PathOpsConicQuadIntersection, reporter) { 66 conicQuadIntersection(reporter, index); 67 reporter->bumpTestCount(); 71 DEF_TEST(PathOpsConicQuadIntersectionOneOff, reporter) { [all...] |
PathOpsCubicConicIntersectionTest.cpp | 31 static void cubicConicIntersection(skiatest::Reporter* reporter, int index) { 46 REPORTER_ASSERT(reporter, 0); 50 REPORTER_ASSERT(reporter, 0); 63 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 65 reporter->bumpTestCount(); 68 DEF_TEST(PathOpsCubicConicIntersection, reporter) { 70 cubicConicIntersection(reporter, index); 71 reporter->bumpTestCount(); 75 DEF_TEST(PathOpsCubicConicIntersectionOneOff, reporter) { [all...] |
PathOpsCubicQuadIntersectionTest.cpp | 54 static void cubicQuadIntersection(skiatest::Reporter* reporter, int index) { 70 REPORTER_ASSERT(reporter, 0); 74 REPORTER_ASSERT(reporter, 0); 87 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 89 reporter->bumpTestCount(); 92 DEF_TEST(PathOpsCubicQuadIntersection, reporter) { 94 cubicQuadIntersection(reporter, index); 95 reporter->bumpTestCount(); 99 DEF_TEST(PathOpsCubicQuadIntersectionOneOff, reporter) { [all...] |
PathOpsThreeWayTest.cpp | 42 static void testSetTest(skiatest::Reporter* reporter, int index) { 74 DEF_TEST(PathOpsThreeWay, reporter) { 76 testSetTest(reporter, index); 77 reporter->bumpTestCount(); 81 DEF_TEST(PathOpsThreeWayOneOff, reporter) { 83 testSetTest(reporter, index);
|
RenderTargetContextTest.cpp | 31 static void check_is_wrapped_status(skiatest::Reporter* reporter, 34 REPORTER_ASSERT(reporter, rtCtx->isWrapped_ForTesting() == wrappedExpectation); 37 REPORTER_ASSERT(reporter, tProxy); 39 REPORTER_ASSERT(reporter, tProxy->isWrapped_ForTesting() == wrappedExpectation); 42 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(RenderTargetContextTest, reporter, ctxInfo) { 48 check_is_wrapped_status(reporter, rtCtx.get(), true); 56 check_is_wrapped_status(reporter, rtCtx.get(), false); 59 REPORTER_ASSERT(reporter, rt); 61 check_is_wrapped_status(reporter, rtCtx.get(), true) [all...] |
SpecialSurfaceTest.cpp | 33 skiatest::Reporter* reporter, 37 REPORTER_ASSERT(reporter, offset == surfSubset.fLeft); 38 REPORTER_ASSERT(reporter, offset == surfSubset.fTop); 39 REPORTER_ASSERT(reporter, kSmallerSize == surfSubset.width()); 40 REPORTER_ASSERT(reporter, kSmallerSize == surfSubset.height()); 48 REPORTER_ASSERT(reporter, img); 51 REPORTER_ASSERT(reporter, surfSubset == imgSubset); 54 REPORTER_ASSERT(reporter, !surf->getCanvas()); 57 DEF_TEST(SpecialSurface_Raster, reporter) { [all...] |
UtilsTest.cpp | 28 static void test_autounref(skiatest::Reporter* reporter) { 30 REPORTER_ASSERT(reporter, obj.unique()); 33 REPORTER_ASSERT(reporter, &obj == tmp.get()); 34 REPORTER_ASSERT(reporter, obj.unique()); 36 REPORTER_ASSERT(reporter, &obj == tmp.release()); 37 REPORTER_ASSERT(reporter, obj.unique()); 38 REPORTER_ASSERT(reporter, nullptr == tmp.release()); 39 REPORTER_ASSERT(reporter, nullptr == tmp.get()); 42 REPORTER_ASSERT(reporter, !obj.unique()) [all...] |
BlitRowTest.cpp | 86 skiatest::Reporter* reporter) { 93 ERRORF(reporter, "BlitRow colortype=%s [%d %d] expected %x got %x", 102 static void test_00_FF(skiatest::Reporter* reporter) { 151 gSrcRec[j].fResult8, reporter)) { 190 static void test_diagonal(skiatest::Reporter* reporter) { 245 ERRORF(reporter, "Diagonal colortype=%s bg=0x%x dither=%d" 256 DEF_TEST(BlitRow, reporter) { [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]" 62 static void iter_paint(skiatest::Reporter* reporter, const SkPath& path, bool shouldDraw, 95 drawAndTest(reporter, path, paint, shouldDraw); 97 drawAndTest(reporter, path, paint, shouldDraw); 124 static void test_emptydrawing(skiatest::Reporter* reporter) { 148 iter_paint(reporter, path, shouldDraw, allowCaps ? kDrawCaps : kDontDrawCaps) [all...] |
FontMgrAndroidParserTest.cpp | 40 skiatest::Reporter* reporter) { 41 REPORTER_ASSERT(reporter, fontFamilies[0]->fNames.count() == 5); 42 REPORTER_ASSERT(reporter, !strcmp(fontFamilies[0]->fNames[0].c_str(), "sans-serif")); 43 REPORTER_ASSERT(reporter, 45 REPORTER_ASSERT(reporter, !fontFamilies[0]->fIsFallbackFont); 52 REPORTER_ASSERT(reporter, isALPHA(c) || isDIGIT(c) || '-' == c); 63 REPORTER_ASSERT(reporter, !file.fFileName.isEmpty() && 107 template <int N, typename T> static double test_parse_fixed_r(skiatest::Reporter* reporter, [all...] |
LayerDrawLooperTest.cpp | 44 static void test_frontToBack(skiatest::Reporter* reporter) { 65 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 66 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); 68 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); 69 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY()); 73 REPORTER_ASSERT(reporter, context->next(&canvas, &paint)); 74 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); 76 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 77 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY()) [all...] |
QuickRejectTest.cpp | 60 static void test_drawBitmap(skiatest::Reporter* reporter) { 73 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); 77 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)); 81 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); 85 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); 93 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)); 96 static void test_layers(skiatest::Reporter* reporter) { 100 REPORTER_ASSERT(reporter, false == canvas.quickReject(r)) [all...] |
StrokeTest.cpp | 22 static void test_strokecubic(skiatest::Reporter* reporter) { 51 static void test_strokerect(skiatest::Reporter* reporter) { 74 REPORTER_ASSERT(reporter, equal(outer, fillPath.getBounds())); 78 REPORTER_ASSERT(reporter, fillPath.isNestedFillRects(nested) == isMiter); 82 REPORTER_ASSERT(reporter, equal(nested[0], outer)); 83 REPORTER_ASSERT(reporter, equal(nested[1], inner)); 88 static void test_strokerec_equality(skiatest::Reporter* reporter) { [all...] |
VkWrapTests.cpp | 28 void wrap_tex_test(skiatest::Reporter* reporter, GrContext* context) { 43 REPORTER_ASSERT(reporter, tex); 50 REPORTER_ASSERT(reporter, !tex); 52 REPORTER_ASSERT(reporter, !tex); 58 REPORTER_ASSERT(reporter, !tex); 60 REPORTER_ASSERT(reporter, !tex); 65 REPORTER_ASSERT(reporter, tex); 70 void wrap_rt_test(skiatest::Reporter* reporter, GrContext* context) [all...] |
GrShapeTest.cpp | 251 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, 257 TestCase(skiatest::Reporter* r, ShapeArgs... shapeArgs) 262 TestCase(const GrShape& shape, skiatest::Reporter* r, SkScalar scale = SK_Scalar1) 273 void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const; 282 void compare(skiatest::Reporter*, const TestCase& that, ComparisonExpecation) const; 295 static void CheckBounds(skiatest::Reporter* r, const GrShape& shape, const SkRect& bounds) { 312 void init(skiatest::Reporter* r, SkScalar scale) { 416 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const [all...] |
PathOpsBattles.cpp | 12 static void issue414409(skiatest::Reporter* reporter, const char* filename) { 39 testPathOp(reporter, path1, path2, kUnion_SkPathOp, filename); 42 static void issue414409b(skiatest::Reporter* reporter, const char* filename) { 62 testPathOp(reporter, path1, path2, kUnion_SkPathOp, filename); 65 static void issue414409c(skiatest::Reporter* reporter, const char* filename) { 87 testPathOp(reporter, path1, path2, kUnion_SkPathOp, filename); 91 static void battleOp1(skiatest::Reporter* reporter, const char* filename) [all...] |
ImageFilterCacheTest.cpp | 29 static void test_find_existing(skiatest::Reporter* reporter, 45 REPORTER_ASSERT(reporter, foundImage); 46 REPORTER_ASSERT(reporter, offset == foundOffset); 48 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset)); 53 static void test_dont_find_if_diff_key(skiatest::Reporter* reporter, 72 REPORTER_ASSERT(reporter, !cache->get(key1, &foundOffset)); 73 REPORTER_ASSERT(reporter, !cache->get(key2, &foundOffset)); 74 REPORTER_ASSERT(reporter, !cache->get(key3, &foundOffset)) [all...] |
PathOpsQuadIntersectionTest.cpp | 14 static void standardTestCases(skiatest::Reporter* reporter) { 51 REPORTER_ASSERT(reporter, 0); 335 static void oneOffTest1(skiatest::Reporter* reporter, size_t outer, size_t inner) { 355 REPORTER_ASSERT(reporter, 0); 364 static void oneOffTests(skiatest::Reporter* reporter) { 367 oneOffTest1(reporter, outer, inner); 387 static void coincidentTestOne(skiatest::Reporter* reporter, int test1, int test2) [all...] |
PathOpsSimplifyFailTest.cpp | 41 static void failOne(skiatest::Reporter* reporter, int index) { 64 REPORTER_ASSERT(reporter, !success); 65 REPORTER_ASSERT(reporter, result.isEmpty()); 66 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType); 67 reporter->bumpTestCount(); 70 static void dontFailOne(skiatest::Reporter* reporter, int index) { 90 REPORTER_ASSERT(reporter, success); 91 REPORTER_ASSERT(reporter, result.getFillType() != SkPath::kWinding_FillType) [all...] |
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
TranslateJcite.java | 20 import com.google.currysrc.api.process.Reporter; 66 protected String processComment(Reporter reporter, Comment commentNode, String commentText) { 123 protected boolean visitTagElement(Reporter reporter, ASTRewrite rewrite, TagElement tagNode) {
|