/external/skia/tests/ |
ParsePathTest.cpp | 11 static void test_to_from(skiatest::Reporter* reporter, const SkPath& path) { 17 REPORTER_ASSERT(reporter, success); 20 REPORTER_ASSERT(reporter, str == str2); 23 REPORTER_ASSERT(reporter, path == path2); 44 DEF_TEST(ParsePath, reporter) { 48 REPORTER_ASSERT(reporter, success); 51 REPORTER_ASSERT(reporter, expectedBounds == pathBounds); 53 test_to_from(reporter, path); 60 test_to_from(reporter, p) [all...] |
RTreeTest.cpp | 46 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, SkRect rects[], 52 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 56 DEF_TEST(RTree, reporter) { 77 REPORTER_ASSERT(reporter, 0 == rtree.getCount()); 86 run_queries(reporter, rand, rects, rtree); 87 REPORTER_ASSERT(reporter, NUM_RECTS == rtree.getCount()); 88 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree.getDepth() &&
|
ShaderTest.cpp | 18 static void check_isabitmap(skiatest::Reporter* reporter, SkShader* shader, 27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes)); 28 REPORTER_ASSERT(reporter, bm.width() == expectedW); 29 REPORTER_ASSERT(reporter, bm.height() == expectedH); 30 REPORTER_ASSERT(reporter, localM == expectedM); 31 REPORTER_ASSERT(reporter, tileModes[0] == expectedX); 32 REPORTER_ASSERT(reporter, tileModes[1] == expectedY); 40 REPORTER_ASSERT(reporter, image); 41 REPORTER_ASSERT(reporter, image->width() == expectedW) [all...] |
SkDOMTest.cpp | 15 static const SkDOM::Node* check_node(skiatest::Reporter* r, const SkDOM& dom,
|
SkLinearBitmapPipelineTest.cpp | 21 DEF_TEST(LBPBilerpEdge, reporter) { 37 skiatest::Reporter* reporter, 47 REPORTER_ASSERT_MESSAGE(reporter, prefixStart == start, dump(cut, prefix, span)); 48 REPORTER_ASSERT_MESSAGE(reporter, prefixLen == len, dump(cut, prefix, span)); 49 REPORTER_ASSERT_MESSAGE(reporter, prefixCount == count, dump(cut, prefix, span)); 69 REPORTER_ASSERT_MESSAGE(reporter, expectedRemainderStart == remainderStart, 71 REPORTER_ASSERT_MESSAGE(reporter, 74 REPORTER_ASSERT_MESSAGE(reporter, 80 DEF_TEST(LBPSpanOps, reporter) { [all...] |
YUVCacheTest.cpp | 23 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, 25 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt); 26 REPORTER_ASSERT(reporter, data->testing_only_isInCache() == (kInCache == cacheState)); 28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); 31 DEF_TEST(YUVPlanesCache, reporter) { 45 REPORTER_ASSERT(reporter, nullptr == data); 52 check_data(reporter, data, 2, kInCache, kLocked); 55 check_data(reporter, data, 1, kInCache, kUnlocked); 60 REPORTER_ASSERT(reporter, data) [all...] |
PathOpsTigerTest.cpp | 12 static void tiger8(skiatest::Reporter* reporter, const char* filename) { 89 testSimplify(reporter, path, filename); 93 static void tiger8a(skiatest::Reporter* reporter, const char* filename) { 132 testSimplify(reporter, path, filename); 135 static void tiger8a_x(skiatest::Reporter* reporter, uint64_t testlines) { 175 testSimplify(reporter, path, "tiger"); 180 static void tiger8a_h_1(skiatest::Reporter* reporter, const char* ) [all...] |
ClipperTest.cpp | 15 static void test_hairclipping(skiatest::Reporter* reporter) { 43 REPORTER_ASSERT(reporter, 0xFFFFFFFF != c); 45 REPORTER_ASSERT(reporter, 0xFFFFFFFF == c); 69 static void test_intersectline(skiatest::Reporter* reporter) { 98 REPORTER_ASSERT(reporter, !valid); 122 REPORTER_ASSERT(reporter, valid && !memcmp(&gFull[i], dst, sizeof(dst))); 141 REPORTER_ASSERT(reporter, valid && 147 DEF_TEST(Clipper, reporter) { [all...] |
DynamicHashTest.cpp | 36 #define ASSERT(x) REPORTER_ASSERT(reporter, x) 38 DEF_TEST(DynamicHash_growth, reporter) { 66 DEF_TEST(DynamicHash_add, reporter) { 78 DEF_TEST(DynamicHash_lookup, reporter) { 113 DEF_TEST(DynamicHash_remove, reporter) { 139 template<typename T> static void TestIter(skiatest::Reporter* reporter) { 187 DEF_TEST(DynamicHash_iterator, reporter) { 188 TestIter<Hash::Iter>(reporter); 189 TestIter<Hash::ConstIter>(reporter); [all...] |
FontNamesTest.cpp | 112 static void test_synthetic(skiatest::Reporter* reporter, bool verbose) { 118 REPORTER_ASSERT_MESSAGE(reporter, 123 REPORTER_ASSERT_MESSAGE(reporter, 133 REPORTER_ASSERT_MESSAGE(reporter, nameIndex == test[i].nameCount, 136 REPORTER_ASSERT_MESSAGE(reporter, !iter.next(record), 142 static void test_systemfonts(skiatest::Reporter* reporter, bool verbose) { 186 REPORTER_ASSERT_MESSAGE(reporter, 198 REPORTER_ASSERT_MESSAGE(reporter, [all...] |
GpuDrawPathTest.cpp | 28 static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) { 65 static void test_drawSameRectOvals(skiatest::Reporter*, SkCanvas* canvas) { 79 DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(GpuDrawPath, reporter, ctxInfo) { 89 test_func(reporter, surface->getCanvas()); 94 DEF_GPUTEST(GrPathKeys, reporter, /*factory*/) { 117 REPORTER_ASSERT(reporter, !isVolatile); 118 REPORTER_ASSERT(reporter, key1.isValid()); 120 REPORTER_ASSERT(reporter, !isVolatile); 121 REPORTER_ASSERT(reporter, key1.isValid()); 122 REPORTER_ASSERT(reporter, key1 != key2) [all...] |
PathOpsCubicLineIntersectionTest.cpp | 27 static void testFail(skiatest::Reporter* reporter, int iIndex) { 40 REPORTER_ASSERT(reporter, 0); 44 REPORTER_ASSERT(reporter, 0); 49 REPORTER_ASSERT(reporter, roots == 0); 127 static void testOne(skiatest::Reporter* reporter, int iIndex) { 140 REPORTER_ASSERT(reporter, 0); 144 REPORTER_ASSERT(reporter, 0); 158 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)) [all...] |
ProxyConversionTest.cpp | 22 skiatest::Reporter* reporter, 36 skiatest::Reporter* reporter, 56 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(WrappedProxyConversionTest, reporter, ctxInfo) { 68 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_FBO0(provider, reporter, desc)); 72 REPORTER_ASSERT(reporter, rtProxy); 73 REPORTER_ASSERT(reporter, !rtProxy->asTextureProxy()); 74 REPORTER_ASSERT(reporter, rtProxy->asRenderTargetProxy() == rtProxy); 80 reporter, desc [all...] |
RectangleTextureTest.cpp | 22 static void test_basic_draw_as_src(skiatest::Reporter* reporter, GrContext* context, 40 test_read_pixels(reporter, rtContext.get(), expectedPixelValues, 45 static void test_clear(skiatest::Reporter* reporter, GrSurfaceContext* rectContext) { 85 test_read_pixels(reporter, rtc, expectedPixels.get(), "RectangleTexture-clear"); 89 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(RectangleTexture, reporter, ctxInfo) { 135 ERRORF(reporter, "Error creating proxy for rectangle texture."); 140 test_basic_draw_as_src(reporter, context, rectProxy, refPixels); 143 test_copy_from_surface(reporter, context, rectProxy.get(), refPixels [all...] |
SkSLErrorTest.cpp | 14 static void test_failure(skiatest::Reporter* r, const char* src, const char* error) { 28 static void test_success(skiatest::Reporter* r, const char* src) {
|
VkClearTests.cpp | 50 void basic_clear_test(skiatest::Reporter* reporter, GrContext* context, GrPixelConfig config) { 71 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get(), 81 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get(), 93 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get(), 101 void sub_clear_test(skiatest::Reporter* reporter, GrContext* context, GrPixelConfig config) { 127 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get(), 142 REPORTER_ASSERT(reporter, !does_full_buffer_contain_correct_color(buffer.get(), 152 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(buffer.get() [all...] |
FontMgrTest.cpp | 20 static void test_font(skiatest::Reporter* reporter) { 24 REPORTER_ASSERT(reporter, font->getTypeface()); 25 REPORTER_ASSERT(reporter, 24 == font->getSize()); 26 REPORTER_ASSERT(reporter, 1 == font->getScaleX()); 27 REPORTER_ASSERT(reporter, 0 == font->getSkewX()); 28 REPORTER_ASSERT(reporter, SkFont::kA8_MaskType == font->getMaskType()); 35 REPORTER_ASSERT(reporter, 5 == count); 37 REPORTER_ASSERT(reporter, 0 != glyphs[i]); 39 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e [all...] |
ResourceCacheTest.cpp | 35 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ResourceCacheCache, reporter, ctxInfo) { 79 REPORTER_ASSERT(reporter, curCacheSize <= maxCacheSize); 94 DEF_GPUTEST_FOR_CONTEXTS(ResourceCacheStencilBuffers, &is_rendering_and_not_angle_es3, reporter, 119 REPORTER_ASSERT(reporter, 130 REPORTER_ASSERT(reporter, 147 REPORTER_ASSERT(reporter, 169 REPORTER_ASSERT(reporter, 180 REPORTER_ASSERT(reporter, 198 REPORTER_ASSERT(reporter, 208 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ResourceCacheWrappedResources, reporter, ctxInfo) [all...] |
MatrixTest.cpp | 29 static bool are_equal(skiatest::Reporter* reporter, 45 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI); 48 REPORTER_ASSERT(reporter, foundZeroSignDiff); 59 REPORTER_ASSERT(reporter, aVal == bVal && aValI == bValI); 62 REPORTER_ASSERT(reporter, foundNaN); 74 static void assert9(skiatest::Reporter* reporter, const SkMatrix& m, 80 REPORTER_ASSERT(reporter, buffer[0] == a); 81 REPORTER_ASSERT(reporter, buffer[1] == b) [all...] |
GrPorterDuffTest.cpp | 24 static void test_color_unknown_with_coverage(skiatest::Reporter* reporter, const GrCaps& caps); 25 static void test_color_not_opaque_no_coverage(skiatest::Reporter* reporter, const GrCaps& caps); 26 static void test_color_opaque_with_coverage(skiatest::Reporter* reporter, const GrCaps& caps); 27 static void test_color_opaque_no_coverage(skiatest::Reporter* reporter, const GrCaps& caps); 28 static void test_lcd_coverage(skiatest::Reporter* reporter, const GrCaps& caps) [all...] |
/external/testng/src/main/java/org/testng/ |
Reporter.java | 20 * The reporter keeps a combined output of strings (in m_output) and also 23 * Reporter maintains a mapping of each test result with a list of integers. 30 public class Reporter {
|
/external/google-breakpad/src/common/dwarf/ |
dwarf2reader.cc | [all...] |
/external/testng/src/main/java/org/testng/internal/ |
TestResult.java | 9 import org.testng.Reporter;
231 List<String> output = Reporter.getOutput(this);
|
/external/testng/src/test/java/test/reports/ |
ReportTest.java | 6 import org.testng.Reporter; 133 List<String> output = Reporter.getOutput(tr);
|
/frameworks/base/cmds/incidentd/ |
Android.mk | 23 src/Reporter.cpp \
|