/external/skia/tests/ |
RTreeTest.cpp | 71 static void run_queries(skiatest::Reporter* reporter, SkRandom& rand, DataRect rects[], 77 REPORTER_ASSERT(reporter, verify_query(query, rects, hits)); 81 static void rtree_test_main(SkRTree* rtree, skiatest::Reporter* reporter) { 84 REPORTER_ASSERT(reporter, NULL != rtree); 111 run_queries(reporter, rand, rects, *rtree); 112 REPORTER_ASSERT(reporter, NUM_RECTS == rtree->getCount()); 113 REPORTER_ASSERT(reporter, expectedDepthMin <= rtree->getDepth() && 116 REPORTER_ASSERT(reporter, 0 == rtree->getCount()) [all...] |
FlatDataTest.cpp | 37 * @param reporter Object to report failures. 41 static void testCreate(skiatest::Reporter* reporter, const void* obj, 48 REPORTER_ASSERT(reporter, *data1 == *data2); 51 DEF_TEST(FlatData, reporter) { 62 testCreate(reporter, shader, flattenFlattenableProc); 73 testCreate(reporter, &bm, &SkFlattenObjectProc<SkBitmap>); 80 testCreate(reporter, cf, &flattenFlattenableProc); 85 testCreate(reporter, xfer, &flattenFlattenableProc);
|
GifTest.cpp | 60 static void test_gif_data_no_colormap(skiatest::Reporter* r, 73 static void test_gif_data(skiatest::Reporter* r, void* data, size_t size) { 93 static void test_interlaced_gif_data(skiatest::Reporter* r, 126 static void test_gif_data_short(skiatest::Reporter* r, 151 DEF_TEST(Gif, reporter) { 153 test_gif_data(reporter, static_cast<void *>(gifData), sizeof(gifData)); 154 test_interlaced_gif_data(reporter, static_cast<void *>(interlacedGif), 165 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gifData)); 170 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gifData)); 175 test_gif_data(reporter, static_cast<void *>(badData), sizeof(gifData)) [all...] |
GrSurfaceTest.cpp | 21 static void GrSurfaceIsSameTest(skiatest::Reporter* reporter, GrContextFactory* factory) { 35 REPORTER_ASSERT(reporter, texRT1->isSameAs(texRT1)); 36 REPORTER_ASSERT(reporter, texRT1->isSameAs(texRT1->asRenderTarget())); 37 REPORTER_ASSERT(reporter, texRT1->asRenderTarget()->isSameAs(texRT1)); 38 REPORTER_ASSERT(reporter, !texRT2->isSameAs(texRT1)); 39 REPORTER_ASSERT(reporter, !texRT2->asRenderTarget()->isSameAs(texRT1)); 40 REPORTER_ASSERT(reporter, !texRT2->isSameAs(texRT1->asRenderTarget())); 41 REPORTER_ASSERT(reporter, !texRT2->isSameAs(tex1)); 42 REPORTER_ASSERT(reporter, !texRT2->asRenderTarget()->isSameAs(tex1)) [all...] |
OSPathTest.cpp | 17 * @param reporter Reporter for test conditions. 23 static void test_dir_with_file(skiatest::Reporter* reporter, SkString dir, 39 REPORTER_ASSERT(reporter, fullName.size() == expectedSize); 44 REPORTER_ASSERT(reporter, basename.equals(filename)); 47 REPORTER_ASSERT(reporter, !basename.contains(SkPATH_SEPARATOR)); 51 REPORTER_ASSERT(reporter, basename.equals(filename)); 54 DEF_TEST(OSPath, reporter) { 57 test_dir_with_file(reporter, dir, filename) [all...] |
TestSize.cpp | 12 static void TestISize(skiatest::Reporter* reporter) { 16 REPORTER_ASSERT(reporter, a.isEmpty()); 18 REPORTER_ASSERT(reporter, a.isEmpty()); 20 REPORTER_ASSERT(reporter, a.isEmpty()); 22 REPORTER_ASSERT(reporter, a == b); 25 REPORTER_ASSERT(reporter, !a.isEmpty()); 27 REPORTER_ASSERT(reporter, !b.isEmpty()); 28 REPORTER_ASSERT(reporter, a == b); 29 REPORTER_ASSERT(reporter, !(a != b)) [all...] |
TileGridTest.cpp | 39 static void verifyTileHits(skiatest::Reporter* reporter, SkIRect rect, uint32_t tileMask, 47 REPORTER_ASSERT(reporter, grid.tile(0,0).count() == 49 REPORTER_ASSERT(reporter, grid.tile(1,0).count() == 51 REPORTER_ASSERT(reporter, grid.tile(0,1).count() == 53 REPORTER_ASSERT(reporter, grid.tile(1,1).count() == 57 static void TestUnalignedQuery(skiatest::Reporter* reporter) { 83 REPORTER_ASSERT(reporter, 1 == mockCanvas.fRects.count()); 84 REPORTER_ASSERT(reporter, rect1 == mockCanvas.fRects[0]) [all...] |
DrawPathTest.cpp | 34 static void test_big_aa_rect(skiatest::Reporter* reporter) { 49 REPORTER_ASSERT(reporter, 0 == pixel[0]); 51 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); 64 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]); 66 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); 271 static void test_infinite_dash(skiatest::Reporter* reporter) { 286 REPORTER_ASSERT(reporter, true); 291 static void test_crbug_165432(skiatest::Reporter* reporter) [all...] |
EmptyPathTest.cpp | 26 static void drawAndTest(skiatest::Reporter* reporter, const SkPath& path, 63 reporter->reportFailed(str); 70 static void iter_paint(skiatest::Reporter* reporter, const SkPath& path, bool shouldDraw) { 97 drawAndTest(reporter, path, paint, shouldDraw); 99 drawAndTest(reporter, path, paint, shouldDraw); 126 static void test_emptydrawing(skiatest::Reporter* reporter) { 146 iter_paint(reporter, path, shouldDraw) [all...] |
LayerDrawLooperTest.cpp | 38 static void test_frontToBack(skiatest::Reporter* reporter) { 57 REPORTER_ASSERT(reporter, looper->next(&canvas, &paint)); 58 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrc_Mode)); 60 REPORTER_ASSERT(reporter, 10.0f == device.fLastMatrix.getTranslateX()); 61 REPORTER_ASSERT(reporter, 20.0f == device.fLastMatrix.getTranslateY()); 65 REPORTER_ASSERT(reporter, looper->next(&canvas, &paint)); 66 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode)); 68 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateX()); 69 REPORTER_ASSERT(reporter, 0.0f == device.fLastMatrix.getTranslateY()) [all...] |
PathOpsSkpTest.cpp | 11 static void skpcheeseandburger_com225(skiatest::Reporter* reporter) { 369 testPathOp(reporter, path, pathB, kIntersect_PathOp); 372 static void skpeverytechpro_blogspot_com100(skiatest::Reporter* reporter) { 403 testPathOp(reporter, path, pathB, kIntersect_PathOp); 406 static void skpflite_com41(skiatest::Reporter* reporter) { 426 testPathOp(reporter, path, pathB, kIntersect_PathOp); 429 static void skpilkoora_com37(skiatest::Reporter* reporter) [all...] |
skia_test.cpp | 28 Iter(Reporter* r) : fReporter(r) { 53 Reporter* fReporter; 57 class DebugfReporter : public Reporter { 208 DebugfReporter reporter(FLAGS_extendedTest, !FLAGS_single, FLAGS_verbose); 209 Iter iter(&reporter); 224 reporter.setTotal(toRun); 254 const int testCount = reporter.countTests();
|
AAClipTest.cpp | 130 static void test_rgn(skiatest::Reporter* reporter) { 135 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 143 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 151 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 178 static void test_path_bounds(skiatest::Reporter* reporter) { 185 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); 187 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); 199 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()) [all...] |
PictureTest.cpp | 159 static void test_gatherpixelrefs(skiatest::Reporter* reporter) { 188 REPORTER_ASSERT(reporter, pic->willPlayBackBitmaps() || N == 0); 196 REPORTER_ASSERT(reporter, data); 199 REPORTER_ASSERT(reporter, 1 == count); 200 REPORTER_ASSERT(reporter, *(SkPixelRef**)data->data() == refs[i]); 233 REPORTER_ASSERT(reporter, found); 359 skiatest::Reporter* fReporter; 373 static void test_bitmap_with_encoded_data(skiatest::Reporter* reporter) { [all...] |
PathOpsExtendedTest.cpp | 220 SkDebugf("\nstatic void %s(skiatest::Reporter* reporter) {\n", functionName); 235 SkDebugf(" testPathOp(reporter, %s, %s, %s);\n", pathOne, pathTwo, gOpStrs[op]); 394 static int comparePaths(skiatest::Reporter* reporter, const SkPath& one, const SkPath& two, 409 REPORTER_ASSERT(reporter, 0); 418 SkDebugf("static void xOp#%s(skiatest::Reporter* reporter) {\n", opSuffixes[shapeOp]); 422 SkDebugf(" testPathOp(reporter, path, pathB, %s);\n", opStrs[shapeOp]); 427 static int comparePaths(skiatest::Reporter* reporter, const SkPath& one, const SkPath& scaledOne [all...] |
ClipStackTest.cpp | 19 static void test_assign_and_comparison(skiatest::Reporter* reporter) { 23 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); 27 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); 37 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 45 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); 52 REPORTER_ASSERT(reporter, s == copy); 56 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 57 REPORTER_ASSERT(reporter, s != copy); 61 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()) [all...] |
BlitRowTest.cpp | 85 skiatest::Reporter* reporter) { 95 reporter->reportFailed(str); 103 static void test_00_FF(skiatest::Reporter* reporter) { 154 gSrcRec[j].fResult8, reporter)) { 195 static void test_diagonal(skiatest::Reporter* reporter) { 258 reporter->reportFailed(str); 266 DEF_TEST(BlitRow, reporter) { [all...] |
ClampRangeTest.cpp | 13 static skiatest::Reporter* gReporter; 93 DEF_TEST(ClampRange, reporter) { 94 gReporter = reporter;
|
/external/stlport/test/unit/cppunit/ |
file_reporter.h | 26 // CppUnit mini file(stream) reporter 28 class FileReporter : public CPPUNIT_NS::Reporter {
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
file_reporter.h | 26 // CppUnit mini file(stream) reporter 28 class FileReporter : public CPPUNIT_NS::Reporter {
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
file_reporter.h | 26 // CppUnit mini file(stream) reporter 28 class FileReporter : public CPPUNIT_NS::Reporter {
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_reader.cc | 15 Reader::Reporter::~Reporter() { 18 Reader::Reader(SequentialFile* file, Reporter* reporter, bool checksum, 21 reporter_(reporter),
|
/external/mockito/src/org/mockito/internal/ |
MockitoCore.java | 10 import org.mockito.exceptions.Reporter;
39 private final Reporter reporter = new Reporter();
field in class:MockitoCore 64 reporter.missingMethodInvocation();
81 reporter.nullPassedToVerify();
83 reporter.notAMockPassedToVerify(mock.getClass());
105 reporter.nullPassedToVerifyNoMoreInteractions();
111 reporter.notAMockPassedToVerifyNoMoreInteractions();
125 reporter.mocksHaveToBePassedToVerifyNoMoreInteractions(); [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
report.py | 0 """Reporter foundation for Coverage.""" 7 class Reporter(object): 11 """Create a reporter. 14 skittish the reporter will be during file processing.
|
/external/objenesis/tck/test/org/objenesis/tck/ |
ObjenesisTest.java | 42 public static class JUnitReporter implements Reporter {
|