/external/skia/tests/ |
Matrix44Test.cpp | 30 template <typename T> void assert16(skiatest::Reporter* reporter, const T data[], 35 REPORTER_ASSERT(reporter, data[0] == m0); 36 REPORTER_ASSERT(reporter, data[1] == m1); 37 REPORTER_ASSERT(reporter, data[2] == m2); 38 REPORTER_ASSERT(reporter, data[3] == m3); 40 REPORTER_ASSERT(reporter, data[4] == m4); 41 REPORTER_ASSERT(reporter, data[5] == m5); 42 REPORTER_ASSERT(reporter, data[6] == m6); 43 REPORTER_ASSERT(reporter, data[7] == m7) [all...] |
DiscardableMemoryTest.cpp | 17 static void test_dm(skiatest::Reporter* reporter, 20 REPORTER_ASSERT(reporter, dm); 25 REPORTER_ASSERT(reporter, ptr); 33 REPORTER_ASSERT(reporter, relockSuccess); 39 REPORTER_ASSERT(reporter, ptr); 43 REPORTER_ASSERT(reporter, 0 == memcmp(ptr, kTestString, kTestStringLength)); 47 DEF_TEST(DiscardableMemory_global, reporter) { 51 test_dm(reporter, dm.get(), false); 54 DEF_TEST(DiscardableMemory_nonglobal, reporter) { [all...] |
DrawBitmapRectTest.cpp | 45 static void test_treatAsSprite(skiatest::Reporter* reporter) { 60 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, noaaPaint)); 69 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, noaaPaint)); 70 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, aaPaint)); 78 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, aaPaint)); 80 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, aaPaint)); 84 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, aaPaint)); 86 REPORTER_ASSERT(reporter, SkTreatAsSprite(mat, size, aaPaint)); 91 REPORTER_ASSERT(reporter, !SkTreatAsSprite(mat, size, noaaPaint)) [all...] |
PathOpsExtendedTest.cpp | 321 int comparePaths(skiatest::Reporter* reporter, const char* filename, const SkPath& one, 342 SkDebugf("static void %s_%s(skiatest::Reporter* reporter, const char* filename) {\n", 348 SkDebugf(" testPathOp(reporter, path, pathB, %s, filename);\n", opStrs[shapeOp]); 355 static int comparePaths(skiatest::Reporter* reporter, const char* testName, const SkPath& one, 364 REPORTER_ASSERT(reporter, 0); 375 REPORTER_ASSERT(reporter, 0); 381 // Default values for when reporter->verbose() is false [all...] |
RecordTestUtils.h | 31 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, int index) {
|
RenderTargetContextTest.cpp | 28 static void check_is_wrapped_status(skiatest::Reporter* reporter, 31 REPORTER_ASSERT(reporter, rtCtx->isWrapped_ForTesting() == wrappedExpectation); 34 REPORTER_ASSERT(reporter, tProxy); 36 REPORTER_ASSERT(reporter, tProxy->isWrapped_ForTesting() == wrappedExpectation); 39 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(RenderTargetContextTest, reporter, ctxInfo) { 47 check_is_wrapped_status(reporter, rtCtx.get(), false); 50 REPORTER_ASSERT(reporter, tProxy); 52 REPORTER_ASSERT(reporter, tProxy->instantiate(ctx->resourceProvider())); 54 check_is_wrapped_status(reporter, rtCtx.get(), true) [all...] |
RoundRectTest.cpp | 12 static void test_tricky_radii(skiatest::Reporter* reporter) { 31 REPORTER_ASSERT(reporter, (double) rr.radii(SkRRect::kUpperRight_Corner).fY + 37 static void test_empty_crbug_458524(skiatest::Reporter* reporter) { 47 REPORTER_ASSERT(reporter, SkRRect::kEmpty_Type == other.getType()); 52 static void test_empty(skiatest::Reporter* reporter) { 72 REPORTER_ASSERT(reporter, !r.isEmpty()); 75 REPORTER_ASSERT(reporter, !r.isEmpty()) [all...] |
ShadowUtilsTest.cpp | 15 void tessellate_shadow(skiatest::Reporter* reporter, const SkPath& path, const SkMatrix& ctm, 22 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.", 27 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.", 32 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.", 37 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.", 42 DEF_TEST(ShadowUtils, reporter) { 47 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), true); 52 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), false); 59 tessellate_shadow(reporter, path, canvas.getTotalMatrix(), false) [all...] |
SortTest.cpp | 26 static void check_sort(skiatest::Reporter* reporter, const char label[], 30 ERRORF(reporter, "%sSort [%d] failed %d %d", 36 DEF_TEST(Sort, reporter) { 56 check_sort(reporter, "Heap", workingArray, sortedArray, count); 60 check_sort(reporter, "Quick", workingArray, sortedArray, count);
|
DrawPathTest.cpp | 16 static void test_big_aa_rect(skiatest::Reporter* reporter) { 30 REPORTER_ASSERT(reporter, 0 == pixel[0]); 32 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); 45 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]); 47 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); 277 static void test_infinite_dash(skiatest::Reporter* reporter) { 292 REPORTER_ASSERT(reporter, true); 297 static void test_crbug_165432(skiatest::Reporter* reporter) [all...] |
AAClipTest.cpp | 133 static void test_rgn(skiatest::Reporter* reporter) { 138 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 146 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 154 REPORTER_ASSERT(reporter, equalsAAClip(rgn)); 181 static void test_path_bounds(skiatest::Reporter* reporter) { 188 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()); 190 REPORTER_ASSERT(reporter, height == clip.getBounds().height()); 202 REPORTER_ASSERT(reporter, sheight == path.getBounds().height()) [all...] |
StreamTest.cpp | 26 static void test_loop_stream(skiatest::Reporter* reporter, SkStream* stream, 33 REPORTER_ASSERT(reporter, bytes == len); 34 REPORTER_ASSERT(reporter, !memcmp(tmp, src, len)); 39 REPORTER_ASSERT(reporter, 0 == bytes); 41 REPORTER_ASSERT(reporter, stream->isAtEnd()); 44 static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) { 52 ERRORF(reporter, "Failed to create tmp file %s\n", path.c_str()); 63 REPORTER_ASSERT(reporter, stream.isValid()) [all...] |
PathTest.cpp | 34 static void test_add_rrect(skiatest::Reporter* reporter, const SkRect& bounds, 38 REPORTER_ASSERT(reporter, bounds == rrect.rect()); 43 REPORTER_ASSERT(reporter, bounds == path.getBounds()); 46 static void test_skbug_3469(skiatest::Reporter* reporter) { 51 REPORTER_ASSERT(reporter, !path.isConvex()); 54 static void test_skbug_3239(skiatest::Reporter* reporter) { 67 test_add_rrect(reporter, rectx, radii) [all...] |
PathOpsSkpTest.cpp | 11 static void skpcheeseandburger_com225(skiatest::Reporter* reporter, const char* filename) { 369 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename); 372 static void skpeverytechpro_blogspot_com100(skiatest::Reporter* reporter, const char* filename) { 403 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename); 406 static void skpflite_com41(skiatest::Reporter* reporter, const char* filename) { 426 testPathOp(reporter, path, pathB, kIntersect_SkPathOp, filename); 429 static void skpilkoora_com37(skiatest::Reporter* reporter, const char* filename) [all...] |
DeviceLooperTest.cpp | 40 static void test_simple(skiatest::Reporter* reporter) { 52 REPORTER_ASSERT(reporter, valid); 54 REPORTER_ASSERT(reporter, looper.getPixmap().width() == pmap.width()); 55 REPORTER_ASSERT(reporter, looper.getPixmap().height() == pmap.height()); 56 REPORTER_ASSERT(reporter, equal(looper.getRC(), rc)); 58 REPORTER_ASSERT(reporter, !looper.next()); 66 REPORTER_ASSERT(reporter, !looper.next()); 95 static void test_complex(skiatest::Reporter* reporter) { [all...] |
/external/google-breakpad/src/client/mac/sender/ |
crash_report_sender.h | 57 @interface Reporter : NSObject {
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/ |
InjectMocksScanner.java | 11 import static org.mockito.internal.exceptions.Reporter.unsupportedCombinationOfAnnotations;
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
MatchersBinder.java | 9 import static org.mockito.internal.exceptions.Reporter.invalidUseOfMatchers;
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsSmartNulls.java | 7 import static org.mockito.internal.exceptions.Reporter.smartNullPointerException;
|
/external/mockito/src/main/java/org/mockito/internal/verification/ |
AtMost.java | 8 import static org.mockito.internal.exceptions.Reporter.wantedAtMostX;
|
/external/mockito/src/main/java/org/mockito/verification/ |
Timeout.java | 7 import static org.mockito.internal.exceptions.Reporter.atMostAndNeverShouldNotBeUsedWithTimeout;
|
/external/objenesis/tck/src/test/java/org/objenesis/tck/ |
ObjenesisTest.java | 36 public static class JUnitReporter implements Reporter {
|
/external/google-breakpad/src/tools/mac/dump_syms/ |
macho_dump.cc | 133 mach_o::FatReader::Reporter fat_reporter(filename); 163 mach_o::Reader::Reporter reporter(name.str()); 164 mach_o::Reader reader(&reporter);
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
ReplaceSelectedJavadoc.java | 20 import com.google.currysrc.api.process.Reporter; 51 @Override protected String processComment(Reporter reporter, Comment commentNode, 66 reporter.info(bodyDeclaration, "Replaced comment text");
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/ |
PropertyAndSetterInjection.java | 8 import static org.mockito.internal.exceptions.Reporter.cannotInitializeForInjectMocksAnnotation; 9 import static org.mockito.internal.exceptions.Reporter.fieldInitialisationThrewException;
|