/prebuilts/misc/linux-x86/analyzer/tools/scan-view/ |
ScanView.py | 15 import Reporter 66 # be enabled. Also the radar reporter needs to be fixed to report 86 def __init__(self, report, reporter, parameters, server): 90 self.reporter = reporter 100 self.status = self.reporter.fileReport(self.report, self.parameters) 105 except Reporter.ReportFailure,e: 284 reporterIndex = self.get_scalar_field('reporter') 304 # Get the reporter and parameters. 305 reporter = self.server.reporters[reporterIndex [all...] |
/external/skia/tests/ |
BitmapCopyTest.cpp | 41 static void report_opaqueness(skiatest::Reporter* reporter, const SkBitmap& src, 43 ERRORF(reporter, "src %s opaque:%d, dst %s opaque:%d", 53 static void test_isOpaque(skiatest::Reporter* reporter, 59 REPORTER_ASSERT(reporter, srcPremul.copyTo(&dst, dstColorType)); 60 REPORTER_ASSERT(reporter, dst.colorType() == dstColorType); 62 report_opaqueness(reporter, srcPremul, dst); 66 REPORTER_ASSERT(reporter, srcOpaque.copyTo(&dst, dstColorType)); 67 REPORTER_ASSERT(reporter, dst.colorType() == dstColorType) [all...] |
ColorSpaceXformTest.cpp | 74 static void test_identity_xform(skiatest::Reporter* r, const sk_sp<SkGammas>& gammas, 110 static void test_identity_xform_A2B(skiatest::Reporter* r, SkGammaNamed gammaNamed,
|
GLProgramsTest.cpp | 400 static void test_glprograms_native(skiatest::Reporter* reporter, 406 REPORTER_ASSERT(reporter, GrDrawingManager::ProgramUnitTest(ctxInfo.grContext(), maxStages)); 410 skiatest::Reporter* reporter, 421 REPORTER_ASSERT(reporter, GrDrawingManager::ProgramUnitTest(ctxInfo.grContext(), maxStages)); 435 DEF_GPUTEST(GLPrograms, reporter, /*factory*/) { 449 reporter, &debugFactory); 451 &is_other_rendering_gl_context_type, reporter, &debugFactory);
|
GpuLayerCacheTest.cpp | 51 static void create_layers(skiatest::Reporter* reporter, 66 REPORTER_ASSERT(reporter, layer); 69 REPORTER_ASSERT(reporter, temp == layer); 71 REPORTER_ASSERT(reporter, TestingAccess::NumLayers(cache) == idOffset + i + 1); 73 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); 74 REPORTER_ASSERT(reporter, layer->start() == idOffset + i + 1); 75 REPORTER_ASSERT(reporter, layer->stop() == idOffset + i + 2); 76 REPORTER_ASSERT(reporter, !layer->texture()); 77 REPORTER_ASSERT(reporter, !layer->paint()) [all...] |
RefCntTest.cpp | 22 static void test_refCnt(skiatest::Reporter* reporter) { 34 REPORTER_ASSERT(reporter, ref->unique()); 55 static void test_weakRefCnt(skiatest::Reporter* reporter) { 73 REPORTER_ASSERT(reporter, ref->unique()); 74 SkDEBUGCODE(REPORTER_ASSERT(reporter, ref->getWeakCnt() == 1)); 78 DEF_TEST(RefCnt, reporter) { 79 test_refCnt(reporter); 80 test_weakRefCnt(reporter); [all...] |
SkNxTest.cpp | 14 static void test_Nf(skiatest::Reporter* r) { 81 void test_Ni(skiatest::Reporter* r) {
|
WritePixelsTest.cpp | 184 static bool check_write(skiatest::Reporter* reporter, SkCanvas* canvas, const SkBitmap& bitmap, 227 ERRORF(reporter, "Expected canvas pixel at %d, %d to be 0x%08x, got 0x%08x. " 234 ERRORF(reporter, "Canvas pixel outside write rect at %d, %d changed." 244 REPORTER_ASSERT(reporter, check = (pad[px] == static_cast<char>(DEV_PAD))); 296 DEF_TEST(WritePixelsSurfaceGenID, reporter) { 302 REPORTER_ASSERT(reporter, genID1 != genID2); 305 static void test_write_pixels(skiatest::Reporter* reporter, SkSurface* surface) { 373 REPORTER_ASSERT(reporter, setup_bitmap(&bmp, ct, at, rect.width() [all...] |
ColorFilterTest.cpp | 39 static void test_composecolorfilter_limit(skiatest::Reporter* reporter) { 47 REPORTER_ASSERT(reporter, i > 2); // we need to have succeeded at least once! 51 REPORTER_ASSERT(reporter, false); // we never saw a nullptr :( 56 DEF_TEST(ColorFilter, reporter) { 73 REPORTER_ASSERT(reporter, cf); 83 REPORTER_ASSERT(reporter, cf->asColorMode(&c, (SkBlendMode*)&m)); 96 REPORTER_ASSERT(reporter, c == expectedColor); 97 REPORTER_ASSERT(reporter, m == expectedMode); 101 REPORTER_ASSERT(reporter, cf2) [all...] |
ColorSpaceTest.cpp | 22 static void test_space(skiatest::Reporter* r, SkColorSpace* space, 47 static void test_path(skiatest::Reporter* r, const char* path, 224 static void test_serialize(skiatest::Reporter* r, SkColorSpace* space, bool isNamed) { 335 static inline void check_primaries(skiatest::Reporter* r, const SkColorSpacePrimaries& primaries,
|
CrossContextImageTest.cpp | 35 static void assert_equal(skiatest::Reporter* reporter, SkImage* a, SkImage* b, int error) { 36 REPORTER_ASSERT(reporter, a->width() == b->width()); 37 REPORTER_ASSERT(reporter, a->height() == b->height()); 43 REPORTER_ASSERT(reporter, a->readPixels(pmapA, 0, 0)); 44 REPORTER_ASSERT(reporter, b->readPixels(pmapB, 0, 0)); 52 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d)", ca, cb, x, y); 57 ERRORF(reporter, "Expected 0x%08x +-%d but got 0x%08x at (%d, %d)", 87 DEF_GPUTEST(CrossContextImage_SameContext, reporter, /*factory*/) { 108 REPORTER_ASSERT(reporter, ccid != nullptr) [all...] |
MipMapTest.cpp | 18 DEF_TEST(MipMap, reporter) { 28 REPORTER_ASSERT(reporter, mm->countLevels() == SkMipMap::ComputeLevelCount(width, height)); 29 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1, SK_Scalar1), 31 REPORTER_ASSERT(reporter, !mm->extractLevel(SkSize::Make(SK_Scalar1 * 2, SK_Scalar1 * 2), 43 REPORTER_ASSERT(reporter, level.fPixmap.addr()); 44 REPORTER_ASSERT(reporter, level.fPixmap.width() > 0); 45 REPORTER_ASSERT(reporter, level.fPixmap.height() > 0); 46 REPORTER_ASSERT(reporter, (int)level.fPixmap.rowBytes() >= level.fPixmap.width() * 4); 49 REPORTER_ASSERT(reporter, level.fPixmap.width() <= prevLevel.fPixmap.width()); 50 REPORTER_ASSERT(reporter, level.fPixmap.height() <= prevLevel.fPixmap.height()) [all...] |
PDFJpegEmbedTest.cpp | 34 skiatest::Reporter* r, const char* test, const char* filename) {
|
PathOpsConicLineIntersectionTest.cpp | 69 static void testOneOffs(skiatest::Reporter* reporter) { 89 REPORTER_ASSERT(reporter, conicXY.approximatelyEqual(lineXY)); 94 DEF_TEST(PathOpsConicLineIntersectionOneOff, reporter) { 95 testOneOffs(reporter); 98 DEF_TEST(PathOpsConicLineIntersection, reporter) { 116 REPORTER_ASSERT(reporter, 0); 121 REPORTER_ASSERT(reporter, 0); 126 REPORTER_ASSERT(reporter, result == lineConicTests[index].result); 132 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1) [all...] |
ProxyRefTest.cpp | 51 static void check_refs(skiatest::Reporter* reporter, 57 REPORTER_ASSERT(reporter, proxy->getProxyRefCnt_TestOnly() == expectedProxyRefs); 58 REPORTER_ASSERT(reporter, proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs); 59 REPORTER_ASSERT(reporter, proxy->getPendingReadCnt_TestOnly() == expectedNumReads); 60 REPORTER_ASSERT(reporter, proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites); 94 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ProxyRefTest, reporter, ctxInfo) { 107 check_refs(reporter, sProxy.get(), 1, 1, 0, 1); 118 check_refs(reporter, sProxy.get(), 1, 1, 0, expectedWrites); 127 check_refs(reporter, sProxy.get(), 1, 1, 1, 0) [all...] |
ReadPixelsTest.cpp | 177 static bool check_read(skiatest::Reporter* reporter, 208 ERRORF(reporter, "Expected readback alpha (%d, %d) value 0x%02x, got 0x%02x. ", 216 ERRORF(reporter, "Expected clipped out area of readback to be unchanged. " 238 ERRORF(reporter, "Expected readback pixel (%d, %d) value 0x%08x, got 0x%08x. " 246 ERRORF(reporter, "Expected clipped out area of readback to be unchanged. " 363 static void test_readpixels(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, 389 REPORTER_ASSERT(reporter, success == expectSuccess); 391 REPORTER_ASSERT(reporter, idBefore == idAfter) [all...] |
ReadWriteAlphaTest.cpp | 25 static void validate_alpha_data(skiatest::Reporter* reporter, int w, int h, const uint8_t* actual, 32 ERRORF(reporter, 41 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ReadWriteAlpha, reporter, ctxInfo) { 64 ERRORF(reporter, "Could not create alpha texture."); 84 REPORTER_ASSERT_MESSAGE(reporter, result, "Initial A8 writePixels failed"); 93 REPORTER_ASSERT_MESSAGE(reporter, result, "Initial A8 readPixels failed"); 98 validate_alpha_data(reporter, X_SIZE, Y_SIZE, readback.get(), nonZeroRowBytes, 115 REPORTER_ASSERT_MESSAGE(reporter, result, "A8 readPixels after clear failed"); 122 ERRORF(reporter, [all...] |
SRGBMipMapTest.cpp | 48 void read_and_check_pixels(skiatest::Reporter* reporter, GrTexture* texture, U8CPU expected, 55 ERRORF(reporter, "Could not read pixels for %s.", subtestName); 68 ERRORF(reporter, "Expected 0xff%02x%02x%02x, read back as 0x%08x in %s at %d, %d.", 76 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SRGBMipMaps, reporter, ctxInfo) { 145 read_and_check_pixels(reporter, s32RenderTargetContext->asTexture().get(), expectedSRGB, error, 164 read_and_check_pixels(reporter, l32RenderTargetContext->asTexture().get(), expectedLinear, 171 read_and_check_pixels(reporter, s32RenderTargetContext->asTexture().get(), expectedSRGB, error,
|
SRGBReadWritePixelsTest.cpp | 115 void read_and_check_pixels(skiatest::Reporter* reporter, GrTexture* texture, uint32_t* origData, 123 ERRORF(reporter, "Could not read pixels for %s.", subtestName); 132 ERRORF(reporter, "Expected 0x%08x, read back as 0x%08x in %s at %d, %d).", 142 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SRGBReadWritePixels, reporter, ctxInfo) { 168 ERRORF(reporter, "Could not create SRGBA texture."); 181 read_and_check_pixels(reporter, tex.get(), origData, kSRGBA_8888_GrPixelConfig, 184 read_and_check_pixels(reporter, tex.get(), origData, kRGBA_8888_GrPixelConfig, 188 ERRORF(reporter, "Could not write srgba data to srgba texture."); 194 read_and_check_pixels(reporter, tex.get(), origData, kSRGBA_8888_GrPixelConfig [all...] |
SkpSkGrTest.cpp | 126 skiatest::Reporter* fReporter; 131 SkpSkGrThreadedTestRunner(skiatest::Reporter* reporter) 132 : fReporter(reporter) { 138 skiatest::Reporter* fReporter; 572 DEF_TEST(SkpSkGr, reporter) { 583 if (reporter->verbose()) { 623 if (reporter->verbose()) { 629 reporter->bumpTestCount(); 637 if (reporter->verbose()) [all...] |
skia_test.cpp | 91 struct TestReporter : public skiatest::Reporter { 107 } reporter; local 110 fTest.proc(&reporter, fGrContextFactory); 112 if (reporter.fError) { 115 fStatus->endTest(fTest.name, !reporter.fError, elapsed, 116 reporter.fTestCount);
|
ImageTest.cpp | 48 static void assert_equal(skiatest::Reporter* reporter, SkImage* a, const SkIRect* subsetA, 53 REPORTER_ASSERT(reporter, widthA == b->width()); 54 REPORTER_ASSERT(reporter, heightA == b->height()); 57 //REPORTER_ASSERT(reporter, a->isOpaque() == b->isOpaque()); 66 REPORTER_ASSERT(reporter, a->readPixels(pmapA, srcX, srcY)); 67 REPORTER_ASSERT(reporter, b->readPixels(pmapB, 0, 0)); 71 REPORTER_ASSERT(reporter, !memcmp(pmapA.addr32(0, y), pmapB.addr32(0, y), widthBytes)); 157 static void test_encode(skiatest::Reporter* reporter, SkImage* image) [all...] |
/external/testng/src/main/java/org/testng/reporters/ |
XMLSuiteResultWriter.java | 7 import org.testng.Reporter; 306 List<String> output = Reporter.getOutput(testResult);
|
/external/autotest/site_utils/suite_scheduler/ |
deduping_scheduler.py | 262 bid, _ = reporting.Reporter().report(
|
/external/objenesis/tck/src/main/java/org/objenesis/tck/ |
TextReporter.java | 31 * @see Reporter 33 public class TextReporter implements Reporter { 98 // HT: in case the same reporter is reused, I'm guessing that it will 228 * Return true if the reporter has registered some errors
|