/external/skia/tests/ |
PathOpsAngleIdeas.cpp | 41 static double testArc(skiatest::Reporter* reporter, const SkDQuad& quad, const SkDQuad& arcRef, 69 REPORTER_ASSERT(reporter, smallest >= 0); 70 REPORTER_ASSERT(reporter, t >= 0 && t <= 1); 74 static void orderQuads(skiatest::Reporter* reporter, const SkDQuad& quad, double radius, 89 double t = testArc(reporter, quad, circle[octant], octant); 104 static double quadAngle(skiatest::Reporter* reporter, const SkDQuad& quad, double t) { 107 REPORTER_ASSERT(reporter, angle >= 0 && angle <= 8) [all...] |
HashCacheTest.cpp | 61 DEF_TEST(HashCache, reporter) { 94 REPORTER_ASSERT(reporter, 10 == cache.count()); 99 REPORTER_ASSERT(reporter, NULL != found && -i == found->fValue); 105 REPORTER_ASSERT(reporter, NULL == found); 113 REPORTER_ASSERT(reporter, 20 == cache.count()); 120 REPORTER_ASSERT(reporter, NULL == found); 125 REPORTER_ASSERT(reporter, NULL != found && found->fValue > 0); 134 REPORTER_ASSERT(reporter, NULL == found); 139 REPORTER_ASSERT(reporter, NULL != found && found->fValue < 0); 147 REPORTER_ASSERT(reporter, 18 == cache.count()) [all...] |
PackBitsTest.cpp | 23 static void test_pack16(skiatest::Reporter* reporter) { 42 REPORTER_ASSERT(reporter, match); 53 REPORTER_ASSERT(reporter, maxSize >= dstSize); 56 REPORTER_ASSERT(reporter, size == srcCount); 58 REPORTER_ASSERT(reporter, match); 73 static void test_pack8(skiatest::Reporter* reporter) { 90 REPORTER_ASSERT(reporter, dstSize <= maxSize); 96 REPORTER_ASSERT(reporter, match) [all...] |
PictureTest.cpp | 479 static void test_gatherpixelrefs(skiatest::Reporter* reporter) { 501 REPORTER_ASSERT(reporter, pic->willPlayBackBitmaps() || N == 0); 510 ERRORF(reporter, "SkPictureUtils::GatherPixelRefs returned " 516 REPORTER_ASSERT(reporter, 1 == count || 2 == count); 518 REPORTER_ASSERT(reporter, gatheredRefs[0] == refs[i]); 520 REPORTER_ASSERT(reporter, 553 ERRORF(reporter, "PixelRef missing %d %s", 568 ERRORF(reporter, "PixelRef missing %d %s", 584 static void test_gatherpixelrefsandrects(skiatest::Reporter* reporter) [all...] |
ClipCubicTest.cpp | 70 DEF_TEST(ClipCubic, reporter) { 88 REPORTER_ASSERT(reporter, success == true); 89 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve( 96 REPORTER_ASSERT(reporter, success == true); 97 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve( 104 REPORTER_ASSERT(reporter, success == true); 105 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve( 112 REPORTER_ASSERT(reporter, success == false); 118 REPORTER_ASSERT(reporter, success == true); 119 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve [all...] |
ErrorTest.cpp | 14 skiatest::Reporter *fReporter; 19 REPORTER_ASSERT( reporter, (err = SkGetLastError()) == errcode); \ 30 DEF_TEST(Error, reporter) { 35 context.fReporter = reporter;
|
GLInterfaceValidationTest.cpp | 15 DEF_GPUTEST(GLInterfaceValidation, reporter, factory) { 27 REPORTER_ASSERT(reporter, NULL == glCtxHelper); 31 REPORTER_ASSERT(reporter, NULL != glCtxHelper); 34 REPORTER_ASSERT(reporter, interface->validate());
|
PathOpsDQuadTest.cpp | 39 DEF_TEST(PathOpsDQuad, reporter) { 46 REPORTER_ASSERT(reporter, 0); 51 REPORTER_ASSERT(reporter, 0); 56 DEF_TEST(PathOpsRRect, reporter) {
|
ScaledImageCache.cpp | 32 DEF_TEST(ScaledImageCache_SingleAllocationByteLimit, reporter) { 44 REPORTER_ASSERT(reporter, size == test_scaled_image_cache_useage()); 50 REPORTER_ASSERT(reporter, size == test_scaled_image_cache_useage()); 56 REPORTER_ASSERT(reporter, 0 == test_scaled_image_cache_useage());
|
TracingTest.cpp | 11 DEF_TEST(Tracing, reporter) {
|
UnitTestTest.cpp | 11 DEF_TEST(UnitTest, reporter) {
|
/external/chromium_org/third_party/skia/tests/ |
HashCacheTest.cpp | 61 DEF_TEST(HashCache, reporter) { 94 REPORTER_ASSERT(reporter, 10 == cache.count()); 99 REPORTER_ASSERT(reporter, NULL != found && -i == found->fValue); 105 REPORTER_ASSERT(reporter, NULL == found); 113 REPORTER_ASSERT(reporter, 20 == cache.count()); 120 REPORTER_ASSERT(reporter, NULL == found); 125 REPORTER_ASSERT(reporter, NULL != found && found->fValue > 0); 134 REPORTER_ASSERT(reporter, NULL == found); 139 REPORTER_ASSERT(reporter, NULL != found && found->fValue < 0); 147 REPORTER_ASSERT(reporter, 18 == cache.count()) [all...] |
PackBitsTest.cpp | 23 static void test_pack16(skiatest::Reporter* reporter) { 42 REPORTER_ASSERT(reporter, match); 53 REPORTER_ASSERT(reporter, maxSize >= dstSize); 56 REPORTER_ASSERT(reporter, size == srcCount); 58 REPORTER_ASSERT(reporter, match); 73 static void test_pack8(skiatest::Reporter* reporter) { 90 REPORTER_ASSERT(reporter, dstSize <= maxSize); 96 REPORTER_ASSERT(reporter, match) [all...] |
PictureTest.cpp | 479 static void test_gatherpixelrefs(skiatest::Reporter* reporter) { 501 REPORTER_ASSERT(reporter, pic->willPlayBackBitmaps() || N == 0); 510 ERRORF(reporter, "SkPictureUtils::GatherPixelRefs returned " 516 REPORTER_ASSERT(reporter, 1 == count || 2 == count); 518 REPORTER_ASSERT(reporter, gatheredRefs[0] == refs[i]); 520 REPORTER_ASSERT(reporter, 553 ERRORF(reporter, "PixelRef missing %d %s", 568 ERRORF(reporter, "PixelRef missing %d %s", 584 static void test_gatherpixelrefsandrects(skiatest::Reporter* reporter) [all...] |
ClipCubicTest.cpp | 70 DEF_TEST(ClipCubic, reporter) { 88 REPORTER_ASSERT(reporter, success == true); 89 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve( 96 REPORTER_ASSERT(reporter, success == true); 97 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve( 104 REPORTER_ASSERT(reporter, success == true); 105 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve( 112 REPORTER_ASSERT(reporter, success == false); 118 REPORTER_ASSERT(reporter, success == true); 119 REPORTER_ASSERT(reporter, CurvesAreEqual(clipped, SetCurve [all...] |
ErrorTest.cpp | 14 skiatest::Reporter *fReporter; 19 REPORTER_ASSERT( reporter, (err = SkGetLastError()) == errcode); \ 30 DEF_TEST(Error, reporter) { 35 context.fReporter = reporter;
|
GLInterfaceValidationTest.cpp | 15 DEF_GPUTEST(GLInterfaceValidation, reporter, factory) { 27 REPORTER_ASSERT(reporter, NULL == glCtxHelper); 31 REPORTER_ASSERT(reporter, NULL != glCtxHelper); 34 REPORTER_ASSERT(reporter, interface->validate());
|
PathOpsDQuadTest.cpp | 39 DEF_TEST(PathOpsDQuad, reporter) { 46 REPORTER_ASSERT(reporter, 0); 51 REPORTER_ASSERT(reporter, 0); 56 DEF_TEST(PathOpsRRect, reporter) {
|
ScaledImageCache.cpp | 32 DEF_TEST(ScaledImageCache_SingleAllocationByteLimit, reporter) { 44 REPORTER_ASSERT(reporter, size == test_scaled_image_cache_useage()); 50 REPORTER_ASSERT(reporter, size == test_scaled_image_cache_useage()); 56 REPORTER_ASSERT(reporter, 0 == test_scaled_image_cache_useage());
|
TracingTest.cpp | 11 DEF_TEST(Tracing, reporter) {
|
UnitTestTest.cpp | 11 DEF_TEST(UnitTest, reporter) {
|
/external/objenesis/tck/src/org/objenesis/tck/ |
TCK.java | 32 * implementations, reporting the results to a {@link Reporter}. 45 * Reporter reporter = new TextReporter(System.out, System.err); 46 * tck.runTests(reporter); 51 * @see Reporter 85 * @param reporter Where to report the results of the test to. 87 public void runTests(Reporter reporter) { 88 reporter.startTests(describePlatform(), findAllDescriptions(candidates, descriptions), 100 reporter.startTest(candidateDescription, objenesisDescription) [all...] |
/external/chromium_org/third_party/skia/dm/ |
DM.cpp | 99 DM::Reporter* reporter, 103 tasks->add(SkNEW_ARGS(DM::type, (name, reporter, tasks, gms[i], ## __VA_ARGS__))); \ 126 DM::Reporter* reporter, 130 tasks->add(SkNEW_ARGS(DM::type, (name, reporter, tasks, benches[i], ## __VA_ARGS__))); \ 152 DM::Reporter* reporter, 157 tasks->add(SkNEW_ARGS(DM::GpuTestTask, (reporter, tasks, tests[i]))); 159 tasks->add(SkNEW_ARGS(DM::CpuTestTask, (reporter, tasks, tests[i]))) 262 DM::Reporter reporter; local [all...] |
/external/skia/dm/ |
DM.cpp | 99 DM::Reporter* reporter, 103 tasks->add(SkNEW_ARGS(DM::type, (name, reporter, tasks, gms[i], ## __VA_ARGS__))); \ 126 DM::Reporter* reporter, 130 tasks->add(SkNEW_ARGS(DM::type, (name, reporter, tasks, benches[i], ## __VA_ARGS__))); \ 152 DM::Reporter* reporter, 157 tasks->add(SkNEW_ARGS(DM::GpuTestTask, (reporter, tasks, tests[i]))); 159 tasks->add(SkNEW_ARGS(DM::CpuTestTask, (reporter, tasks, tests[i]))) 262 DM::Reporter reporter; local [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
CloseGuard.java | 122 private static volatile Reporter REPORTER = new DefaultReporter(); 146 * Used to replace default Reporter used to warn of CloseGuard 149 public static void setReporter(Reporter reporter) { 150 if (reporter == null) { 151 throw new NullPointerException("reporter == null"); 153 REPORTER = reporter; 157 * Returns non-null CloseGuard.Reporter [all...] |