/external/skia/tests/ |
D | TestConfigParsing.cpp | 29 DEF_TEST(ParseConfigs_Gpu, reporter) { in DEF_TEST() argument 36 REPORTER_ASSERT(reporter, configs.count() == 1); in DEF_TEST() 37 REPORTER_ASSERT(reporter, configs[0]->getTag().equals("gpu")); in DEF_TEST() 38 REPORTER_ASSERT(reporter, configs[0]->getViaParts().count() == 0); in DEF_TEST() 40 REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()); in DEF_TEST() 41 REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getContextType() in DEF_TEST() 43 REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getUseNVPR() == false); in DEF_TEST() 44 REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getUseDIText() == false); in DEF_TEST() 45 REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getSamples() == 0); in DEF_TEST() 49 DEF_TEST(ParseConfigs_OutParam, reporter) { in DEF_TEST() argument [all …]
|
D | DataRefTest.cpp | 16 static void test_is_equal(skiatest::Reporter* reporter, in test_is_equal() argument 18 REPORTER_ASSERT(reporter, a->count() == b->count()); in test_is_equal() 23 REPORTER_ASSERT(reporter, sizea == sizeb); in test_is_equal() 24 REPORTER_ASSERT(reporter, !memcmp(mema, memb, sizea)); in test_is_equal() 28 static void test_datatable_is_empty(skiatest::Reporter* reporter, in test_datatable_is_empty() argument 30 REPORTER_ASSERT(reporter, table->isEmpty()); in test_datatable_is_empty() 31 REPORTER_ASSERT(reporter, 0 == table->count()); in test_datatable_is_empty() 34 static void test_emptytable(skiatest::Reporter* reporter) { in test_emptytable() argument 41 test_datatable_is_empty(reporter, table0); in test_emptytable() 42 test_datatable_is_empty(reporter, table1); in test_emptytable() [all …]
|
D | UtilsTest.cpp | 28 static void test_autounref(skiatest::Reporter* reporter) { in test_autounref() argument 30 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref() 33 REPORTER_ASSERT(reporter, &obj == tmp.get()); in test_autounref() 34 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref() 36 REPORTER_ASSERT(reporter, &obj == tmp.detach()); in test_autounref() 37 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref() 38 REPORTER_ASSERT(reporter, nullptr == tmp.detach()); in test_autounref() 39 REPORTER_ASSERT(reporter, nullptr == tmp.get()); in test_autounref() 42 REPORTER_ASSERT(reporter, !obj.unique()); in test_autounref() 46 REPORTER_ASSERT(reporter, obj.unique()); in test_autounref() [all …]
|
D | TestTest.cpp | 17 DEF_TEST(TestNormal, reporter) { in DEF_TEST() argument 18 REPORTER_ASSERT(reporter, reporter); in DEF_TEST() 23 DEF_GPUTEST(TestGpuFactory, reporter, factory) { in DEF_GPUTEST() argument 24 REPORTER_ASSERT(reporter, reporter); in DEF_GPUTEST() 25 REPORTER_ASSERT(reporter, factory); in DEF_GPUTEST() 32 DEF_GPUTEST_FOR_ALL_CONTEXTS(TestGpuAllContexts, reporter, context) { in DEF_GPUTEST_FOR_ALL_CONTEXTS() argument 33 REPORTER_ASSERT(reporter, reporter); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 34 REPORTER_ASSERT(reporter, context); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 41 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 42 REPORTER_ASSERT(reporter, reporter); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | RoundRectTest.cpp | 12 static void test_tricky_radii(skiatest::Reporter* reporter) { in test_tricky_radii() argument 31 REPORTER_ASSERT(reporter, (double) rr.radii(SkRRect::kUpperRight_Corner).fY + in test_tricky_radii() 37 static void test_empty_crbug_458524(skiatest::Reporter* reporter) { in test_empty_crbug_458524() argument 47 REPORTER_ASSERT(reporter, SkRRect::kEmpty_Type == other.getType()); in test_empty_crbug_458524() 52 static void test_empty(skiatest::Reporter* reporter) { in test_empty() argument 72 REPORTER_ASSERT(reporter, !r.isEmpty()); in test_empty() 75 REPORTER_ASSERT(reporter, !r.isEmpty()); in test_empty() 78 REPORTER_ASSERT(reporter, !r.isEmpty()); in test_empty() 81 REPORTER_ASSERT(reporter, !r.isEmpty()); in test_empty() 84 REPORTER_ASSERT(reporter, !r.isEmpty()); in test_empty() [all …]
|
D | DequeTest.cpp | 11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) { in assert_count() argument 13 REPORTER_ASSERT(reporter, deq.empty()); in assert_count() 14 REPORTER_ASSERT(reporter, 0 == deq.count()); in assert_count() 15 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize()); in assert_count() 16 REPORTER_ASSERT(reporter, nullptr == deq.front()); in assert_count() 17 REPORTER_ASSERT(reporter, nullptr == deq.back()); in assert_count() 19 REPORTER_ASSERT(reporter, !deq.empty()); in assert_count() 20 REPORTER_ASSERT(reporter, count == deq.count()); in assert_count() 21 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize()); in assert_count() 22 REPORTER_ASSERT(reporter, deq.front()); in assert_count() [all …]
|
D | MatrixTest.cpp | 29 static bool are_equal(skiatest::Reporter* reporter, in are_equal() argument 45 REPORTER_ASSERT(reporter, aVal == bVal && aValI == aValI); in are_equal() 48 REPORTER_ASSERT(reporter, foundZeroSignDiff); in are_equal() 59 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI); in are_equal() 62 REPORTER_ASSERT(reporter, foundNaN); in are_equal() 74 static void assert9(skiatest::Reporter* reporter, const SkMatrix& m, in assert9() argument 80 REPORTER_ASSERT(reporter, buffer[0] == a); in assert9() 81 REPORTER_ASSERT(reporter, buffer[1] == b); in assert9() 82 REPORTER_ASSERT(reporter, buffer[2] == c); in assert9() 83 REPORTER_ASSERT(reporter, buffer[3] == d); in assert9() [all …]
|
D | Reader32Test.cpp | 11 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) { in assert_eof() argument 12 REPORTER_ASSERT(reporter, reader.eof()); in assert_eof() 13 REPORTER_ASSERT(reporter, reader.size() == reader.offset()); in assert_eof() 14 REPORTER_ASSERT(reporter, (const char*)reader.peek() == in assert_eof() 18 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) { in assert_start() argument 19 REPORTER_ASSERT(reporter, 0 == reader.offset()); in assert_start() 20 REPORTER_ASSERT(reporter, reader.size() == reader.available()); in assert_start() 21 REPORTER_ASSERT(reporter, reader.isAvailable(reader.size())); in assert_start() 22 REPORTER_ASSERT(reporter, !reader.isAvailable(reader.size() + 1)); in assert_start() 23 REPORTER_ASSERT(reporter, reader.peek() == reader.base()); in assert_start() [all …]
|
D | ResourceCacheTest.cpp | 33 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ResourceCacheCache, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 77 REPORTER_ASSERT(reporter, curCacheSize <= maxCacheSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 83 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ResourceCacheStencilBuffers, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 104 REPORTER_ASSERT(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 115 REPORTER_ASSERT(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 132 REPORTER_ASSERT(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 152 REPORTER_ASSERT(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 162 REPORTER_ASSERT(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 180 REPORTER_ASSERT(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 190 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ResourceCacheWrappedResources, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument [all …]
|
D | BitSetTest.cpp | 11 DEF_TEST(BitSet, reporter) { in DEF_TEST() argument 13 REPORTER_ASSERT(reporter, set0.isBitSet(0) == false); in DEF_TEST() 14 REPORTER_ASSERT(reporter, set0.isBitSet(32767) == false); in DEF_TEST() 15 REPORTER_ASSERT(reporter, set0.isBitSet(65535) == false); in DEF_TEST() 18 REPORTER_ASSERT(reporter, set0 == set1); in DEF_TEST() 21 REPORTER_ASSERT(reporter, set0.isBitSet(22) == true); in DEF_TEST() 23 REPORTER_ASSERT(reporter, set0.isBitSet(24) == true); in DEF_TEST() 25 REPORTER_ASSERT(reporter, set0.isBitSet(35) == true); in DEF_TEST() 27 REPORTER_ASSERT(reporter, set0.isBitSet(22) == false); in DEF_TEST() 28 REPORTER_ASSERT(reporter, set0.isBitSet(24) == true); in DEF_TEST() [all …]
|
D | MetaDataTest.cpp | 12 static void test_ptrs(skiatest::Reporter* reporter) { in test_ptrs() argument 14 REPORTER_ASSERT(reporter, ref.unique()); in test_ptrs() 21 REPORTER_ASSERT(reporter, md0.findRefCnt(name)); in test_ptrs() 22 REPORTER_ASSERT(reporter, md0.hasRefCnt(name, &ref)); in test_ptrs() 23 REPORTER_ASSERT(reporter, !ref.unique()); in test_ptrs() 26 REPORTER_ASSERT(reporter, md1.findRefCnt(name)); in test_ptrs() 27 REPORTER_ASSERT(reporter, md1.hasRefCnt(name, &ref)); in test_ptrs() 28 REPORTER_ASSERT(reporter, !ref.unique()); in test_ptrs() 30 REPORTER_ASSERT(reporter, md0.removeRefCnt(name)); in test_ptrs() 31 REPORTER_ASSERT(reporter, !md0.findRefCnt(name)); in test_ptrs() [all …]
|
D | GpuLayerCacheTest.cpp | 47 static void create_layers(skiatest::Reporter* reporter, in create_layers() argument 62 REPORTER_ASSERT(reporter, layer); in create_layers() 65 REPORTER_ASSERT(reporter, temp == layer); in create_layers() 67 REPORTER_ASSERT(reporter, TestingAccess::NumLayers(cache) == idOffset + i + 1); in create_layers() 69 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); in create_layers() 70 REPORTER_ASSERT(reporter, layer->start() == idOffset + i + 1); in create_layers() 71 REPORTER_ASSERT(reporter, layer->stop() == idOffset + i + 2); in create_layers() 72 REPORTER_ASSERT(reporter, nullptr == layer->texture()); in create_layers() 73 REPORTER_ASSERT(reporter, nullptr == layer->paint()); in create_layers() 74 REPORTER_ASSERT(reporter, !layer->isAtlased()); in create_layers() [all …]
|
D | FrontBufferedStreamTest.cpp | 16 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, in test_read() argument 22 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd()); in test_read() 23 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0); in test_read() 26 static void test_rewind(skiatest::Reporter* reporter, in test_rewind() argument 29 REPORTER_ASSERT(reporter, success == shouldSucceed); in test_rewind() 36 static void test_hasLength(skiatest::Reporter* reporter, in test_hasLength() argument 40 REPORTER_ASSERT(reporter, bufferedStream.hasLength()); in test_hasLength() 42 REPORTER_ASSERT(reporter, !bufferedStream.hasLength()); in test_hasLength() 53 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { in test_incremental_buffering() argument 60 test_hasLength(reporter, *bufferedStream.get(), *memStream); in test_incremental_buffering() [all …]
|
D | PathTest.cpp | 31 static void test_add_rrect(skiatest::Reporter* reporter, const SkRect& bounds, in test_add_rrect() argument 35 REPORTER_ASSERT(reporter, bounds == rrect.rect()); in test_add_rrect() 40 REPORTER_ASSERT(reporter, bounds == path.getBounds()); in test_add_rrect() 43 static void test_skbug_3469(skiatest::Reporter* reporter) { in test_skbug_3469() argument 48 REPORTER_ASSERT(reporter, !path.isConvex()); in test_skbug_3469() 51 static void test_skbug_3239(skiatest::Reporter* reporter) { in test_skbug_3239() argument 64 test_add_rrect(reporter, rectx, radii); in test_skbug_3239() 65 test_add_rrect(reporter, recty, radii); in test_skbug_3239() 116 static void make_path_crbugskia2820(SkPath* path, skiatest::Reporter* reporter) { in make_path_crbugskia2820() argument 129 static void test_path_crbugskia2820(skiatest::Reporter* reporter) {//GrContext* context) { in test_path_crbugskia2820() argument [all …]
|
D | Writer32Test.cpp | 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, in check_contents() argument 16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); in check_contents() 18 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size)); in check_contents() 22 static void test_reserve(skiatest::Reporter* reporter) { in test_reserve() argument 30 static void test_string_null(skiatest::Reporter* reporter) { in test_string_null() argument 37 check_contents(reporter, writer, expected, sizeof(expected)); in test_string_null() 40 static void test_rewind(skiatest::Reporter* reporter) { in test_rewind() argument 44 REPORTER_ASSERT(reporter, 0 == writer.bytesWritten()); in test_rewind() 48 check_contents(reporter, writer, array, sizeof(array)); in test_rewind() 51 REPORTER_ASSERT(reporter, sizeof(array) - 4 == writer.bytesWritten()); in test_rewind() [all …]
|
D | RRectInPathTest.cpp | 15 static SkRRect path_contains_rrect(skiatest::Reporter* reporter, const SkPath& path) { in path_contains_rrect() argument 17 REPORTER_ASSERT(reporter, path.isRRect(&out)); in path_contains_rrect() 24 REPORTER_ASSERT(reporter, xorBoth.isEmpty()); in path_contains_rrect() 28 static SkRRect inner_path_contains_rrect(skiatest::Reporter* reporter, const SkRRect& in) { in inner_path_contains_rrect() argument 39 return path_contains_rrect(reporter, path); in inner_path_contains_rrect() 42 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRRect& in) { in path_contains_rrect_check() argument 43 SkRRect out = inner_path_contains_rrect(reporter, in); in path_contains_rrect_check() 47 REPORTER_ASSERT(reporter, in == out); in path_contains_rrect_check() 50 static void path_contains_rrect_nocheck(skiatest::Reporter* reporter, const SkRRect& in) { in path_contains_rrect_nocheck() argument 51 SkRRect out = inner_path_contains_rrect(reporter, in); in path_contains_rrect_nocheck() [all …]
|
D | Matrix44Test.cpp | 30 template <typename T> void assert16(skiatest::Reporter* reporter, const T data[], in assert16() argument 35 REPORTER_ASSERT(reporter, data[0] == m0); in assert16() 36 REPORTER_ASSERT(reporter, data[1] == m1); in assert16() 37 REPORTER_ASSERT(reporter, data[2] == m2); in assert16() 38 REPORTER_ASSERT(reporter, data[3] == m3); in assert16() 40 REPORTER_ASSERT(reporter, data[4] == m4); in assert16() 41 REPORTER_ASSERT(reporter, data[5] == m5); in assert16() 42 REPORTER_ASSERT(reporter, data[6] == m6); in assert16() 43 REPORTER_ASSERT(reporter, data[7] == m7); in assert16() 45 REPORTER_ASSERT(reporter, data[8] == m8); in assert16() [all …]
|
D | RefDictTest.cpp | 18 DEF_TEST(RefDict, reporter) { in DEF_TEST() argument 22 REPORTER_ASSERT(reporter, nullptr == dict.find(nullptr)); in DEF_TEST() 23 REPORTER_ASSERT(reporter, nullptr == dict.find("foo")); in DEF_TEST() 24 REPORTER_ASSERT(reporter, nullptr == dict.find("bar")); in DEF_TEST() 27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST() 28 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST() 31 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST() 32 REPORTER_ASSERT(reporter, !data0.unique()); in DEF_TEST() 35 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in DEF_TEST() 36 REPORTER_ASSERT(reporter, data0.unique()); in DEF_TEST() [all …]
|
D | MathTest.cpp | 18 static void test_clz(skiatest::Reporter* reporter) { in test_clz() argument 19 REPORTER_ASSERT(reporter, 32 == SkCLZ(0)); in test_clz() 20 REPORTER_ASSERT(reporter, 31 == SkCLZ(1)); in test_clz() 21 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30)); in test_clz() 22 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U)); in test_clz() 32 REPORTER_ASSERT(reporter, intri == porta); in test_clz() 52 static void test_floor_value(skiatest::Reporter* reporter, float value) { in test_floor_value() argument 56 ERRORF(reporter, "fast_floor(%.9g) == %.9g != %.9g == std_floor(%.9g)", in test_floor_value() 61 static void test_floor(skiatest::Reporter* reporter) { in test_floor() argument 67 test_floor_value(reporter, gVals[i]); in test_floor() [all …]
|
D | GrTRecorderTest.cpp | 30 static void test_empty_back_and_pop(skiatest::Reporter* reporter) { in test_empty_back_and_pop() argument 39 REPORTER_ASSERT(reporter, recorder.empty()); in test_empty_back_and_pop() 43 REPORTER_ASSERT(reporter, i == *GrNEW_APPEND_TO_RECORDER(recorder, in test_empty_back_and_pop() 46 REPORTER_ASSERT(reporter, i == in test_empty_back_and_pop() 51 REPORTER_ASSERT(reporter, !recorder.empty()); in test_empty_back_and_pop() 52 REPORTER_ASSERT(reporter, i == recorder.back()); in test_empty_back_and_pop() 56 REPORTER_ASSERT(reporter, !recorder.empty()); in test_empty_back_and_pop() 57 REPORTER_ASSERT(reporter, i-1 == recorder.back()); in test_empty_back_and_pop() 62 REPORTER_ASSERT(reporter, !recorder.empty()); in test_empty_back_and_pop() 64 REPORTER_ASSERT(reporter, recorder.empty()); in test_empty_back_and_pop() [all …]
|
D | PDFPrimitivesTest.cpp | 82 static void TestPDFStream(skiatest::Reporter* reporter) { in TestPDFStream() argument 87 ASSERT_EMIT_EQ(reporter, in TestPDFStream() 91 ASSERT_EMIT_EQ(reporter, in TestPDFStream() 117 ASSERT_EQL(reporter, in TestPDFStream() 124 static void TestObjectNumberMap(skiatest::Reporter* reporter) { in TestObjectNumberMap() argument 136 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a1.get()) == 1); in TestObjectNumberMap() 137 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a2.get()) == 2); in TestObjectNumberMap() 138 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a3.get()) == 3); in TestObjectNumberMap() 141 REPORTER_ASSERT(reporter, objNumMap.getObjectNumber(a1.get()) == 1); in TestObjectNumberMap() 144 static void TestObjectRef(skiatest::Reporter* reporter) { in TestObjectRef() argument [all …]
|
D | ImageTest.cpp | 27 static void assert_equal(skiatest::Reporter* reporter, SkImage* a, const SkIRect* subsetA, in assert_equal() argument 32 REPORTER_ASSERT(reporter, widthA == b->width()); in assert_equal() 33 REPORTER_ASSERT(reporter, heightA == b->height()); in assert_equal() 38 REPORTER_ASSERT(reporter, AO == BO); in assert_equal() 50 REPORTER_ASSERT(reporter, a->readPixels(pmapA, srcX, srcY)); in assert_equal() 51 REPORTER_ASSERT(reporter, b->readPixels(pmapB, 0, 0)); in assert_equal() 55 REPORTER_ASSERT(reporter, !memcmp(pmapA.addr32(0, y), pmapB.addr32(0, y), widthBytes)); in assert_equal() 134 static void test_encode(skiatest::Reporter* reporter, SkImage* image) { in test_encode() argument 137 REPORTER_ASSERT(reporter, origEncoded); in test_encode() 138 REPORTER_ASSERT(reporter, origEncoded->size() > 0); in test_encode() [all …]
|
D | MemsetTest.cpp | 12 static void check_alloc(skiatest::Reporter* reporter, const SkChunkAlloc& alloc, in check_alloc() argument 14 REPORTER_ASSERT(reporter, alloc.totalCapacity() >= capacity); in check_alloc() 15 REPORTER_ASSERT(reporter, alloc.totalUsed() == used); in check_alloc() 16 SkDEBUGCODE(REPORTER_ASSERT(reporter, alloc.blockCount() == numBlocks);) in check_alloc() 19 static void* simple_alloc(skiatest::Reporter* reporter, SkChunkAlloc* alloc, size_t size) { in simple_alloc() argument 21 check_alloc(reporter, *alloc, size, size, 1); in simple_alloc() 22 REPORTER_ASSERT(reporter, alloc->contains(ptr)); in simple_alloc() 26 static void test_chunkalloc(skiatest::Reporter* reporter) { in test_chunkalloc() argument 32 check_alloc(reporter, alloc, 0, 0, 0); in test_chunkalloc() 33 REPORTER_ASSERT(reporter, !alloc.contains(nullptr)); in test_chunkalloc() [all …]
|
D | LListTest.cpp | 27 skiatest::Reporter* reporter, in check_list() argument 33 REPORTER_ASSERT(reporter, empty == list.isEmpty()); in check_list() 36 REPORTER_ASSERT(reporter, numElements == list.countEntries()); in check_list() 37 REPORTER_ASSERT(reporter, in0 == list.isInList(&elements[0])); in check_list() 38 REPORTER_ASSERT(reporter, in1 == list.isInList(&elements[1])); in check_list() 39 REPORTER_ASSERT(reporter, in2 == list.isInList(&elements[2])); in check_list() 40 REPORTER_ASSERT(reporter, in3 == list.isInList(&elements[3])); in check_list() 44 static void test_tinternallist(skiatest::Reporter* reporter) { in test_tinternallist() argument 54 check_list(list, reporter, true, 0, false, false, false, false, elements); in test_tinternallist() 58 check_list(list, reporter, false, 1, true, false, false, false, elements); in test_tinternallist() [all …]
|
D | PathOpsSimplifyTest.cpp | 11 static void testLine1(skiatest::Reporter* reporter, const char* filename) { in testLine1() argument 17 testSimplify(reporter, path, filename); in testLine1() 20 static void testLine1x(skiatest::Reporter* reporter, const char* filename) { in testLine1x() argument 27 testSimplify(reporter, path, filename); in testLine1x() 58 static void testLine2(skiatest::Reporter* reporter, const char* filename) { in testLine2() argument 62 testSimplify(reporter, path, filename); in testLine2() 65 static void testLine2x(skiatest::Reporter* reporter, const char* filename) { in testLine2x() argument 70 testSimplify(reporter, path, filename); in testLine2x() 73 static void testLine3(skiatest::Reporter* reporter, const char* filename) { in testLine3() argument 77 testSimplify(reporter, path, filename); in testLine3() [all …]
|