Searched refs:skiatest (Results 1 - 25 of 413) sorted by relevance

1234567891011>>

/external/skia/tests/
H A DTestUtils.h16 void test_read_pixels(skiatest::Reporter*,
22 void test_write_pixels(skiatest::Reporter*,
27 void test_copy_from_surface(skiatest::Reporter*, GrContext*,
32 void test_copy_to_surface(skiatest::Reporter*, GrProxyProvider*,
H A DPathOpsExtendedTest.h19 void (*fun)(skiatest::Reporter*, const char* filename);
24 extern int comparePaths(skiatest::Reporter* reporter, const char* filename,
27 inline int comparePaths(skiatest::Reporter* reporter, const char* filename,
35 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
37 extern bool testPathOpCheck(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
39 extern bool testPathOpFail(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
41 extern bool testPathOpFuzz(skiatest::Reporter* reporter, const SkPath& a,
45 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename);
46 extern bool testSimplifyCheck(skiatest::Reporter* reporter, const SkPath& path,
48 extern bool testSimplifyFuzz(skiatest
[all...]
H A DTest.cpp18 void skiatest::Reporter::bumpTestCount() {}
20 bool skiatest::Reporter::allowExtendedTest() const { return false; }
22 bool skiatest::Reporter::verbose() const { return false; }
24 SkString skiatest::Failure::toString() const {
36 SkString skiatest::GetTmpDir() {
57 skiatest::Timer::Timer() : fStartNanos(SkTime::GetNSecs()) {}
59 double skiatest::Timer::elapsedNs() const {
63 double skiatest::Timer::elapsedMs() const { return this->elapsedNs() * 1e-6; }
65 SkMSec skiatest::Timer::elapsedMsInt() const {
H A DTest.h28 namespace skiatest { namespace
46 virtual void reportFailed(const skiatest::Failure&) = 0;
51 void reportFailedWithContext(const skiatest::Failure& f) {
63 this->reportFailed(skiatest::Failure(f.fileName, f.lineNo, f.condition, fullMessage));
77 reporter->reportFailedWithContext(skiatest::Failure(__FILE__, __LINE__, cond, message))
92 typedef void (*TestProc)(skiatest::Reporter*, const GrContextOptions&);
109 void run(skiatest::Reporter* r, const GrContextOptions& options) const {
118 Use the following macros to make use of the skiatest classes, e.g.
172 } // namespace skiatest
194 static void test_##name(skiatest
[all...]
H A DGpuRectanizerTest.cpp21 static void test_rectanizer_basic(skiatest::Reporter* reporter, GrRectanizer* rectanizer) {
33 static void test_rectanizer_inserts(skiatest::Reporter*,
47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) {
54 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) {
H A DMemsetTest.cpp27 static void compare16(skiatest::Reporter* r, const uint16_t base[],
37 static void compare32(skiatest::Reporter* r, const uint32_t base[],
47 static void test_16(skiatest::Reporter* reporter) {
64 static void test_32(skiatest::Reporter* reporter) {
H A DPathOpsThreadedCommon.h22 namespace skiatest { namespace
34 skiatest::Reporter* fReporter;
43 PathOpsThreadedTestRunner(skiatest::Reporter* reporter) : fReporter(reporter) {}
51 skiatest::Reporter* fReporter;
H A DPointTest.cpp13 static void test_casts(skiatest::Reporter* reporter) {
25 static void test_Normalize(skiatest::Reporter* reporter,
38 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y,
59 template <typename T> T get_value(skiatest::Reporter* reporter, T value) {
70 static float force_as_float(skiatest::Reporter* reporter, float value) {
85 static void test_overflow(skiatest::Reporter* reporter) {
108 static void test_underflow(skiatest::Reporter* reporter) {
H A DDrawFilterTest.cpp29 static void test_saverestore(skiatest::Reporter* reporter) {
H A DGrTRecorderTest.cpp30 static void test_empty_back_and_pop(skiatest::Reporter* reporter) {
88 static void test_extra_data(skiatest::Reporter* reporter) {
141 virtual void validate(skiatest::Reporter* reporter) const {
155 virtual void validate(skiatest::Reporter* reporter) const {
170 virtual void validate(skiatest::Reporter* reporter) const {
192 virtual void validate(skiatest::Reporter* reporter) const {
221 static void test_subclasses_iters(skiatest::Reporter*, Order&, Base::Recorder::Iter&,
223 static void test_subclasses(skiatest::Reporter* reporter) {
266 static void test_subclasses_iters(skiatest::Reporter* reporter, Order& order,
H A DColorTest.cpp19 static inline void test_premul(skiatest::Reporter* reporter) {
46 static void test_interp(skiatest::Reporter* reporter) {
63 static inline void test_fast_interp(skiatest::Reporter* reporter) {
/external/skqp/tests/
H A DTestUtils.h16 void test_read_pixels(skiatest::Reporter*,
22 void test_write_pixels(skiatest::Reporter*,
27 void test_copy_from_surface(skiatest::Reporter*, GrContext*,
32 void test_copy_to_surface(skiatest::Reporter*, GrProxyProvider*,
H A DPathOpsExtendedTest.h19 void (*fun)(skiatest::Reporter*, const char* filename);
24 extern int comparePaths(skiatest::Reporter* reporter, const char* filename,
27 inline int comparePaths(skiatest::Reporter* reporter, const char* filename,
35 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
37 extern bool testPathOpCheck(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
39 extern bool testPathOpFail(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
41 extern bool testPathOpFuzz(skiatest::Reporter* reporter, const SkPath& a,
45 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename);
46 extern bool testSimplifyCheck(skiatest::Reporter* reporter, const SkPath& path,
48 extern bool testSimplifyFuzz(skiatest
[all...]
H A DTest.cpp18 void skiatest::Reporter::bumpTestCount() {}
20 bool skiatest::Reporter::allowExtendedTest() const { return false; }
22 bool skiatest::Reporter::verbose() const { return false; }
24 SkString skiatest::Failure::toString() const {
36 SkString skiatest::GetTmpDir() {
57 skiatest::Timer::Timer() : fStartNanos(SkTime::GetNSecs()) {}
59 double skiatest::Timer::elapsedNs() const {
63 double skiatest::Timer::elapsedMs() const { return this->elapsedNs() * 1e-6; }
65 SkMSec skiatest::Timer::elapsedMsInt() const {
H A DTest.h28 namespace skiatest { namespace
46 virtual void reportFailed(const skiatest::Failure&) = 0;
51 void reportFailedWithContext(const skiatest::Failure& f) {
63 this->reportFailed(skiatest::Failure(f.fileName, f.lineNo, f.condition, fullMessage));
77 reporter->reportFailedWithContext(skiatest::Failure(__FILE__, __LINE__, cond, message))
92 typedef void (*TestProc)(skiatest::Reporter*, const GrContextOptions&);
109 void run(skiatest::Reporter* r, const GrContextOptions& options) const {
118 Use the following macros to make use of the skiatest classes, e.g.
172 } // namespace skiatest
194 static void test_##name(skiatest
[all...]
H A DGpuRectanizerTest.cpp21 static void test_rectanizer_basic(skiatest::Reporter* reporter, GrRectanizer* rectanizer) {
33 static void test_rectanizer_inserts(skiatest::Reporter*,
47 static void test_skyline(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) {
54 static void test_pow2(skiatest::Reporter* reporter, const SkTDArray<SkISize>& rects) {
H A DMemsetTest.cpp27 static void compare16(skiatest::Reporter* r, const uint16_t base[],
37 static void compare32(skiatest::Reporter* r, const uint32_t base[],
47 static void test_16(skiatest::Reporter* reporter) {
64 static void test_32(skiatest::Reporter* reporter) {
H A DPathOpsThreadedCommon.h22 namespace skiatest { namespace
34 skiatest::Reporter* fReporter;
43 PathOpsThreadedTestRunner(skiatest::Reporter* reporter) : fReporter(reporter) {}
51 skiatest::Reporter* fReporter;
H A DPointTest.cpp13 static void test_casts(skiatest::Reporter* reporter) {
25 static void test_Normalize(skiatest::Reporter* reporter,
38 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y,
59 template <typename T> T get_value(skiatest::Reporter* reporter, T value) {
70 static float force_as_float(skiatest::Reporter* reporter, float value) {
85 static void test_overflow(skiatest::Reporter* reporter) {
108 static void test_underflow(skiatest::Reporter* reporter) {
H A DDrawFilterTest.cpp29 static void test_saverestore(skiatest::Reporter* reporter) {
H A DGrTRecorderTest.cpp30 static void test_empty_back_and_pop(skiatest::Reporter* reporter) {
88 static void test_extra_data(skiatest::Reporter* reporter) {
141 virtual void validate(skiatest::Reporter* reporter) const {
155 virtual void validate(skiatest::Reporter* reporter) const {
170 virtual void validate(skiatest::Reporter* reporter) const {
192 virtual void validate(skiatest::Reporter* reporter) const {
221 static void test_subclasses_iters(skiatest::Reporter*, Order&, Base::Recorder::Iter&,
223 static void test_subclasses(skiatest::Reporter* reporter) {
266 static void test_subclasses_iters(skiatest::Reporter* reporter, Order& order,
/external/skia/tools/
H A Dlist_gpu_unit_tests.cpp17 for (const skiatest::TestRegistry* r = skiatest::TestRegistry::Head(); r; r = r->next()) {
18 const skiatest::Test& test = r->factory();
/external/skqp/tools/
H A Dlist_gpu_unit_tests.cpp17 for (const skiatest::TestRegistry* r = skiatest::TestRegistry::Head(); r; r = r->next()) {
18 const skiatest::Test& test = r->factory();
/external/skia/dm/
H A DDMJsonWriter.h43 static void AddTestFailure(const skiatest::Failure&);
/external/skqp/dm/
H A DDMJsonWriter.h43 static void AddTestFailure(const skiatest::Failure&);

Completed in 461 milliseconds

1234567891011>>