Home
last modified time | relevance | path

Searched refs:Reporter (Results 1 – 25 of 76) sorted by relevance

1234

/external/skia/tests/
DTest.cpp16 Reporter::Reporter() { in Reporter() function in Reporter
20 void Reporter::resetReporting() { in resetReporting()
26 void Reporter::startTest(Test* test) { in startTest()
34 void Reporter::report(const char desc[], Result result) { in report()
45 void Reporter::endTest(Test* test) { in endTest()
59 void Test::setReporter(Reporter* r) { in setReporter()
DTest.h22 class Reporter : public SkRefCnt {
24 Reporter();
85 Reporter* getReporter() const { return fReporter; } in getReporter()
86 void setReporter(Reporter*);
93 virtual void onRun(Reporter*) = 0;
96 Reporter* fReporter;
Dskia_test.cpp18 Iter(Reporter* r) : fReporter(r) { in Iter()
49 Reporter* fReporter;
53 static const char* result2string(Reporter::Result result) { in result2string()
54 return result == Reporter::kPassed ? "passed" : "FAILED"; in result2string()
57 class DebugfReporter : public Reporter {
69 virtual void onReport(const char desc[], Reporter::Result result) { in onReport()
DMathTest.cpp72 static void test_blend(skiatest::Reporter* reporter) { in test_blend()
118 static void check_length(skiatest::Reporter* reporter, in check_length()
156 static void assert_float_equal(skiatest::Reporter* reporter, const char op[], in assert_float_equal()
165 static void test_float_cast(skiatest::Reporter* reporter, float x) { in test_float_cast()
171 static void test_float_floor(skiatest::Reporter* reporter, float x) { in test_float_floor()
177 static void test_float_round(skiatest::Reporter* reporter, float x) { in test_float_round()
184 static void test_float_ceil(skiatest::Reporter* reporter, float x) { in test_float_ceil()
190 static void test_float_conversions(skiatest::Reporter* reporter, float x) { in test_float_conversions()
197 static void test_int2float(skiatest::Reporter* reporter, int ival) { in test_int2float()
205 static void unittest_fastfloat(skiatest::Reporter* reporter) { in unittest_fastfloat()
[all …]
DCanvasTest.cpp133 virtual void draw(SkCanvas*, skiatest::Reporter*) = 0;
201 virtual void draw(SkCanvas* canvas, skiatest::Reporter* reporter) { \
209 static void NAME##TestStep(SkCanvas* canvas, skiatest::Reporter*, \
216 static void NAME##TestStep(SkCanvas* canvas, skiatest::Reporter* reporter, \
290 skiatest::Reporter* reporter, in DrawVerticesShaderTestStep()
307 skiatest::Reporter* reporter, in DrawPictureTestStep()
320 skiatest::Reporter* reporter, in SaveRestoreTestStep()
344 skiatest::Reporter* reporter, in DrawLayerTestStep()
376 static void AssertCanvasStatesEqual(skiatest::Reporter* reporter, in AssertCanvasStatesEqual()
455 skiatest::Reporter* reporter, in AssertFlattenedObjectsEqual()
[all …]
DStreamTest.cpp23 static void test_buffer(skiatest::Reporter* reporter) { in test_buffer()
56 static void TestRStream(skiatest::Reporter* reporter) { in TestRStream()
76 static void TestWStream(skiatest::Reporter* reporter) { in TestWStream()
102 static void TestPackedUInt(skiatest::Reporter* reporter) { in TestPackedUInt()
133 static void TestStreams(skiatest::Reporter* reporter) { in TestStreams()
DPointTest.cpp15 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y, in test_length()
26 static void test_Normalize(skiatest::Reporter* reporter, in test_Normalize()
37 void PointTest(skiatest::Reporter* reporter) { in PointTest()
DColorTest.cpp15 static void test_premul(skiatest::Reporter* reporter) { in test_premul()
59 static void test_fast_interp(skiatest::Reporter* reporter) { in test_fast_interp()
75 static void TestColor(skiatest::Reporter* reporter) { in TestColor()
DEmptyPathTest.cpp25 static void drawAndTest(skiatest::Reporter* reporter, const SkPath& path, in drawAndTest()
62 reporter->report(str.c_str(), skiatest::Reporter::kFailed); in drawAndTest()
69 static void iter_paint(skiatest::Reporter* reporter, const SkPath& path, bool shouldDraw) { in iter_paint()
125 static void test_emptydrawing(skiatest::Reporter* reporter) { in test_emptydrawing()
151 static void TestEmptyPath(skiatest::Reporter* reporter) { in TestEmptyPath()
DUtilsTest.cpp24 static void test_refptr(skiatest::Reporter* reporter) { in test_refptr()
53 static void test_autounref(skiatest::Reporter* reporter) { in test_autounref()
78 static void test_search(skiatest::Reporter* reporter) { in test_search()
123 static void test_utf16(skiatest::Reporter* reporter) { in test_utf16()
142 static void TestUTF(skiatest::Reporter* reporter) { in TestUTF()
DTriangulationTest.cpp25 skiatest::Reporter* reporter) { in PrintTriangles()
167 static void TestStarTriangulation(skiatest::Reporter* reporter) { in TestStarTriangulation()
191 static void TestStarHoleTriangulation(skiatest::Reporter* reporter) { in TestStarHoleTriangulation()
222 static void TestPlusTriangulation(skiatest::Reporter* reporter) { in TestPlusTriangulation()
249 static void TestZipperTriangulation(skiatest::Reporter* reporter) { in TestZipperTriangulation()
291 static void TestTriangulation(skiatest::Reporter* reporter) { in TestTriangulation()
DShaderOpacityTest.cpp13 static void test_bitmap(skiatest::Reporter* reporter) { in test_bitmap()
52 static void test_gradient(skiatest::Reporter* reporter) in test_gradient()
96 static void test_color(skiatest::Reporter* reporter) in test_color()
111 static void test_shader_opacity(skiatest::Reporter* reporter) in test_shader_opacity()
DReader32Test.cpp14 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) { in assert_eof()
21 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) { in assert_start()
29 static void assert_empty(skiatest::Reporter* reporter, const SkReader32& reader) { in assert_empty()
38 static void Tests(skiatest::Reporter* reporter) { in Tests()
DDataRefTest.cpp19 static void assert_len(skiatest::Reporter* reporter, SkData* ref, size_t len) { in assert_len()
23 static void assert_data(skiatest::Reporter* reporter, SkData* ref, in assert_data()
29 void TestDataRef(skiatest::Reporter* reporter) { in TestDataRef()
DXfermodeTest.cpp18 static void test_asMode(skiatest::Reporter* reporter) { in test_asMode()
49 static void test_IsMode(skiatest::Reporter* reporter) { in test_IsMode()
66 static void test_xfermodes(skiatest::Reporter* reporter) { in test_xfermodes()
DFontHostTest.cpp27 static void test_tables(skiatest::Reporter* reporter, SkTypeface* face) { in test_tables()
68 static void test_tables(skiatest::Reporter* reporter) { in test_tables()
88 static void TestFontHost(skiatest::Reporter* reporter) { in TestFontHost()
DMemsetTest.cpp46 static void test_16(skiatest::Reporter* reporter) { in test_16()
63 static void test_32(skiatest::Reporter* reporter) { in test_32()
85 static void TestMemset(skiatest::Reporter* reporter) { in TestMemset()
DWriter32Test.cpp15 static void test1(skiatest::Reporter* reporter, SkWriter32* writer) { in test1()
30 static void test2(skiatest::Reporter* reporter, SkWriter32* writer) { in test2()
56 static void Tests(skiatest::Reporter* reporter) { in Tests()
DDequeTest.cpp11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) { in assert_count()
32 static void assert_f2biter(skiatest::Reporter* reporter, const SkDeque& deq, in assert_f2biter()
45 static void TestDeque(skiatest::Reporter* reporter) { in TestDeque()
DPDFPrimitivesTest.cpp49 static void CheckObjectOutput(skiatest::Reporter* reporter, SkPDFObject* obj, in CheckObjectOutput()
90 static void SimpleCheckObjectOutput(skiatest::Reporter* reporter, in SimpleCheckObjectOutput()
97 static void TestPDFStream(skiatest::Reporter* reporter) { in TestPDFStream()
149 static void TestCatalog(skiatest::Reporter* reporter) { in TestCatalog()
177 static void TestObjectRef(skiatest::Reporter* reporter) { in TestObjectRef()
199 static void TestSubstitute(skiatest::Reporter* reporter) { in TestSubstitute()
235 static void TestPDFPrimitives(skiatest::Reporter* reporter) { in TestPDFPrimitives()
DAAClipTest.cpp130 static void test_rgn(skiatest::Reporter* reporter) { in test_rgn()
178 static void test_path_bounds(skiatest::Reporter* reporter) { in test_path_bounds()
204 static void test_empty(skiatest::Reporter* reporter) { in test_empty()
243 static void test_irect(skiatest::Reporter* reporter) { in test_irect()
284 static void test_path_with_hole(skiatest::Reporter* reporter) { in test_path_with_hole()
316 static void test_regressions(skiatest::Reporter* reporter) { in test_regressions()
330 static void TestAAClip(skiatest::Reporter* reporter) { in TestAAClip()
DPaintTest.cpp14 static void test_copy(skiatest::Reporter* reporter) { in test_copy()
68 static void regression_cubic(skiatest::Reporter* reporter) { in regression_cubic()
100 static void TestPaint(skiatest::Reporter* reporter) { in TestPaint()
/external/skia/samplecode/
DSampleTests.cpp16 class MyReporter : public Reporter {
19 virtual void onReport(const char desc[], Reporter::Result result) { in onReport()
20 SkASSERT(Reporter::kPassed == result); in onReport()
27 Iter(Reporter* r) : fReporter(r) { in Iter()
58 Reporter* fReporter;
/external/stlport/test/unit/cppunit/
Dtest_main.cpp30 Reporter *TestCase::m_reporter = 0;
37 int TestCase::run(Reporter *in_reporter, const char *in_testName, bool invert) { in run()
107 CPPUNIT_NS::Reporter* reporter; in main()
Dcppunit_mini.h33 class Reporter {
35 virtual ~Reporter() {} in ~Reporter()
59 static int run(Reporter *in_reporter = 0, const char *in_testName = "", bool invert = false);
128 static Reporter *m_reporter;

1234