Searched defs:reporter (Results 1 - 24 of 24) sorted by relevance

/external/skia/tests/
H A DStringTest.cpp4 static void TestString(skiatest::Reporter* reporter) { argument
10 REPORTER_ASSERT(reporter, a.isEmpty());
11 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
19 REPORTER_ASSERT(reporter, !a.isEmpty());
20 REPORTER_ASSERT(reporter, a.size() == 5);
21 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
22 REPORTER_ASSERT(reporter, a.equals("hello", 5));
23 REPORTER_ASSERT(reporter, a.equals("hello"));
24 REPORTER_ASSERT(reporter, !a.equals("help"));
30 REPORTER_ASSERT(reporter,
[all...]
H A DGeometryTest.cpp4 static void TestGeometry(skiatest::Reporter* reporter) { argument
12 REPORTER_ASSERT(reporter, count == 1 || count == 2);
H A DPathMeasureTest.cpp4 static void TestPathMeasure(skiatest::Reporter* reporter) { argument
21 REPORTER_ASSERT(reporter, length == SK_Scalar1*5);
H A DTestSize.cpp4 static void TestISize(skiatest::Reporter* reporter) { argument
8 REPORTER_ASSERT(reporter, a.isEmpty());
10 REPORTER_ASSERT(reporter, a.isEmpty());
12 REPORTER_ASSERT(reporter, a.isEmpty());
14 REPORTER_ASSERT(reporter, a == b);
17 REPORTER_ASSERT(reporter, !a.isEmpty());
19 REPORTER_ASSERT(reporter, !b.isEmpty());
20 REPORTER_ASSERT(reporter, a == b);
21 REPORTER_ASSERT(reporter, !(a != b));
22 REPORTER_ASSERT(reporter,
26 TestSize(skiatest::Reporter* reporter) argument
[all...]
H A DClipperTest.cpp6 static void test_intersectline(skiatest::Reporter* reporter) { argument
35 REPORTER_ASSERT(reporter, !valid);
59 REPORTER_ASSERT(reporter, valid && !memcmp(&gFull[i], dst, sizeof(dst)));
78 REPORTER_ASSERT(reporter, valid &&
84 void TestClipper(skiatest::Reporter* reporter) { argument
85 test_intersectline(reporter);
H A DPaintTest.cpp7 static void regression_cubic(skiatest::Reporter* reporter) { argument
32 REPORTER_ASSERT(reporter, maxR.contains(strokeR));
35 static void TestPaint(skiatest::Reporter* reporter) { argument
39 regression_cubic(reporter);
H A DParsePathTest.cpp4 static void test_to_from(skiatest::Reporter* reporter, const SkPath& path) { argument
10 REPORTER_ASSERT(reporter, success);
13 REPORTER_ASSERT(reporter, str == str2);
16 REPORTER_ASSERT(reporter, path == path2);
23 static void TestParsePath(skiatest::Reporter* reporter) { argument
38 REPORTER_ASSERT(reporter, success);
41 REPORTER_ASSERT(reporter, expectedBounds == pathBounds);
43 test_to_from(reporter, path);
50 test_to_from(reporter, p);
52 test_to_from(reporter,
[all...]
H A DPathTest.cpp5 static void check_convex_bounds(skiatest::Reporter* reporter, const SkPath& p, argument
7 REPORTER_ASSERT(reporter, p.isConvex());
8 REPORTER_ASSERT(reporter, p.getBounds() == bounds);
11 REPORTER_ASSERT(reporter, p2.isConvex());
12 REPORTER_ASSERT(reporter, p2.getBounds() == bounds);
16 REPORTER_ASSERT(reporter, other.isConvex());
17 REPORTER_ASSERT(reporter, other.getBounds() == bounds);
20 static void TestPath(skiatest::Reporter* reporter) { argument
34 REPORTER_ASSERT(reporter, p.isEmpty());
35 REPORTER_ASSERT(reporter, !
[all...]
H A DSortTest.cpp18 static void check_sort(skiatest::Reporter* reporter, const char label[], argument
25 reporter->reportFailed(str);
30 static void TestSort(skiatest::Reporter* reporter) { argument
39 check_sort(reporter, "Quick", array, count);
43 check_sort(reporter, "Heap", array, count);
H A DSrcOverTest.cpp20 static void test_srcover_hack(skiatest::Reporter* reporter) { argument
42 REPORTER_ASSERT(reporter, opaqueCounter0 == 256);
43 REPORTER_ASSERT(reporter, opaqueCounter1 == 256);
44 REPORTER_ASSERT(reporter, opaqueCounter2 == 256);
55 REPORTER_ASSERT(reporter, r0 <= 255 && r0 >= max);
57 REPORTER_ASSERT(reporter, r1 <= 255 && r1 >= max);
58 REPORTER_ASSERT(reporter, r2 <= 255 && r2 >= max);
H A DClipCubicTest.cpp47 static void TestCubicClipping(skiatest::Reporter* reporter) { argument
65 REPORTER_ASSERT(reporter, success == true);
66 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
73 REPORTER_ASSERT(reporter, success == true);
74 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
81 REPORTER_ASSERT(reporter, success == true);
82 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve(
89 REPORTER_ASSERT(reporter, success == false);
95 REPORTER_ASSERT(reporter, success == true);
96 REPORTER_ASSERT(reporter, CurvesAreEqua
[all...]
H A DMatrixTest.cpp30 static void test_flatten(skiatest::Reporter* reporter, const SkMatrix& m) { argument
35 REPORTER_ASSERT(reporter, size1 == size2);
36 REPORTER_ASSERT(reporter, size1 <= SkMatrix::kMaxFlattenSize);
40 REPORTER_ASSERT(reporter, size1 == size2);
41 REPORTER_ASSERT(reporter, m == m2);
45 REPORTER_ASSERT(reporter, size1 == size2);
46 REPORTER_ASSERT(reporter, memcmp(buffer, buffer2, size1) == 0);
49 void TestMatrix(skiatest::Reporter* reporter) { argument
56 REPORTER_ASSERT(reporter, is_identity(iden1));
61 REPORTER_ASSERT(reporter, is_identit
[all...]
H A DStreamTest.cpp15 static void test_buffer(skiatest::Reporter* reporter) { argument
37 REPORTER_ASSERT(reporter, ss > 0 && ss <= s);
38 REPORTER_ASSERT(reporter, bytesRead + ss <= size);
39 REPORTER_ASSERT(reporter,
43 REPORTER_ASSERT(reporter, bytesRead == size);
48 static void TestRStream(skiatest::Reporter* reporter) { argument
62 REPORTER_ASSERT(reporter, copyPtr == copy + sizeof(s));
63 REPORTER_ASSERT(reporter, memcmp(s, copy, sizeof(s)) == 0);
65 test_buffer(reporter);
68 static void TestWStream(skiatest::Reporter* reporter) { argument
88 TestStreams(skiatest::Reporter* reporter) argument
[all...]
H A DUtilsTest.cpp9 static void test_search(skiatest::Reporter* reporter) { argument
20 REPORTER_ASSERT(reporter, array[i-1] <= array[i]);
26 REPORTER_ASSERT(reporter, index == i);
36 REPORTER_ASSERT(reporter,
40 REPORTER_ASSERT(reporter, index <= kSEARCH_COUNT);
42 REPORTER_ASSERT(reporter, value < array[index]);
44 REPORTER_ASSERT(reporter, value > array[index - 1]);
48 REPORTER_ASSERT(reporter, value > array[kSEARCH_COUNT - 1]);
54 static void test_utf16(skiatest::Reporter* reporter) { argument
63 REPORTER_ASSERT(reporter, coun
73 TestUTF(skiatest::Reporter* reporter) argument
[all...]
H A DBitmapCopyTest.cpp14 static void report_opaqueness(skiatest::Reporter* reporter, const SkBitmap& src, argument
20 reporter->reportFailed(str);
28 static void test_isOpaque(skiatest::Reporter* reporter, const SkBitmap& src, argument
43 REPORTER_ASSERT(reporter, bitmap.copyTo(&dst, dstConfig));
44 REPORTER_ASSERT(reporter, dst.config() == dstConfig);
46 report_opaqueness(reporter, bitmap, dst);
54 REPORTER_ASSERT(reporter, bitmap.copyTo(&dst, dstConfig));
55 REPORTER_ASSERT(reporter, dst.config() == dstConfig);
57 report_opaqueness(reporter, bitmap, dst);
84 static void TestBitmapCopy(skiatest::Reporter* reporter) { argument
[all...]
H A DPackBitsTest.cpp16 static void test_pack16(skiatest::Reporter* reporter) { argument
35 REPORTER_ASSERT(reporter, match);
46 REPORTER_ASSERT(reporter, maxSize >= dstSize);
49 REPORTER_ASSERT(reporter, size == srcCount);
51 REPORTER_ASSERT(reporter, match);
66 static void test_pack8(skiatest::Reporter* reporter) { argument
83 REPORTER_ASSERT(reporter, dstSize <= maxSize);
89 REPORTER_ASSERT(reporter, match);
100 REPORTER_ASSERT(reporter, maxSize >= dstSize);
103 REPORTER_ASSERT(reporter, siz
121 TestPackBits(skiatest::Reporter* reporter) argument
[all...]
H A DSk64Test.cpp9 static void bool_table_test(skiatest::Reporter* reporter, argument
12 REPORTER_ASSERT(reporter, a.isZero() != a.nonZero());
14 REPORTER_ASSERT(reporter, !a.isZero() == !table.zero);
15 REPORTER_ASSERT(reporter, !a.isPos() == !table.pos);
16 REPORTER_ASSERT(reporter, !a.isNeg() == !table.neg);
17 REPORTER_ASSERT(reporter, a.getSign() == table.sign);
27 static void TestSk64(skiatest::Reporter* reporter) { argument
44 REPORTER_ASSERT(reporter, a == b);
45 REPORTER_ASSERT(reporter, a == c);
46 bool_table_test(reporter,
[all...]
H A DTriangulationTest.cpp18 skiatest::Reporter* reporter) {
22 REPORTER_ASSERT(reporter, n % 3 == 0);
160 static void TestStarTriangulation(skiatest::Reporter* reporter) { argument
175 PrintTriangles(triangles, kNumStarVertices, star, reporter);
178 reporter->report("Triangulate Star", success ? reporter->kPassed
179 : reporter->kFailed);
184 static void TestStarHoleTriangulation(skiatest::Reporter* reporter) { argument
206 PrintTriangles(triangles, kNumStarHoleVertices, star, reporter);
209 reporter
16 PrintTriangles(const SkTDArray<SkPoint> &triangles, int numPts, const SkPoint *pts, skiatest::Reporter* reporter) argument
215 TestPlusTriangulation(skiatest::Reporter* reporter) argument
242 TestZipperTriangulation(skiatest::Reporter* reporter) argument
284 TestTriangulation(skiatest::Reporter* reporter) argument
[all...]
H A DBlitRowTest.cpp81 skiatest::Reporter* reporter) {
91 reporter->reportFailed(str);
99 static void test_00_FF(skiatest::Reporter* reporter) { argument
150 gSrcRec[j].fResult8, reporter)) {
192 static void test_diagonal(skiatest::Reporter* reporter) { argument
254 reporter->reportFailed(str);
262 static void TestBlitRow(skiatest::Reporter* reporter) { argument
263 test_00_FF(reporter);
264 test_diagonal(reporter);
79 check_color(const SkBitmap& bm, SkPMColor expect32, uint16_t expect16, uint8_t expect8, skiatest::Reporter* reporter) argument
H A DMathTest.cpp27 static void check_length(skiatest::Reporter* reporter, argument
36 REPORTER_ASSERT(reporter, len > 0.999f && len < 1.001f);
65 static void assert_float_equal(skiatest::Reporter* reporter, const char op[], argument
70 reporter->reportFailed(desc);
74 static void test_float_cast(skiatest::Reporter* reporter, float x) { argument
77 assert_float_equal(reporter, "cast", x, ix, iix);
80 static void test_float_floor(skiatest::Reporter* reporter, float x) { argument
83 assert_float_equal(reporter, "floor", x, ix, iix);
86 static void test_float_round(skiatest::Reporter* reporter, float x) { argument
90 assert_float_equal(reporter, "roun
93 test_float_ceil(skiatest::Reporter* reporter, float x) argument
99 test_float_conversions(skiatest::Reporter* reporter, float x) argument
106 test_int2float(skiatest::Reporter* reporter, int ival) argument
114 unittest_fastfloat(skiatest::Reporter* reporter) argument
150 test_muldiv255(skiatest::Reporter* reporter) argument
173 test_copysign(skiatest::Reporter* reporter) argument
213 TestMath(skiatest::Reporter* reporter) argument
[all...]
/external/jdiff/src/jdiff/
H A DOptions.java132 * @param reporter a DocErrorReporter for generating error messages
137 DocErrorReporter reporter) {
138 final DocErrorReporter errOut = reporter;
136 validOptions(String[][] options, DocErrorReporter reporter) argument
H A DJDiff.java118 HTMLReportGenerator reporter = new HTMLReportGenerator();
119 reporter.generate(comp, existingComments);
123 Comments newComments = reporter.getNewComments();
161 * @param reporter a DocErrorReporter for generating error messages
166 DocErrorReporter reporter) {
167 return Options.validOptions(options, reporter);
165 validOptions(String[][] options, DocErrorReporter reporter) argument
/external/stlport/test/unit/cppunit/
H A Dtest_main.cpp107 CPPUNIT_NS::Reporter* reporter; local
109 reporter = new FileReporter(fileName, doMonitoring);
111 reporter = new FileReporter(stdout, doMonitoring);
115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true);
117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName);
120 reporter->printSummary();
121 delete reporter;
/external/gtest/src/
H A Dgtest.cc508 // The c'tor sets this object as the test part result reporter used by
518 // The c'tor sets this object as the test part result reporter used by
539 // The d'tor restores the test part result reporter used by Google Test
653 // Returns the global test part result reporter.
660 // Sets the global test part result reporter.
662 TestPartResultReporterInterface* reporter) {
664 global_test_part_result_repoter_ = reporter;
667 // Returns the test part result reporter for the current thread.
673 // Sets the test part result reporter for the current thread.
675 TestPartResultReporterInterface* reporter) {
661 SetGlobalTestPartResultReporter( TestPartResultReporterInterface* reporter) argument
674 SetTestPartResultReporterForCurrentThread( TestPartResultReporterInterface* reporter) argument
[all...]

Completed in 172 milliseconds