/external/skia/tests/ |
VkHeapTests.cpp | 21 void subheap_test(skiatest::Reporter* reporter, GrContext* context) { 28 REPORTER_ASSERT(reporter, heap.alloc(64 * 1024, &alloc0)); 29 REPORTER_ASSERT(reporter, alloc0.fOffset == 0); 30 REPORTER_ASSERT(reporter, alloc0.fSize == 64 * 1024); 31 REPORTER_ASSERT(reporter, heap.freeSize() == 0 && heap.largestBlockSize() == 0); 33 REPORTER_ASSERT(reporter, heap.freeSize() == 64*1024 && heap.largestBlockSize() == 64 * 1024); 36 REPORTER_ASSERT(reporter, heap.alloc(16 * 1024, &alloc0)); 37 REPORTER_ASSERT(reporter, heap.alloc(23 * 1024, &alloc1)); 38 REPORTER_ASSERT(reporter, heap.alloc(18 * 1024, &alloc2)) [all...] |
ImageFilterTest.cpp | 51 static sk_sp<SkImageFilter> Make(skiatest::Reporter* reporter, 53 return sk_sp<SkImageFilter>(new MatrixTestImageFilter(reporter, expectedMatrix)); 72 MatrixTestImageFilter(skiatest::Reporter* reporter, const SkMatrix& expectedMatrix) 74 , fReporter(reporter) 78 skiatest::Reporter* fReporter; 406 DEF_TEST(ImageFilter, reporter) { 411 REPORTER_ASSERT(reporter, nullptr == quarterBrightness->getInput(0)); 413 REPORTER_ASSERT(reporter, quarterBrightness->asColorFilter(&cf)) [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...] |
MaskCacheTest.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(RRectMaskCache, reporter) { 43 REPORTER_ASSERT(reporter, nullptr == data); 52 check_data(reporter, data, 2, kInCache, kLocked); 55 check_data(reporter, data, 1, kInCache, kUnlocked); 59 REPORTER_ASSERT(reporter, data) [all...] |
MetaDataTest.cpp | 12 static void test_ptrs(skiatest::Reporter* reporter) { 14 REPORTER_ASSERT(reporter, ref.unique()); 21 REPORTER_ASSERT(reporter, md0.findRefCnt(name)); 22 REPORTER_ASSERT(reporter, md0.hasRefCnt(name, &ref)); 23 REPORTER_ASSERT(reporter, !ref.unique()); 26 REPORTER_ASSERT(reporter, md1.findRefCnt(name)); 27 REPORTER_ASSERT(reporter, md1.hasRefCnt(name, &ref)); 28 REPORTER_ASSERT(reporter, !ref.unique()); 30 REPORTER_ASSERT(reporter, md0.removeRefCnt(name)) [all...] |
PDFDeflateWStreamTest.cpp | 31 std::unique_ptr<SkStreamAsset> stream_inflate(skiatest::Reporter* reporter, SkStream* src) { 49 ERRORF(reporter, "Zlib: inflateInit failed"); 90 ERRORF(reporter, "write failed"); 100 ERRORF(reporter, "Zlib: inflateEnd failed");
|
PathOpsQuadLineIntersectionTest.cpp | 79 static void testOneOffs(skiatest::Reporter* reporter) { 99 REPORTER_ASSERT(reporter, quadXY.approximatelyEqual(lineXY)); 104 DEF_TEST(PathOpsQuadLineIntersectionOneOff, reporter) { 105 testOneOffs(reporter); 108 DEF_TEST(PathOpsQuadLineIntersection, reporter) { 122 REPORTER_ASSERT(reporter, 0); 126 REPORTER_ASSERT(reporter, 0); 131 REPORTER_ASSERT(reporter, result == lineQuadTests[index].result); 137 REPORTER_ASSERT(reporter, tt1 >= 0 && tt1 <= 1) [all...] |
PathOpsQuadLineIntersectionThreadedTest.cpp | 43 static void testLineIntersect(skiatest::Reporter* reporter, const SkDQuad& quad, 65 REPORTER_ASSERT(reporter, found); 115 DEF_TEST(PathOpsQuadLineIntersectionThreaded, reporter) { 116 initializeTests(reporter, "testQuadLineIntersect"); 117 PathOpsThreadedTestRunner testRunner(reporter); 124 if (!reporter->allowExtendedTest()) goto finish;
|
PremulAlphaRoundTripTest.cpp | 64 static void test_premul_alpha_roundtrip(skiatest::Reporter* reporter, SkSurface* surf) { 93 REPORTER_ASSERT(reporter, success = pixels1[x] == pixels2[x]); 99 DEF_TEST(PremulAlphaRoundTrip, reporter) { 104 test_premul_alpha_roundtrip(reporter, surf.get()); 107 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(PremulAlphaRoundTrip_Gpu, reporter, ctxInfo) { 113 test_premul_alpha_roundtrip(reporter, surf.get());
|
SkBlend_optsTest.cpp | 47 static void test_blender(std::string resourceName, skiatest::Reporter* reporter) { 51 ERRORF(reporter, "image is NULL"); 57 ERRORF(reporter, "Could not read resource"); 80 reporter, correctDst[x] == testDst[x], 88 DEF_TEST(SkBlend_optsCheck, reporter) { 94 test_blender(resourceName, reporter); 98 DEF_TEST(SkBlend_optsSqrtCheck, reporter) { 105 reporter, i[0] == sf[0], SkStringPrintf("i: %f, s: %f", i[0], sf[0]));
|
SwizzlerTest.cpp | 19 static void check_fill(skiatest::Reporter* r,
|
TextBlobCacheTest.cpp | 47 static void text_blob_cache_inner(skiatest::Reporter* reporter, GrContext* context, 62 REPORTER_ASSERT(reporter, surface); 127 REPORTER_ASSERT(reporter, surface); 150 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobCache, reporter, ctxInfo) { 151 text_blob_cache_inner(reporter, ctxInfo.grContext(), 1024, 256, 30, true, false); 154 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressCache, reporter, ctxInfo) { 155 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, true, true); 158 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobAbnormal, reporter, ctxInfo) { 159 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, false) [all...] |
TextBlobTest.cpp | 19 static void TestBuilder(skiatest::Reporter* reporter) { 23 RunBuilderTest(reporter, builder, nullptr, 0, nullptr, 0); 28 RunBuilderTest(reporter, builder, set1, SK_ARRAY_COUNT(set1), set1, SK_ARRAY_COUNT(set1)); 33 RunBuilderTest(reporter, builder, set2, SK_ARRAY_COUNT(set2), set2, SK_ARRAY_COUNT(set2)); 38 RunBuilderTest(reporter, builder, set3, SK_ARRAY_COUNT(set3), set3, SK_ARRAY_COUNT(set3)); 45 RunBuilderTest(reporter, builder, set4, SK_ARRAY_COUNT(set4), set4, SK_ARRAY_COUNT(set4)); 56 RunBuilderTest(reporter, builder, set5, SK_ARRAY_COUNT(set5), mergedSet5, 67 RunBuilderTest(reporter, builder, set6, SK_ARRAY_COUNT(set6), mergedSet6, 95 RunBuilderTest(reporter, builder, set7, SK_ARRAY_COUNT(set7), mergedSet7 [all...] |
VkUploadPixelsTests.cpp | 52 void basic_texture_test(skiatest::Reporter* reporter, GrContext* context, GrPixelConfig config, 87 REPORTER_ASSERT(reporter, canCreate); 89 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, 98 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, 106 REPORTER_ASSERT(reporter, !canCreate); 112 REPORTER_ASSERT(reporter, canCreate); 114 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, 123 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, 131 REPORTER_ASSERT(reporter, !canCreate) [all...] |
YUVTest.cpp | 16 static void codec_yuv(skiatest::Reporter* reporter, 24 REPORTER_ASSERT(reporter, codec); 32 REPORTER_ASSERT(reporter, !success); 34 REPORTER_ASSERT(reporter, (expectedSizes == nullptr) == !success); 38 REPORTER_ASSERT(reporter, 40 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kY] == 42 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kU] == 44 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kV] == 48 REPORTER_ASSERT(reporter, [all...] |
/external/autotest/contrib/ |
crbug_shell.py | 45 auth_store = oauth_file.Storage(reporting.Reporter.get_creds_abspath())
|
crbug_crawler.py | 96 self.reporter = reporting.Reporter() 97 self.phapi_lib = self.reporter.get_bug_tracker_client() 137 self.reporter.modify_bug_report( 154 self.reporter = reporting.Reporter() 155 self.phapi_client = self.reporter.get_bug_tracker_client() 176 self.reporter._PREDEFINED_LABELS))
|
/external/autotest/site_utils/ |
test_push_unittest.py | 23 AUTOFILED_COUNT_2 = '%s2' % reporting.Reporter.AUTOFILED_COUNT
|
/external/mockito/src/main/java/org/mockito/internal/configuration/ |
SpyAnnotationEngine.java | 24 import static org.mockito.internal.exceptions.Reporter.unsupportedCombinationOfAnnotations;
|
/external/mockito/src/main/java/org/mockito/internal/creation/ |
MockSettingsImpl.java | 9 import static org.mockito.internal.exceptions.Reporter.*;
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
InterceptedInvocation.java | 17 import static org.mockito.internal.exceptions.Reporter.cannotCallAbstractRealMethod;
|
/external/mockito/src/main/java/org/mockito/internal/handler/ |
MockHandlerImpl.java | 25 import static org.mockito.internal.exceptions.Reporter.stubPassedToVerify;
|
/external/google-breakpad/src/common/ |
dwarf_cu_to_module_unittest.cc | 1730 DwarfCUToModule::WarningReporter reporter; member in struct:Reporter [all...] |
dwarf_cfi_to_module_unittest.cc | 49 struct MockCFIReporter: public DwarfCFIToModule::Reporter { 51 : Reporter(file, section) { } 60 reporter("reporter file", "reporter section"), 61 handler(&module, register_names, &reporter) { 74 EXPECT_CALL(reporter, UnnamedRegister(_, _)).Times(0); 75 EXPECT_CALL(reporter, UndefinedNotSupported(_, _)).Times(0); 76 EXPECT_CALL(reporter, ExpressionsNotSupported(_, _)).Times(0); 81 MockCFIReporter reporter; member in struct:DwarfCFIToModuleFixture [all...] |
/external/autotest/server/site_tests/network_WiFi_RoamOnLowPower/ |
network_WiFi_RoamOnLowPower.py | 18 class Reporter(object): 30 """Initializes reporter. 127 reporter = Reporter(connection) 132 stdout_tee=reporter,
|