HomeSort by relevance Sort by last modified time
    Searched refs:reporter (Results 176 - 200 of 541) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/third_party/skia/tests/
GrTBSearchTest.cpp 25 DEF_TEST(GrTBSearch, reporter) {
33 REPORTER_ASSERT(reporter, index == (int) i);
35 REPORTER_ASSERT(reporter, index < 0);
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...]
PictureShaderTest.cpp 15 DEF_TEST(PictureShader_empty, reporter) {
18 REPORTER_ASSERT(reporter, NULL == shader);
25 REPORTER_ASSERT(reporter, NULL == shader);
SurfaceTest.cpp 74 static void test_image(skiatest::Reporter* reporter) {
80 REPORTER_ASSERT(reporter, 1 == data->getRefCnt());
82 REPORTER_ASSERT(reporter, 2 == data->getRefCnt());
84 REPORTER_ASSERT(reporter, 1 == data->getRefCnt());
120 static void test_imagepeek(skiatest::Reporter* reporter) {
144 REPORTER_ASSERT(reporter, gRec[i].fPeekShouldSucceed == success);
146 REPORTER_ASSERT(reporter, 10 == info.width());
147 REPORTER_ASSERT(reporter, 10 == info.height())
    [all...]
ClipCubicTest.cpp 70 DEF_TEST(ClipCubic, reporter) {
88 REPORTER_ASSERT(reporter, success == true);
89 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
96 REPORTER_ASSERT(reporter, success == true);
97 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
104 REPORTER_ASSERT(reporter, success == true);
105 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
112 REPORTER_ASSERT(reporter, success == false);
118 REPORTER_ASSERT(reporter, success == true);
119 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve
    [all...]
FontObjTest.cpp 25 static void test_cachedfont(skiatest::Reporter* reporter, const SkPaint& paint) {
30 REPORTER_ASSERT(reporter, font->getTypeface() == paint.getTypeface());
32 REPORTER_ASSERT(reporter, font->getSize() == paint.getTextSize());
33 REPORTER_ASSERT(reporter, font->getScaleX() == paint.getTextScaleX());
34 REPORTER_ASSERT(reporter, font->getSkewX() == paint.getTextSkewX());
36 REPORTER_ASSERT(reporter, font->isVertical() == paint.isVerticalText());
37 REPORTER_ASSERT(reporter, font->isEmbolden() == paint.isFakeBoldText());
39 REPORTER_ASSERT(reporter, font->isUseNonLinearMetrics() == is_use_nonlinear_metrics(paint));
40 REPORTER_ASSERT(reporter, font->isEnableAutoHints() == is_enable_auto_hints(paint))
    [all...]
PathOpsDQuadTest.cpp 39 DEF_TEST(PathOpsDQuad, reporter) {
46 REPORTER_ASSERT(reporter, 0);
51 REPORTER_ASSERT(reporter, 0);
56 DEF_TEST(PathOpsRRect, reporter) {
PathOpsSimplifyFailTest.cpp 40 static void failOne(skiatest::Reporter* reporter, int index) {
63 REPORTER_ASSERT(reporter, !success);
64 REPORTER_ASSERT(reporter, result.isEmpty());
65 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType);
66 reporter->bumpTestCount();
69 static void dontFailOne(skiatest::Reporter* reporter, int index) {
92 REPORTER_ASSERT(reporter, success || index == 13);
93 REPORTER_ASSERT(reporter, result.getFillType() != SkPath::kWinding_FillType)
    [all...]
WArrayTest.cpp 135 TestWData(skiatest::Reporter* reporter,
144 REPORTER_ASSERT(reporter, RunTest());
176 DEF_TEST(WArray, reporter) {
177 TestWData(reporter, data1, SK_ARRAY_COUNT(data1), NULL, 0, expected1);
178 TestWData(reporter, data2, SK_ARRAY_COUNT(data2), NULL, 0, expected2);
179 TestWData(reporter, data3, SK_ARRAY_COUNT(data3), NULL, 0, expected3);
180 TestWData(reporter, data4, SK_ARRAY_COUNT(data4), NULL, 0, expected4);
181 TestWData(reporter, data5, SK_ARRAY_COUNT(data5), NULL, 0, expected5);
182 TestWData(reporter, data6, SK_ARRAY_COUNT(data6), NULL, 0, expected6)
    [all...]
UnicodeTest.cpp 26 static void test_uvs(skiatest::Reporter* reporter) {
36 REPORTER_ASSERT(reporter, uvs0 == uvs1);
44 static void test_textencodings(skiatest::Reporter* reporter) {
72 REPORTER_ASSERT(reporter, (int)len8 == count8);
73 REPORTER_ASSERT(reporter, (int)len8 == count16);
74 REPORTER_ASSERT(reporter, (int)len8 == count32);
76 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_t)));
77 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_t)))
    [all...]
GrDrawTargetTest.cpp 17 static void test_print(skiatest::Reporter*, const GrDrawTargetCaps* caps) {
23 DEF_GPUTEST(GrDrawTarget, reporter, factory) {
32 test_print(reporter, grContext->getGpu()->caps());
RTConfRegistryTest.cpp 25 DEF_TEST(SkRTConfRegistry, reporter) {
31 REPORTER_ASSERT(reporter, result == 132);
ResourceCacheTest.cpp 20 static void test_cache(skiatest::Reporter* reporter,
56 REPORTER_ASSERT(reporter, curCacheSize <= maxCacheSize);
110 static void test_purge_invalidated(skiatest::Reporter* reporter, GrContext* context) {
137 REPORTER_ASSERT(reporter, 3 == TestResource::alive());
141 REPORTER_ASSERT(reporter, 0 == TestResource::alive());
144 static void test_cache_delete_on_destruction(skiatest::Reporter* reporter,
167 REPORTER_ASSERT(reporter, 2 == TestResource::alive())
    [all...]
  /external/skia/tests/
GrTBSearchTest.cpp 25 DEF_TEST(GrTBSearchTest, reporter) {
33 REPORTER_ASSERT(reporter, index == (int) i);
35 REPORTER_ASSERT(reporter, index < 0);
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...]
SurfaceTest.cpp 69 static void test_image(skiatest::Reporter* reporter) {
76 REPORTER_ASSERT(reporter, 1 == data->getRefCnt());
78 REPORTER_ASSERT(reporter, 2 == data->getRefCnt());
80 REPORTER_ASSERT(reporter, 1 == data->getRefCnt());
115 static void test_imagepeek(skiatest::Reporter* reporter) {
139 REPORTER_ASSERT(reporter, gRec[i].fPeekShouldSucceed == success);
141 REPORTER_ASSERT(reporter, 10 == info.fWidth);
142 REPORTER_ASSERT(reporter, 10 == info.fHeight)
    [all...]
ClipCubicTest.cpp 70 DEF_TEST(ClipCubic, reporter) {
88 REPORTER_ASSERT(reporter, success == true);
89 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
96 REPORTER_ASSERT(reporter, success == true);
97 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
104 REPORTER_ASSERT(reporter, success == true);
105 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
112 REPORTER_ASSERT(reporter, success == false);
118 REPORTER_ASSERT(reporter, success == true);
119 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve
    [all...]
FontObjTest.cpp 25 static void test_cachedfont(skiatest::Reporter* reporter, const SkPaint& paint) {
30 REPORTER_ASSERT(reporter, font->getTypeface() == paint.getTypeface());
32 REPORTER_ASSERT(reporter, font->getSize() == paint.getTextSize());
33 REPORTER_ASSERT(reporter, font->getScaleX() == paint.getTextScaleX());
34 REPORTER_ASSERT(reporter, font->getSkewX() == paint.getTextSkewX());
36 REPORTER_ASSERT(reporter, font->isVertical() == paint.isVerticalText());
37 REPORTER_ASSERT(reporter, font->isEmbolden() == paint.isFakeBoldText());
39 REPORTER_ASSERT(reporter, font->isUseNonLinearMetrics() == is_use_nonlinear_metrics(paint));
40 REPORTER_ASSERT(reporter, font->isEnableAutoHints() == is_enable_auto_hints(paint))
    [all...]
PathOpsDQuadTest.cpp 39 DEF_TEST(PathOpsDQuad, reporter) {
46 REPORTER_ASSERT(reporter, 0);
51 REPORTER_ASSERT(reporter, 0);
56 DEF_TEST(PathOpsRRect, reporter) {
PathOpsSimplifyFailTest.cpp 40 static void failOne(skiatest::Reporter* reporter, int index) {
63 REPORTER_ASSERT(reporter, !success);
64 REPORTER_ASSERT(reporter, result.isEmpty());
65 REPORTER_ASSERT(reporter, result.getFillType() == SkPath::kWinding_FillType);
66 reporter->bumpTestCount();
69 static void dontFailOne(skiatest::Reporter* reporter, int index) {
92 REPORTER_ASSERT(reporter, success || index == 13);
93 REPORTER_ASSERT(reporter, result.getFillType() != SkPath::kWinding_FillType)
    [all...]
WArrayTest.cpp 135 TestWData(skiatest::Reporter* reporter,
144 REPORTER_ASSERT(reporter, RunTest());
176 DEF_TEST(WArray, reporter) {
177 TestWData(reporter, data1, SK_ARRAY_COUNT(data1), NULL, 0, expected1);
178 TestWData(reporter, data2, SK_ARRAY_COUNT(data2), NULL, 0, expected2);
179 TestWData(reporter, data3, SK_ARRAY_COUNT(data3), NULL, 0, expected3);
180 TestWData(reporter, data4, SK_ARRAY_COUNT(data4), NULL, 0, expected4);
181 TestWData(reporter, data5, SK_ARRAY_COUNT(data5), NULL, 0, expected5);
182 TestWData(reporter, data6, SK_ARRAY_COUNT(data6), NULL, 0, expected6)
    [all...]
HashCacheTest.cpp 61 DEF_TEST(HashCache, reporter) {
94 REPORTER_ASSERT(reporter, 10 == cache.count());
99 REPORTER_ASSERT(reporter, NULL != found && -i == found->fValue);
105 REPORTER_ASSERT(reporter, NULL == found);
113 REPORTER_ASSERT(reporter, 20 == cache.count());
120 REPORTER_ASSERT(reporter, NULL == found);
125 REPORTER_ASSERT(reporter, NULL != found && found->fValue > 0);
134 REPORTER_ASSERT(reporter, NULL == found);
139 REPORTER_ASSERT(reporter, NULL != found && found->fValue < 0);
147 REPORTER_ASSERT(reporter, 18 == cache.count())
    [all...]
UnicodeTest.cpp 26 static void test_uvs(skiatest::Reporter* reporter) {
36 REPORTER_ASSERT(reporter, uvs0 == uvs1);
44 static void test_textencodings(skiatest::Reporter* reporter) {
72 REPORTER_ASSERT(reporter, (int)len8 == count8);
73 REPORTER_ASSERT(reporter, (int)len8 == count16);
74 REPORTER_ASSERT(reporter, (int)len8 == count32);
76 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_t)));
77 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_t)))
    [all...]
  /libcore/luni/src/main/java/libcore/io/
EventLogger.java 24 private static volatile Reporter REPORTER = new DefaultReporter();
27 * Used to replace default Reporter for logging events. Must be non-null.
29 public static void setReporter(Reporter reporter) {
30 if (reporter == null) {
31 throw new NullPointerException("reporter == null");
33 REPORTER = reporter;
37 * Returns non-null Reporter
    [all...]
  /external/mockito/src/org/mockito/internal/stubbing/answers/
AnswersValidator.java 7 import org.mockito.exceptions.Reporter;
13 private Reporter reporter = new Reporter(); field in class:AnswersValidator
44 new Reporter().wrongTypeOfArgumentToReturn(invocation, methodInfo.printMethodReturnType(),
53 reporter.cannotCallRealMethodOnInterface();
59 reporter.onlyVoidMethodsCanBeSetToDoNothing();
65 reporter.cannotStubVoidMethodWithAReturnValue(methodInfo.getMethodName());
69 reporter.wrongTypeOfReturnValue(methodInfo.printMethodReturnType(), "null", methodInfo.getMethodName());
73 reporter.wrongTypeOfReturnValue(methodInfo.printMethodReturnType(), answer.printReturnType(), methodInfo.ge (…)
    [all...]

Completed in 426 milliseconds

1 2 3 4 5 6 78 91011>>