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

1 2 3 45 6 7 8 910

  /external/skia/tests/
CanvasStateTest.cpp 18 static void test_complex_layers(skiatest::Reporter* reporter) {
35 REPORTER_ASSERT(reporter, sizeof(layerAlpha) == sizeof(flags));
56 REPORTER_ASSERT(reporter, state);
58 REPORTER_ASSERT(reporter, tmpCanvas);
82 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
83 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
91 static void test_complex_clips(skiatest::Reporter* reporter) {
124 REPORTER_ASSERT(reporter, sizeof(clipOps) == sizeof(flags))
    [all...]
ImageDecodingTest.cpp 67 static void compare_unpremul(skiatest::Reporter* reporter, const SkString& filename) {
92 REPORTER_ASSERT(reporter, success);
106 REPORTER_ASSERT(reporter, dimensionsMatch);
132 REPORTER_ASSERT(reporter, 0 == da);
135 REPORTER_ASSERT(reporter, dr <= 1);
136 REPORTER_ASSERT(reporter, dg <= 1);
137 REPORTER_ASSERT(reporter, db <= 1);
146 void testPrefConfigTable(skiatest::Reporter* reporter) {
    [all...]
MathTest.cpp 16 static void test_clz(skiatest::Reporter* reporter) {
17 REPORTER_ASSERT(reporter, 32 == SkCLZ(0));
18 REPORTER_ASSERT(reporter, 31 == SkCLZ(1));
19 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30));
20 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U));
30 REPORTER_ASSERT(reporter, intri == porta);
50 static void test_floor_value(skiatest::Reporter* reporter, float value) {
53 REPORTER_ASSERT(reporter, std == fast)
    [all...]
StreamTest.cpp 21 static void test_loop_stream(skiatest::Reporter* reporter, SkStream* stream,
28 REPORTER_ASSERT(reporter, bytes == len);
29 REPORTER_ASSERT(reporter, !memcmp(tmp, src, len));
34 REPORTER_ASSERT(reporter, 0 == bytes);
36 REPORTER_ASSERT(reporter, stream->isAtEnd());
39 static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) {
49 reporter->reportFailed(msg);
60 REPORTER_ASSERT(reporter, stream.isValid())
    [all...]
UtilsTest.cpp 30 static void test_autounref(skiatest::Reporter* reporter) {
32 REPORTER_ASSERT(reporter, 1 == obj.getRefCnt());
35 REPORTER_ASSERT(reporter, &obj == tmp.get());
36 REPORTER_ASSERT(reporter, 1 == obj.getRefCnt());
38 REPORTER_ASSERT(reporter, &obj == tmp.detach());
39 REPORTER_ASSERT(reporter, 1 == obj.getRefCnt());
40 REPORTER_ASSERT(reporter, NULL == tmp.detach());
41 REPORTER_ASSERT(reporter, NULL == tmp.get());
44 REPORTER_ASSERT(reporter, 2 == obj.getRefCnt())
    [all...]
BitmapGetColorTest.cpp 28 static void test_equal_A1_A8(skiatest::Reporter* reporter,
33 REPORTER_ASSERT(reporter, bm1.width() == bm8.width());
34 REPORTER_ASSERT(reporter, bm1.height() == bm8.height());
44 REPORTER_ASSERT(reporter, p1 == p8);
49 static void test_eraserect_A1(skiatest::Reporter* reporter) {
70 test_equal_A1_A8(reporter, bm1, bm8);
74 static void TestGetColor(skiatest::Reporter* reporter) {
    [all...]
PathCoverageTest.cpp 112 skiatest::Reporter* reporter) {
146 reporter->reportFailed(errorDescription);
155 static void TestQuadPointCount(skiatest::Reporter* reporter) {
156 one_d_pe(gXY, SK_ARRAY_COUNT(gXY), reporter);
157 one_d_pe(gSawtooth, SK_ARRAY_COUNT(gSawtooth), reporter);
158 one_d_pe(gOvalish, SK_ARRAY_COUNT(gOvalish), reporter);
159 one_d_pe(gSharpSawtooth, SK_ARRAY_COUNT(gSharpSawtooth), reporter);
160 one_d_pe(gRibbon, SK_ARRAY_COUNT(gRibbon), reporter);
    [all...]
PathOpsCubicLineIntersectionTest.cpp 34 static void testOne(skiatest::Reporter* reporter, int iIndex) {
46 REPORTER_ASSERT(reporter, 0);
50 REPORTER_ASSERT(reporter, 0);
64 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2));
69 static void PathOpsCubicLineIntersectionTest(skiatest::Reporter* reporter) {
72 testOne(reporter, iIndex);
73 reporter->bumpTestCount();
77 static void PathOpsCubicLineIntersectionOneOffTest(skiatest::Reporter* reporter)
    [all...]
PathOpsQuadLineIntersectionTest.cpp 72 static void testOneOffs(skiatest::Reporter* reporter) {
86 REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY));
91 static void PathOpsQuadLineIntersectionTestOne(skiatest::Reporter* reporter) {
92 testOneOffs(reporter);
95 static void PathOpsQuadLineIntersectionTest(skiatest::Reporter* reporter) {
107 REPORTER_ASSERT(reporter, 0);
111 REPORTER_ASSERT(reporter, 0)
    [all...]
PathOpsSkpClipTest.cpp 92 static void PathOpsSkpClipTest(skiatest::Reporter* reporter) {
101 if (reporter->verbose()) {
107 reporter->bumpTestCount();
124 static void PathOpsSkpClipThreadedTest(skiatest::Reporter* reporter) {
125 int threadCount = initializeTests(reporter, "skpClipThreadedTest");
126 PathOpsThreadedTestRunner testRunner(reporter, threadCount);
135 reporter->bumpTestCount();
140 static void PathOpsSkpClipOneOffTest(skiatest::Reporter* reporter)
    [all...]
PaintTest.cpp 58 static void test_cmap(skiatest::Reporter* reporter) {
98 REPORTER_ASSERT(reporter, NGLYPHS == nglyphs);
99 REPORTER_ASSERT(reporter, index == first);
100 REPORTER_ASSERT(reporter,
103 REPORTER_ASSERT(reporter, NGLYPHS == first);
105 REPORTER_ASSERT(reporter, NGLYPHS > first);
112 static void test_filterlevel(skiatest::Reporter* reporter) {
115 REPORTER_ASSERT(reporter,
    [all...]
SurfaceTest.cpp 51 static void TestSurfaceCopyOnWrite(skiatest::Reporter* reporter, SurfaceType surfaceType,
113 REPORTER_ASSERT(reporter, imageBefore != imageAfter); \
136 static void TestSurfaceWritableAfterSnapshotRelease(skiatest::Reporter* reporter,
150 static void Test_crbug263329(skiatest::Reporter* reporter,
175 REPORTER_ASSERT(reporter, image4->getTexture() != image3->getTexture());
177 REPORTER_ASSERT(reporter, image4->getTexture() != image2->getTexture());
178 REPORTER_ASSERT(reporter, image4->getTexture() != image1->getTexture())
    [all...]
ARGBImageEncoderTest.cpp 23 virtual void onRun(Reporter* reporter) SK_OVERRIDE;
31 void BitmapTransformerTestClass::onRun(Reporter* reporter) {
50 REPORTER_ASSERT(reporter, bitmap.allocPixels());
67 REPORTER_ASSERT(reporter, enc->encodeStream(&out, bitmap, SkImageEncoder::kDefaultQuality));
70 REPORTER_ASSERT(reporter, bufferSize == sizeof(comparisonBuffer));
71 REPORTER_ASSERT(reporter, memcmp(pixelBuffer, comparisonBuffer, bufferSize) == 0);
ChecksumTest.cpp 21 virtual void onRun(Reporter* reporter) {
22 this->fReporter = reporter;
137 Reporter* fReporter;
FlateTest.cpp 33 static void TestFlate(skiatest::Reporter* reporter, SkMemoryStream* testStream,
47 REPORTER_ASSERT(reporter, status);
53 REPORTER_ASSERT(reporter, testData.getLength() == inputSize);
54 REPORTER_ASSERT(reporter, memcmp(testData.getMemoryBase(),
60 REPORTER_ASSERT(reporter, compressed.getOffset() < 1024);
62 REPORTER_ASSERT(reporter, compressed.getOffset() > 1024);
69 REPORTER_ASSERT(reporter, status);
75 REPORTER_ASSERT(reporter, data1->size() == inputSize);
76 REPORTER_ASSERT(reporter, memcmp(testStream->getMemoryBase()
    [all...]
MD5Test.cpp 19 static void md5_test(const char* string, const SkMD5::Digest& expectedDigest, skiatest::Reporter* reporter) {
29 REPORTER_ASSERT(reporter, digests_equal(expectedDigest, digest));
43 REPORTER_ASSERT(reporter, digests_equal(expectedDigest, digest));
61 static void TestMD5(skiatest::Reporter* reporter) {
63 md5_test(md5_tests[i].message, md5_tests[i].digest, reporter);
  /external/mockito/src/org/mockito/internal/configuration/injection/
PropertyAndSetterInjection.java 8 import org.mockito.exceptions.Reporter;
93 new Reporter().fieldInitialisationThrewException(field, realCause);
95 new Reporter().cannotInitializeForInjectMocksAnnotation(field.getName(), e);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/
check.py 13 from docutils.utils import Reporter
19 class SilentReporter(Reporter):
24 Reporter.__init__(self, source, report_level, halt_level, stream,
133 reporter = SilentReporter(source_path,
141 document = nodes.document(settings, reporter, source=source_path)
146 reporter.messages.append((-1, 'Could not finish the parsing.',
149 return reporter.messages
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/
check.py 13 from docutils.utils import Reporter
19 class SilentReporter(Reporter):
24 Reporter.__init__(self, source, report_level, halt_level, stream,
133 reporter = SilentReporter(source_path,
141 document = nodes.document(settings, reporter, source=source_path)
146 reporter.messages.append((-1, 'Could not finish the parsing.',
149 return reporter.messages
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
annotate.py 5 from coverage.report import Reporter
7 class AnnotateReporter(Reporter):
10 This reporter creates annotated copies of the measured source files. Each
summary.py 5 from coverage.report import Reporter
9 class SummaryReporter(Reporter):
10 """A reporter for writing the summary report."""
  /external/mockito/src/org/mockito/internal/configuration/
DefaultAnnotationEngine.java 11 import org.mockito.exceptions.Reporter;
83 new Reporter().moreThanOneAnnotationNotAllowed(field.getName());
  /external/mockito/src/org/mockito/internal/handler/
MockHandlerImpl.java 7 import org.mockito.exceptions.Reporter;
124 new Reporter().stubPassedToVerify(); // this throws an exception
  /external/mockito/src/org/mockito/internal/invocation/
InvocationImpl.java 8 import org.mockito.exceptions.Reporter;
106 new Reporter().cannotCallRealMethodOnInterface();
  /external/objenesis/tck/src/org/objenesis/tck/
TCK.java 32 * implementations, reporting the results to a {@link Reporter}.
45 * Reporter reporter = new TextReporter(System.out, System.err);
46 * tck.runTests(reporter);
51 * @see Reporter
85 * @param reporter Where to report the results of the test to.
87 public void runTests(Reporter reporter) {
88 reporter.startTests(describePlatform(), findAllDescriptions(candidates, descriptions),
100 reporter.startTest(candidateDescription, objenesisDescription)
    [all...]

Completed in 1307 milliseconds

1 2 3 45 6 7 8 910