/external/skia/tests/ |
MemsetTest.cpp | 12 static void test_chunkalloc(skiatest::Reporter* reporter) { 16 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity()); 17 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed()); 18 REPORTER_ASSERT(reporter, 0 == alloc.blockCount()); 19 REPORTER_ASSERT(reporter, !alloc.contains(NULL)); 20 REPORTER_ASSERT(reporter, !alloc.contains(reporter)); 23 REPORTER_ASSERT(reporter, 0 == alloc.totalCapacity()); 24 REPORTER_ASSERT(reporter, 0 == alloc.totalUsed()) [all...] |
Reader32Test.cpp | 11 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) { 12 REPORTER_ASSERT(reporter, reader.eof()); 13 REPORTER_ASSERT(reporter, reader.size() == reader.offset()); 14 REPORTER_ASSERT(reporter, (const char*)reader.peek() == 18 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) { 19 REPORTER_ASSERT(reporter, 0 == reader.offset()); 20 REPORTER_ASSERT(reporter, reader.size() == reader.available()); 21 REPORTER_ASSERT(reporter, reader.isAvailable(reader.size())) [all...] |
RefCntTest.cpp | 30 static void test_refarray(skiatest::Reporter* reporter) { 31 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter); 36 REPORTER_ASSERT(reporter, 1 == array->getRefCnt()); 37 REPORTER_ASSERT(reporter, N == array->count()); 39 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter); 41 REPORTER_ASSERT(reporter, 0 == InstCounterClass::gInstCounter); 47 REPORTER_ASSERT(reporter, N == InstCounterClass::gInstCounter); 49 REPORTER_ASSERT(reporter, i == src[i].fCount); 53 REPORTER_ASSERT(reporter, 1 == array->getRefCnt()) [all...] |
ShaderOpacityTest.cpp | 13 static void test_bitmap(skiatest::Reporter* reporter) { 22 REPORTER_ASSERT(reporter, shader); 23 REPORTER_ASSERT(reporter, !shader->isOpaque()); 32 REPORTER_ASSERT(reporter, shader); 33 REPORTER_ASSERT(reporter, !shader->isOpaque()); 40 REPORTER_ASSERT(reporter, shader); 41 REPORTER_ASSERT(reporter, shader->isOpaque()); 48 REPORTER_ASSERT(reporter, shader); 49 REPORTER_ASSERT(reporter, !shader->isOpaque()) [all...] |
TSetTest.cpp | 14 static void TestTSet_basic(skiatest::Reporter* reporter) { 16 REPORTER_ASSERT(reporter, set0.isEmpty()); 17 REPORTER_ASSERT(reporter, !set0.contains(-1)); 18 REPORTER_ASSERT(reporter, !set0.contains(0)); 19 REPORTER_ASSERT(reporter, !set0.contains(1)); 20 REPORTER_ASSERT(reporter, set0.count() == 0); 22 REPORTER_ASSERT(reporter, set0.add(0)); 23 REPORTER_ASSERT(reporter, !set0.isEmpty()); 24 REPORTER_ASSERT(reporter, !set0.contains(-1)) [all...] |
InfRectTest.cpp | 21 static void test_center(skiatest::Reporter* reporter) { 30 REPORTER_ASSERT(reporter, 32 REPORTER_ASSERT(reporter, 44 REPORTER_ASSERT(reporter, ((r.left() + r.right()) >> 1) == cx); 45 REPORTER_ASSERT(reporter, ((r.top() + r.bottom()) >> 1) == cy); 49 static void check_invalid(skiatest::Reporter* reporter, 53 REPORTER_ASSERT(reporter, !rect.isFinite()); 58 DEF_TEST(InfRect, reporter) { [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...] |
UnicodeTest.cpp | 26 static void test_uvs(skiatest::Reporter* reporter) { 36 REPORTER_ASSERT(reporter, uvs0 == uvs1); 44 static void test_textencodings(skiatest::Reporter* reporter) { 72 REPORTER_ASSERT(reporter, (int)len8 == count8); 73 REPORTER_ASSERT(reporter, (int)len8 == count16); 74 REPORTER_ASSERT(reporter, (int)len8 == count32); 76 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_t))); 77 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_t))) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
check.py | 13 from docutils.utils import Reporter 19 class SilentReporter(Reporter): 24 Reporter.__init__(self, source, report_level, halt_level, stream, 133 reporter = SilentReporter(source_path, 141 document = nodes.document(settings, reporter, source=source_path) 146 reporter.messages.append((-1, 'Could not finish the parsing.', 149 return reporter.messages
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
check.py | 13 from docutils.utils import Reporter 19 class SilentReporter(Reporter): 24 Reporter.__init__(self, source, report_level, halt_level, stream, 133 reporter = SilentReporter(source_path, 141 document = nodes.document(settings, reporter, source=source_path) 146 reporter.messages.append((-1, 'Could not finish the parsing.', 149 return reporter.messages
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
annotate.py | 5 from coverage.report import Reporter 7 class AnnotateReporter(Reporter): 10 This reporter creates annotated copies of the measured source files. Each
|
summary.py | 5 from coverage.report import Reporter 9 class SummaryReporter(Reporter): 10 """A reporter for writing the summary report."""
|
/external/chromium_org/third_party/skia/dm/ |
DMPDFTask.cpp | 24 Reporter* reporter, 28 : CpuTask(reporter, taskRunner) 33 PDFTask::PDFTask(Reporter* reporter, 38 : CpuTask(reporter, taskRunner)
|
DM.cpp | 75 DM::Reporter* reporter, 79 tasks->add(SkNEW_ARGS(DM::type, (name, reporter, tasks, gms[i], ## __VA_ARGS__))); \ 106 DM::Reporter* reporter, 111 tasks->add(SkNEW_ARGS(DM::GpuTestTask, (reporter, tasks, tests[i]))); 113 tasks->add(SkNEW_ARGS(DM::CpuTestTask, (reporter, tasks, tests[i]))); 133 DM::Reporter* reporter, 149 tasks->add(SkNEW_ARGS(DM::SKPTask, (reporter, tasks, pic, filename))) 221 DM::Reporter reporter; local [all...] |
DMGpuGMTask.cpp | 11 Reporter* reporter, 17 : GpuTask(reporter, taskRunner)
|
/external/chromium_org/third_party/skia/tests/ |
BitmapTest.cpp | 12 static void test_allocpixels(skiatest::Reporter* reporter) { 20 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes()); 22 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes()); 25 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes()); 28 REPORTER_ASSERT(reporter, explicitRowBytes == bm.rowBytes()); 30 REPORTER_ASSERT(reporter, explicitRowBytes == bm.rowBytes()); 33 REPORTER_ASSERT(reporter, explicitRowBytes == bm.rowBytes()); 37 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes()); 40 REPORTER_ASSERT(reporter, info.minRowBytes() == bm.rowBytes()) [all...] |
InfRectTest.cpp | 21 static void test_center(skiatest::Reporter* reporter) { 30 REPORTER_ASSERT(reporter, 32 REPORTER_ASSERT(reporter, 44 REPORTER_ASSERT(reporter, ((r.left() + r.right()) >> 1) == cx); 45 REPORTER_ASSERT(reporter, ((r.top() + r.bottom()) >> 1) == cy); 49 static void check_invalid(skiatest::Reporter* reporter, 53 REPORTER_ASSERT(reporter, !rect.isFinite()); 58 DEF_TEST(InfRect, reporter) { [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...] |
UnicodeTest.cpp | 26 static void test_uvs(skiatest::Reporter* reporter) { 36 REPORTER_ASSERT(reporter, uvs0 == uvs1); 44 static void test_textencodings(skiatest::Reporter* reporter) { 72 REPORTER_ASSERT(reporter, (int)len8 == count8); 73 REPORTER_ASSERT(reporter, (int)len8 == count16); 74 REPORTER_ASSERT(reporter, (int)len8 == count32); 76 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_t))); 77 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_t))) [all...] |
PDFPrimitivesTest.cpp | 72 static void CheckObjectOutput(skiatest::Reporter* reporter, SkPDFObject* obj, 81 REPORTER_ASSERT(reporter, directSize == expectedSize); 85 REPORTER_ASSERT(reporter, directSize == buffer.getOffset()); 86 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedData, 99 REPORTER_ASSERT(reporter, 104 REPORTER_ASSERT(reporter, indirectSize == buffer.getOffset()); 105 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, header, headerLen)); 106 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen, expectedData, 108 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen + directSize [all...] |
ClipCacheTest.cpp | 44 static void test_clip_bounds(skiatest::Reporter* reporter, GrContext* context) { 84 REPORTER_ASSERT(reporter, screen == devStackBounds); 85 REPORTER_ASSERT(reporter, isIntersectionOfRects); 97 REPORTER_ASSERT(reporter, intScreen == devGrClipDataBound); 98 REPORTER_ASSERT(reporter, isIntersectionOfRects); 103 static void check_state(skiatest::Reporter* reporter, 108 REPORTER_ASSERT(reporter, clip.getTopmostGenID() == cache.getLastClipGenID()); 110 REPORTER_ASSERT(reporter, mask == cache.getLastMask()) [all...] |
/external/mockito/src/org/mockito/internal/configuration/ |
DefaultAnnotationEngine.java | 11 import org.mockito.exceptions.Reporter;
83 new Reporter().moreThanOneAnnotationNotAllowed(field.getName());
|
/external/mockito/src/org/mockito/internal/handler/ |
MockHandlerImpl.java | 7 import org.mockito.exceptions.Reporter; 124 new Reporter().stubPassedToVerify(); // this throws an exception
|
/external/mockito/src/org/mockito/internal/invocation/ |
InvocationImpl.java | 8 import org.mockito.exceptions.Reporter; 106 new Reporter().cannotCallRealMethodOnInterface();
|
/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...] |