/external/chromium_org/third_party/skia/tests/ |
PathOpsExtendedTest.cpp | 230 SkDebugf("\nstatic void %s(skiatest::Reporter* reporter, const char* filename) {\n", functionName); 245 SkDebugf(" testPathOp(reporter, %s, %s, %s, filename);\n", pathOne, pathTwo, gOpStrs[op]); 393 static int comparePaths(skiatest::Reporter* reporter, const char* filename, const SkPath& one, 402 REPORTER_ASSERT(reporter, errors2x2 <= MAX_ERRORS || !gComparePathsAssert); 419 SkDebugf("static void %s(skiatest::Reporter* reporter, const char* filename) {\n", testName); 425 SkDebugf(" testPathOp(reporter, path, pathB, %s, filename);\n", opStrs[shapeOp]); 436 static int comparePaths(skiatest::Reporter* reporter, const char* testName, const SkPath& one [all...] |
ARGBImageEncoderTest.cpp | 20 DEF_TEST(ARGBImageEncoder, reporter) { 40 REPORTER_ASSERT(reporter, success); 56 REPORTER_ASSERT(reporter, enc->encodeStream(&out, bitmap, SkImageEncoder::kDefaultQuality)); 59 REPORTER_ASSERT(reporter, bufferSize == sizeof(comparisonBuffer)); 60 REPORTER_ASSERT(reporter, memcmp(pixelBuffer, comparisonBuffer, bufferSize) == 0);
|
PathOpsSkpTest.cpp | 11 static void skpcheeseandburger_com225(skiatest::Reporter* reporter, const char* filename) { 369 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); 372 static void skpeverytechpro_blogspot_com100(skiatest::Reporter* reporter, const char* filename) { 403 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); 406 static void skpflite_com41(skiatest::Reporter* reporter, const char* filename) { 426 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); 429 static void skpilkoora_com37(skiatest::Reporter* reporter, const char* filename) [all...] |
NameAllocatorTest.cpp | 20 NameLeakTest(skiatest::Reporter* reporter) 21 : fReporter(reporter), 122 skiatest::Reporter* fReporter; 129 DEF_GPUTEST(NameAllocator, reporter, factory) { 132 NameLeakTest nameLeakTest(reporter); 141 REPORTER_ASSERT(reporter, 0 == allocator.allocateName()); 146 REPORTER_ASSERT(reporter, 0 == allocator.allocateName()); 162 ERRORF(reporter, "Name allocate failed when there should be free names"); 166 REPORTER_ASSERT(reporter, 0 == allocator.allocateName()) [all...] |
PathOpsQuadIntersectionTest.cpp | 14 static void standardTestCases(skiatest::Reporter* reporter) { 47 REPORTER_ASSERT(reporter, 0); 264 static void oneOffTest1(skiatest::Reporter* reporter, size_t outer, size_t inner) { 280 REPORTER_ASSERT(reporter, 0); 289 DEF_TEST(PathOpsQuadIntersectionOneOff, reporter) { 290 oneOffTest1(reporter, 0, 1); 293 static void oneOffTests(skiatest::Reporter* reporter) { [all...] |
DrawPathTest.cpp | 15 static void test_big_aa_rect(skiatest::Reporter* reporter) { 29 REPORTER_ASSERT(reporter, 0 == pixel[0]); 31 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); 44 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]); 46 REPORTER_ASSERT_MESSAGE(reporter, false, "readPixels failed"); 240 static void test_infinite_dash(skiatest::Reporter* reporter) { 255 REPORTER_ASSERT(reporter, true); 260 static void test_crbug_165432(skiatest::Reporter* reporter) [all...] |
/external/mockito/src/org/mockito/internal/verification/ |
NoMoreInteractions.java | 10 import org.mockito.exceptions.Reporter; 24 new Reporter().noMoreInteractionsWanted(unverified, (List) data.getAllInvocations()); 33 new Reporter().noMoreInteractionsWantedInOrder(unverified);
|
/external/skia/dm/ |
DMBenchTask.h | 17 NonRenderingBenchTask(const char* config, Reporter*, TaskRunner*, BenchRegistry::Factory); 30 CpuBenchTask(const char* config, Reporter*, TaskRunner*, BenchRegistry::Factory, SkColorType); 45 Reporter*,
|
DMGpuGMTask.cpp | 13 Reporter* reporter, 19 : GpuTask(reporter, taskRunner)
|
DMReporter.cpp | 12 void Reporter::printStatus(SkString name, SkMSec timeMs) const { 32 void Reporter::fail(SkString msg) { 39 void Reporter::getFailures(SkTArray<SkString>* failures) const {
|
DMTestTask.h | 14 class TestReporter : public skiatest::Reporter { 34 CpuTestTask(Reporter*, TaskRunner*, skiatest::TestRegistry::Factory); 48 GpuTestTask(Reporter*, TaskRunner*, skiatest::TestRegistry::Factory);
|
/external/skia/tests/ |
AtomicTest.cpp | 34 DEF_TEST(Atomic, reporter) { 52 REPORTER_ASSERT(reporter, total == base); 56 REPORTER_ASSERT(reporter, originalValue == sk_atomic_add(&valueToModify, 7));
|
ClipperTest.cpp | 14 static void test_hairclipping(skiatest::Reporter* reporter) { 42 REPORTER_ASSERT(reporter, 0xFFFFFFFF != c); 44 REPORTER_ASSERT(reporter, 0xFFFFFFFF == c); 68 static void test_intersectline(skiatest::Reporter* reporter) { 97 REPORTER_ASSERT(reporter, !valid); 121 REPORTER_ASSERT(reporter, valid && !memcmp(&gFull[i], dst, sizeof(dst))); 140 REPORTER_ASSERT(reporter, valid && 146 DEF_TEST(Clipper, reporter) { [all...] |
EmptyPathTest.cpp | 14 static void drawAndTest(skiatest::Reporter* reporter, const SkPath& path, 48 ERRORF(reporter, "%s style[%d] cap[%d] join[%d] antialias[%d]" 57 static void iter_paint(skiatest::Reporter* reporter, const SkPath& path, bool shouldDraw) { 84 drawAndTest(reporter, path, paint, shouldDraw); 86 drawAndTest(reporter, path, paint, shouldDraw); 113 static void test_emptydrawing(skiatest::Reporter* reporter) { 133 iter_paint(reporter, path, shouldDraw) [all...] |
GrTBSearchTest.cpp | 25 DEF_TEST(GrTBSearchTest, reporter) { 33 REPORTER_ASSERT(reporter, index == (int) i); 35 REPORTER_ASSERT(reporter, index < 0);
|
PathCoverageTest.cpp | 112 skiatest::Reporter* reporter) { 139 ERRORF(reporter, "Curve from %.2f %.2f through %.2f %.2f to " 152 static void TestQuadPointCount(skiatest::Reporter* reporter) { 153 one_d_pe(gXY, SK_ARRAY_COUNT(gXY), reporter); 154 one_d_pe(gSawtooth, SK_ARRAY_COUNT(gSawtooth), reporter); 155 one_d_pe(gOvalish, SK_ARRAY_COUNT(gOvalish), reporter); 156 one_d_pe(gSharpSawtooth, SK_ARRAY_COUNT(gSharpSawtooth), reporter); 157 one_d_pe(gRibbon, SK_ARRAY_COUNT(gRibbon), reporter); [all...] |
PathOpsExtendedTest.cpp | 230 SkDebugf("\nstatic void %s(skiatest::Reporter* reporter, const char* filename) {\n", functionName); 245 SkDebugf(" testPathOp(reporter, %s, %s, %s, filename);\n", pathOne, pathTwo, gOpStrs[op]); 393 static int comparePaths(skiatest::Reporter* reporter, const char* filename, const SkPath& one, 402 REPORTER_ASSERT(reporter, errors2x2 <= MAX_ERRORS || !gComparePathsAssert); 419 SkDebugf("static void %s(skiatest::Reporter* reporter, const char* filename) {\n", testName); 425 SkDebugf(" testPathOp(reporter, path, pathB, %s, filename);\n", opStrs[shapeOp]); 436 static int comparePaths(skiatest::Reporter* reporter, const char* testName, const SkPath& one [all...] |
ARGBImageEncoderTest.cpp | 20 DEF_TEST(ARGBImageEncoder, reporter) { 40 REPORTER_ASSERT(reporter, success); 56 REPORTER_ASSERT(reporter, enc->encodeStream(&out, bitmap, SkImageEncoder::kDefaultQuality)); 59 REPORTER_ASSERT(reporter, bufferSize == sizeof(comparisonBuffer)); 60 REPORTER_ASSERT(reporter, memcmp(pixelBuffer, comparisonBuffer, bufferSize) == 0);
|
PathOpsSkpTest.cpp | 11 static void skpcheeseandburger_com225(skiatest::Reporter* reporter, const char* filename) { 369 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); 372 static void skpeverytechpro_blogspot_com100(skiatest::Reporter* reporter, const char* filename) { 403 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); 406 static void skpflite_com41(skiatest::Reporter* reporter, const char* filename) { 426 testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); 429 static void skpilkoora_com37(skiatest::Reporter* reporter, const char* filename) [all...] |
NameAllocatorTest.cpp | 20 NameLeakTest(skiatest::Reporter* reporter) 21 : fReporter(reporter), 122 skiatest::Reporter* fReporter; 129 DEF_GPUTEST(NameAllocator, reporter, factory) { 132 NameLeakTest nameLeakTest(reporter); 141 REPORTER_ASSERT(reporter, 0 == allocator.allocateName()); 146 REPORTER_ASSERT(reporter, 0 == allocator.allocateName()); 162 ERRORF(reporter, "Name allocate failed when there should be free names"); 166 REPORTER_ASSERT(reporter, 0 == allocator.allocateName()) [all...] |
PathOpsQuadIntersectionTest.cpp | 14 static void standardTestCases(skiatest::Reporter* reporter) { 47 REPORTER_ASSERT(reporter, 0); 264 static void oneOffTest1(skiatest::Reporter* reporter, size_t outer, size_t inner) { 280 REPORTER_ASSERT(reporter, 0); 289 DEF_TEST(PathOpsQuadIntersectionOneOff, reporter) { 290 oneOffTest1(reporter, 0, 1); 293 static void oneOffTests(skiatest::Reporter* reporter) { [all...] |
/external/chromium_org/content/renderer/media/crypto/ |
key_systems_support_uma.h | 44 class Reporter; 46 // Returns the Reporter for |key_system|. Returns NULL if |key_system| was not 48 Reporter* GetReporter(const std::string& key_system); 50 // Key system <-> Reporter map. 51 typedef base::ScopedPtrHashMap<std::string, Reporter> Reporters;
|
/external/objenesis/tck/test/org/objenesis/tck/ |
TCKTest.java | 64 Reporter reporter = new RecordingReporter(); local 65 tck.runTests(reporter); 67 // Expect... the reporter to have received a sequence of calls 75 + "result(false)\n" + "endTest()\n" + "endTests()\n", reporter.toString()); 90 Reporter reporter = new RecordingReporter(); local 91 tck.runTests(reporter); 93 // Expect... the reporter to be notified that A succeeded 99 "endTest()\n" + "endTests()\n", reporter.toString()) [all...] |
/external/mockito/src/org/mockito/internal/creation/ |
MockSettingsImpl.java | 8 import org.mockito.exceptions.Reporter;
39 new Reporter().extraInterfacesRequiresAtLeastOneInterface();
44 new Reporter().extraInterfacesDoesNotAcceptNullParameters();
46 new Reporter().extraInterfacesAcceptsOnlyInterfaces(i);
78 new Reporter().defaultAnswerDoesNotAcceptNullParameter();
109 new Reporter().invocationListenersRequiresAtLeastOneListener();
113 new Reporter().invocationListenerDoesNotAcceptNullParameters();
|
/libcore/dalvik/src/test/java/dalvik/system/ |
CloseGuardMonitor.java | 18 import dalvik.system.CloseGuard.Reporter; 40 * The {@link Reporter} instance used to receive warnings from {@link CloseGuard}. 42 private final Reporter closeGuardReporter; 58 // Save current reporter. 61 // Override the reporter with our own which collates the allocation sites. 62 CloseGuard.setReporter(new Reporter() { 102 // Restore the reporter.
|