/external/skia/tests/ |
Test.cpp | 17 void skiatest::Reporter::bumpTestCount() {} 19 bool skiatest::Reporter::allowExtendedTest() const { return false; } 21 bool skiatest::Reporter::verbose() const { return false; } 23 SkString skiatest::Failure::toString() const { 35 SkString skiatest::GetTmpDir() {
|
Test.h | 19 namespace skiatest { namespace 37 virtual void reportFailed(const skiatest::Failure&) = 0; 43 reporter->reportFailed(skiatest::Failure(__FILE__, __LINE__, cond, message)) 45 typedef void (*TestProc)(skiatest::Reporter*, GrContextFactory*); 57 Use the following macros to make use of the skiatest classes, e.g. 88 } // namespace skiatest 117 static void test_##name(skiatest::Reporter*, GrContextFactory*); \ 118 skiatest::TestRegistry name##TestRegistry( \ 119 skiatest::Test(#name, false, test_##name)); \ 120 void test_##name(skiatest::Reporter* reporter, GrContextFactory* [all...] |
PathOpsExtendedTest.h | 23 void (*fun)(skiatest::Reporter*, const char* filename); 28 extern int comparePaths(skiatest::Reporter* reporter, const char* filename, 31 inline int comparePaths(skiatest::Reporter* reporter, const char* filename, 39 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 41 extern bool testPathOpCheck(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 43 extern bool testPathOpFailCheck(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 45 extern bool testPathFailOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 49 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename); 50 extern bool testSimplifyCheck(skiatest::Reporter* reporter, const SkPath& path, 53 void initializeTests(skiatest::Reporter* reporter, const char* testName) [all...] |
GpuRectanizerTest.cpp | 21 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) {
|
PathOpsThreadedCommon.h | 17 namespace skiatest { namespace 29 skiatest::Reporter* fReporter; 35 PathOpsThreadedTestRunner(skiatest::Reporter* reporter) : fReporter(reporter) {} 43 skiatest::Reporter* fReporter;
|
PathOpsSimplifyTest.cpp | 11 static void testLine1(skiatest::Reporter* reporter, const char* filename) { 20 static void testLine1x(skiatest::Reporter* reporter, const char* filename) { 58 static void testLine2(skiatest::Reporter* reporter, const char* filename) { 65 static void testLine2x(skiatest::Reporter* reporter, const char* filename) { 73 static void testLine3(skiatest::Reporter* reporter, const char* filename) { 80 static void testLine3x(skiatest::Reporter* reporter, const char* filename) { 88 static void testLine3a(skiatest::Reporter* reporter, const char* filename) { 95 static void testLine3ax(skiatest::Reporter* reporter, const char* filename) { 103 static void testLine3b(skiatest::Reporter* reporter, const char* filename) { 110 static void testLine3bx(skiatest::Reporter* reporter, const char* filename) [all...] |
PDFDocumentTest.cpp | 16 static void test_empty(skiatest::Reporter* reporter) { 26 static void test_abort(skiatest::Reporter* reporter) { 39 static void test_abortWithFile(skiatest::Reporter* reporter) { 40 SkString tmpDir = skiatest::GetTmpDir(); 68 static void test_file(skiatest::Reporter* reporter) { 69 SkString tmpDir = skiatest::GetTmpDir(); 94 static void test_close(skiatest::Reporter* reporter) {
|
PointTest.cpp | 14 static void test_casts(skiatest::Reporter* reporter) { 26 static void test_Normalize(skiatest::Reporter* reporter, 39 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y, 60 template <typename T> T get_value(skiatest::Reporter* reporter, T value) { 71 static float force_as_float(skiatest::Reporter* reporter, float value) { 86 static void test_overflow(skiatest::Reporter* reporter) { 109 static void test_underflow(skiatest::Reporter* reporter) {
|
RRectInPathTest.cpp | 15 static SkRRect path_contains_rrect(skiatest::Reporter* reporter, const SkPath& path) { 28 static SkRRect inner_path_contains_rrect(skiatest::Reporter* reporter, const SkRRect& in) { 42 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRRect& in) { 50 static void path_contains_rrect_nocheck(skiatest::Reporter* reporter, const SkRRect& in) { 57 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRect& r, 71 static void force_path_contains_rrect(skiatest::Reporter* reporter, SkPath& path) { 76 static void test_undetected_paths(skiatest::Reporter* reporter) { 133 static void test_tricky_radii(skiatest::Reporter* reporter) { 156 static void test_empty_crbug_458524(skiatest::Reporter* reporter) { 170 static void test_inset(skiatest::Reporter* reporter) [all...] |
FrontBufferedStreamTest.cpp | 16 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, 26 static void test_rewind(skiatest::Reporter* reporter, 36 static void test_hasLength(skiatest::Reporter* reporter, 53 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { 84 static void test_perfectly_sized_buffer(skiatest::Reporter* reporter, size_t bufferSize) { 103 static void test_skipping(skiatest::Reporter* reporter, size_t bufferSize) { 153 static void test_read_beyond_buffer(skiatest::Reporter* reporter, size_t bufferSize) { 201 static void test_length_combos(skiatest::Reporter* reporter, size_t bufferSize) { 213 static void test_initial_offset(skiatest::Reporter* reporter, size_t bufferSize) { 243 static void test_buffers(skiatest::Reporter* reporter, size_t bufferSize) [all...] |
GradientTest.cpp | 19 static void test_big_grad(skiatest::Reporter* reporter) { 48 void gradCheck(skiatest::Reporter* reporter, SkShader* shader, 69 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) { 74 static void color_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { 85 static void linear_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { 97 static void radial_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { 111 static void sweep_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { 123 static void conical_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { 140 static void TestConstantGradient(skiatest::Reporter*) { 167 typedef void (*GradProc)(skiatest::Reporter* reporter, const GradRec&) [all...] |
DrawFilterTest.cpp | 29 static void test_saverestore(skiatest::Reporter* reporter) {
|
GrTRecorderTest.cpp | 30 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,
|
PathOpsOpTest.cpp | 32 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) { 45 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) { 58 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) { 71 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename) { 84 static void cubicOp6d(skiatest::Reporter* reporter, const char* filename) { 97 static void cubicOp7d(skiatest::Reporter* reporter, const char* filename) { 110 static void cubicOp8d(skiatest::Reporter* reporter, const char* filename) { 123 static void cubicOp9d(skiatest::Reporter* reporter, const char* filename) { 136 static void quadOp9d(skiatest::Reporter* reporter, const char* filename) { 151 static void lineOp9d(skiatest::Reporter* reporter, const char* filename) [all...] |
DataRefTest.cpp | 16 static void test_is_equal(skiatest::Reporter* reporter, 28 static void test_datatable_is_empty(skiatest::Reporter* reporter, 34 static void test_emptytable(skiatest::Reporter* reporter) { 51 static void test_simpletable(skiatest::Reporter* reporter) { 66 static void test_vartable(skiatest::Reporter* reporter) { 92 static void test_tablebuilder(skiatest::Reporter* reporter) { 118 static void test_globaltable(skiatest::Reporter* reporter) { 152 static void assert_len(skiatest::Reporter* reporter, SkData* ref, size_t len) { 156 static void assert_data(skiatest::Reporter* reporter, SkData* ref, 162 static void test_cstring(skiatest::Reporter* reporter) [all...] |
ColorTest.cpp | 19 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) {
|
PathOpsQuadReduceOrderTest.cpp | 20 static void oneOffTest(skiatest::Reporter* reporter) { 29 static void standardTestCases(skiatest::Reporter* reporter) {
|
XfermodeTest.cpp | 14 static void test_asMode(skiatest::Reporter* reporter) { 37 static void test_IsMode(skiatest::Reporter* reporter) {
|
ImageNewShaderTest.cpp | 19 void testBitmapEquality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { 44 void runShaderTest(skiatest::Reporter* reporter, SkSurface* sourceSurface, SkSurface* destinationSurface, SkImageInfo& info) { 115 void gpuToGpu(skiatest::Reporter* reporter, GrContext* context) { 126 void gpuToRaster(skiatest::Reporter* reporter, GrContext* context) { 136 void rasterToGpu(skiatest::Reporter* reporter, GrContext* context) {
|
RandomTest.cpp | 59 static void test_random_byte(skiatest::Reporter* reporter, int shift) { 71 static void test_random_float(skiatest::Reporter* reporter) { 102 static double test_single_gorilla(skiatest::Reporter* reporter, int shift) { 152 static void test_gorilla(skiatest::Reporter* reporter) { 162 static void test_range(skiatest::Reporter* reporter) {
|
MemsetTest.cpp | 12 static void check_alloc(skiatest::Reporter* reporter, const SkChunkAlloc& alloc, 19 static void* simple_alloc(skiatest::Reporter* reporter, SkChunkAlloc* alloc, size_t size) { 26 static void test_chunkalloc(skiatest::Reporter* reporter) { 98 static void compare16(skiatest::Reporter* r, const uint16_t base[], 108 static void compare32(skiatest::Reporter* r, const uint32_t base[], 118 static void test_16(skiatest::Reporter* reporter) { 135 static void test_32(skiatest::Reporter* reporter) {
|
FontHostTest.cpp | 34 static void test_unitsPerEm(skiatest::Reporter* reporter, SkTypeface* face) { 53 static void test_countGlyphs(skiatest::Reporter* reporter, SkTypeface* face) { 89 static void test_charsToGlyphs(skiatest::Reporter* reporter, SkTypeface* face) { 114 static void test_fontstream(skiatest::Reporter* reporter, SkStream* stream, int ttcIndex) { 140 static void test_fontstream(skiatest::Reporter* reporter) { 156 static void test_symbolfont(skiatest::Reporter* reporter) { 172 static void test_tables(skiatest::Reporter* reporter, SkTypeface* face) { 215 static void test_tables(skiatest::Reporter* reporter) { 243 static void test_advances(skiatest::Reporter* reporter) {
|
GeometryTest.cpp | 16 static void testChopCubic(skiatest::Reporter* reporter) { 37 static void check_pairs(skiatest::Reporter* reporter, int index, SkScalar t, const char name[], 47 static void test_evalquadat(skiatest::Reporter* reporter) { 72 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { 79 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { 86 static void test_conic(skiatest::Reporter* reporter) { 108 static void test_quad_tangents(skiatest::Reporter* reporter) { 128 static void test_conic_tangents(skiatest::Reporter* reporter) { 148 static void test_cubic_tangents(skiatest::Reporter* reporter) {
|
/external/skia/dm/ |
DMJsonWriter.h | 42 static void AddTestFailure(const skiatest::Failure&);
|
/external/skia/src/gpu/ |
GrGpuResourceCacheAccess.h | 15 namespace skiatest { namespace 93 friend void test_unbudgeted_to_scratch(skiatest::Reporter* reporter); // for unit testing
|