/external/skia/tests/ |
PathOpsCubicLineIntersectionTest.cpp | 45 static void testOne(skiatest::Reporter* reporter, int iIndex) { 56 REPORTER_ASSERT(reporter, 0); 60 REPORTER_ASSERT(reporter, 0); 74 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 79 static void PathOpsCubicLineIntersectionTest(skiatest::Reporter* reporter) { 82 testOne(reporter, iIndex); 83 reporter->bumpTestCount(); 87 static void PathOpsCubicLineIntersectionOneOffTest(skiatest::Reporter* reporter) [all...] |
PathOpsQuadLineIntersectionTest.cpp | 77 static void testOneOffs(skiatest::Reporter* reporter) { 95 REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY)); 100 static void PathOpsQuadLineIntersectionOneOffTest(skiatest::Reporter* reporter) { 101 testOneOffs(reporter); 104 static void PathOpsQuadLineIntersectionTest(skiatest::Reporter* reporter) { 116 REPORTER_ASSERT(reporter, 0); 120 REPORTER_ASSERT(reporter, 0) [all...] |
Reader32Test.cpp | 12 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) { 13 REPORTER_ASSERT(reporter, reader.eof()); 14 REPORTER_ASSERT(reporter, reader.size() == reader.offset()); 15 REPORTER_ASSERT(reporter, (const char*)reader.peek() == 19 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) { 20 REPORTER_ASSERT(reporter, 0 == reader.offset()); 21 REPORTER_ASSERT(reporter, reader.size() == reader.available()); 22 REPORTER_ASSERT(reporter, reader.isAvailable(reader.size())) [all...] |
RefCntTest.cpp | 31 static void test_refarray(skiatest::Reporter* reporter) { 32 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter); 37 REPORTER_ASSERT(reporter, 1 == array->getRefCnt()); 38 REPORTER_ASSERT(reporter, N == array->count()); 40 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter); 42 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter); 48 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter); 50 REPORTER_ASSERT(reporter, i == src[i].fCount); 54 REPORTER_ASSERT(reporter, 1 == array->getRefCnt()) [all...] |
ScalarTest.cpp | 22 static void test_isRectFinite(skiatest::Reporter* reporter) { 62 REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite); 102 static void test_floatclass(skiatest::Reporter* reporter, float value, FloatClass fc) { 105 REPORTER_ASSERT(reporter, !!sk_float_isfinite(value) == (fc == kFinite)); 106 REPORTER_ASSERT(reporter, !!sk_float_isinf(value) == (fc == kInfinite)); 107 REPORTER_ASSERT(reporter, !!sk_float_isnan(value) == (fc == kNaN)); 117 static void test_isfinite(skiatest::Reporter* reporter) { [all...] |
ShaderOpacityTest.cpp | 14 static void test_bitmap(skiatest::Reporter* reporter) { 21 REPORTER_ASSERT(reporter, shader); 22 REPORTER_ASSERT(reporter, !shader->isOpaque()); 31 REPORTER_ASSERT(reporter, shader); 32 REPORTER_ASSERT(reporter, !shader->isOpaque()); 39 REPORTER_ASSERT(reporter, shader); 40 REPORTER_ASSERT(reporter, shader->isOpaque()); 47 REPORTER_ASSERT(reporter, shader); 48 REPORTER_ASSERT(reporter, !shader->isOpaque()) [all...] |
TSetTest.cpp | 15 static void TestTSet_basic(skiatest::Reporter* reporter) { 17 REPORTER_ASSERT(reporter, set0.isEmpty()); 18 REPORTER_ASSERT(reporter, !set0.contains(-1)); 19 REPORTER_ASSERT(reporter, !set0.contains(0)); 20 REPORTER_ASSERT(reporter, !set0.contains(1)); 21 REPORTER_ASSERT(reporter, set0.count() == 0); 23 REPORTER_ASSERT(reporter, set0.add(0)); 24 REPORTER_ASSERT(reporter, !set0.isEmpty()); 25 REPORTER_ASSERT(reporter, !set0.contains(-1)) [all...] |
PathOpsLineIntersectionTest.cpp | 74 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, 80 REPORTER_ASSERT(reporter, ts.used() != 1); 82 REPORTER_ASSERT(reporter, result1.approximatelyEqual(result2)); 83 REPORTER_ASSERT(reporter, result1.approximatelyEqual(ts.pt(i).asSkPoint())); 88 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) { 93 REPORTER_ASSERT(reporter, pts); 94 REPORTER_ASSERT(reporter, pts == i.used()); 95 check_results(reporter, line1, line2, i) [all...] |
SurfaceTest.cpp | 51 static void TestSurfaceCopyOnWrite(skiatest::Reporter* reporter, SurfaceType surfaceType, 114 REPORTER_ASSERT(reporter, imageBefore != imageAfter); \ 137 static void TestSurfaceWritableAfterSnapshotRelease(skiatest::Reporter* reporter, 151 static void Test_crbug263329(skiatest::Reporter* reporter, 176 REPORTER_ASSERT(reporter, image4->getTexture() != image3->getTexture()); 178 REPORTER_ASSERT(reporter, image4->getTexture() != image2->getTexture()); 179 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;
|
InfRectTest.cpp | 24 static void test_center(skiatest::Reporter* reporter) { 33 REPORTER_ASSERT(reporter, 35 REPORTER_ASSERT(reporter, 47 REPORTER_ASSERT(reporter, ((r.left() + r.right()) >> 1) == cx); 48 REPORTER_ASSERT(reporter, ((r.top() + r.bottom()) >> 1) == cy); 52 static void check_invalid(skiatest::Reporter* reporter, 56 REPORTER_ASSERT(reporter, !rect.isFinite()); 61 DEF_TEST(InfRect, reporter) { [all...] |
PathOpsQuadIntersectionTest.cpp | 14 static void standardTestCases(skiatest::Reporter* reporter) { 47 REPORTER_ASSERT(reporter, 0); 261 static void oneOffTest1(skiatest::Reporter* reporter, size_t outer, size_t inner) { 277 REPORTER_ASSERT(reporter, 0); 286 static void PathOpsQuadIntersectionOneOffTest(skiatest::Reporter* reporter) { 287 oneOffTest1(reporter, 0, 1); 290 static void oneOffTests(skiatest::Reporter* reporter) [all...] |
UnicodeTest.cpp | 27 static void test_uvs(skiatest::Reporter* reporter) { 37 REPORTER_ASSERT(reporter, uvs0 == uvs1); 45 static void test_textencodings(skiatest::Reporter* reporter) { 73 REPORTER_ASSERT(reporter, (int)len8 == count8); 74 REPORTER_ASSERT(reporter, (int)len8 == count16); 75 REPORTER_ASSERT(reporter, (int)len8 == count32); 77 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_t))); 78 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_t))) [all...] |
RoundRectTest.cpp | 16 static void test_inset(skiatest::Reporter* reporter) { 22 REPORTER_ASSERT(reporter, rr2.isRect()); 25 REPORTER_ASSERT(reporter, rr2.isRect()); 28 REPORTER_ASSERT(reporter, rr2.isEmpty()); 32 REPORTER_ASSERT(reporter, rr2.isSimple()); 34 REPORTER_ASSERT(reporter, rr2.isRect()); 38 static void test_round_rect_basic(skiatest::Reporter* reporter) { 45 REPORTER_ASSERT(reporter, SkRRect::kEmpty_Type == empty.type()) [all...] |
/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...] |
Main.java | 67 TextReporter reporter = new TextReporter(System.out, System.err); local 69 runTest(new ObjenesisStd(), reporter, "Objenesis std", "candidates/candidates.properties"); 70 runTest(new ObjenesisSerializer(), reporter, "Objenesis serializer", 75 reporter.printResult(result); 91 private static void runTest(Objenesis objenesis, Reporter reporter, String description, 101 tck.runTests(reporter);
|
/external/skia/dm/ |
DMCpuTask.cpp | 13 Reporter* reporter, 18 : Task(reporter, taskRunner)
|