/external/mockito/src/org/mockito/verification/ |
Timeout.java | 7 import org.mockito.exceptions.Reporter;
65 new Reporter().atMostShouldNotBeUsedWithTimeout();
|
/external/skia/src/gpu/ |
GrGpuResourceCacheAccess.h | 16 class Reporter; 93 friend void test_unbudgeted_to_scratch(skiatest::Reporter* reporter); // for unit testing
|
/external/skia/tests/ |
ColorTest.cpp | 19 static inline void test_premul(skiatest::Reporter* reporter) { 30 REPORTER_ASSERT(reporter, p0 == p1); 34 REPORTER_ASSERT(reporter, ax <= a); 46 static void test_interp(skiatest::Reporter* reporter) { 57 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a0) == dst); 58 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a255) == src); 63 static inline void test_fast_interp(skiatest::Reporter* reporter) { [all...] |
PathOpsQuadReduceOrderTest.cpp | 20 static void oneOffTest(skiatest::Reporter* reporter) { 29 static void standardTestCases(skiatest::Reporter* reporter) { 65 DEF_TEST(PathOpsReduceOrderQuad, reporter) { 66 oneOffTest(reporter); 67 standardTestCases(reporter);
|
XfermodeTest.cpp | 14 static void test_asMode(skiatest::Reporter* reporter) { 19 REPORTER_ASSERT(reporter, reportedMode != mode); 22 REPORTER_ASSERT(reporter, SkXfermode::AsMode(xfer, &reportedMode)); 23 REPORTER_ASSERT(reporter, reportedMode == mode); 28 REPORTER_ASSERT(reporter, xfer->asMode(&reportedMode)); 29 REPORTER_ASSERT(reporter, reportedMode == mode); 32 REPORTER_ASSERT(reporter, SkXfermode::kSrcOver_Mode == mode); 37 static void test_IsMode(skiatest::Reporter* reporter) { [all...] |
DataRefTest.cpp | 16 static void test_is_equal(skiatest::Reporter* reporter, 18 REPORTER_ASSERT(reporter, a->count() == b->count()); 23 REPORTER_ASSERT(reporter, sizea == sizeb); 24 REPORTER_ASSERT(reporter, !memcmp(mema, memb, sizea)); 28 static void test_datatable_is_empty(skiatest::Reporter* reporter, 30 REPORTER_ASSERT(reporter, table->isEmpty()); 31 REPORTER_ASSERT(reporter, 0 == table->count()); 34 static void test_emptytable(skiatest::Reporter* reporter) [all...] |
ImageNewShaderTest.cpp | 19 void testBitmapEquality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { 23 REPORTER_ASSERT(reporter, bm1.getSize() == bm2.getSize()); 24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize())); 44 void runShaderTest(skiatest::Reporter* reporter, SkSurface* sourceSurface, SkSurface* destinationSurface, SkImageInfo& info) { 68 testBitmapEquality(reporter, bmOrig, bm); 95 REPORTER_ASSERT(reporter, 0xFFFF0000 == bmt.getColor(0, y)); 98 REPORTER_ASSERT(reporter, 0xFFDEDEDE == bmt.getColor(x, y)); 104 DEF_TEST(ImageNewShader, reporter) { [all...] |
PDFDocumentTest.cpp | 16 static void test_empty(skiatest::Reporter* reporter) { 23 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0); 26 static void test_abort(skiatest::Reporter* reporter) { 36 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0); 39 static void test_abortWithFile(skiatest::Reporter* reporter) { 64 REPORTER_ASSERT(reporter, fread(buffer, 1, 1, file) == 0); 68 static void test_file(skiatest::Reporter* reporter) [all...] |
RandomTest.cpp | 59 static void test_random_byte(skiatest::Reporter* reporter, int shift) { 68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); 71 static void test_random_float(skiatest::Reporter* reporter) { 78 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f); 81 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); 86 REPORTER_ASSERT(reporter, 0.0f <= f && f < 1.0f); 89 REPORTER_ASSERT(reporter, anderson_darling_test(p)); 102 static double test_single_gorilla(skiatest::Reporter* reporter, int shift) [all...] |
MemsetTest.cpp | 12 static void check_alloc(skiatest::Reporter* reporter, const SkChunkAlloc& alloc, 14 REPORTER_ASSERT(reporter, alloc.totalCapacity() >= capacity); 15 REPORTER_ASSERT(reporter, alloc.totalUsed() == used); 16 SkDEBUGCODE(REPORTER_ASSERT(reporter, alloc.blockCount() == numBlocks);) 19 static void* simple_alloc(skiatest::Reporter* reporter, SkChunkAlloc* alloc, size_t size) { 21 check_alloc(reporter, *alloc, size, size, 1); 22 REPORTER_ASSERT(reporter, alloc->contains(ptr)); 26 static void test_chunkalloc(skiatest::Reporter* reporter) [all...] |
FontHostTest.cpp | 34 static void test_unitsPerEm(skiatest::Reporter* reporter, SkTypeface* face) { 47 REPORTER_ASSERT(reporter, tableUPEM == nativeUPEM); 53 static void test_countGlyphs(skiatest::Reporter* reporter, SkTypeface* face) { 66 REPORTER_ASSERT(reporter, tableGlyphs == nativeGlyphs); 89 static void test_charsToGlyphs(skiatest::Reporter* reporter, SkTypeface* face) { 109 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str()); 114 static void test_fontstream(skiatest::Reporter* reporter, SkStream* stream, int ttcIndex) [all...] |
GeometryTest.cpp | 16 static void testChopCubic(skiatest::Reporter* reporter) { 33 REPORTER_ASSERT(reporter, count); 37 static void check_pairs(skiatest::Reporter* reporter, int index, SkScalar t, const char name[], 43 REPORTER_ASSERT(reporter, eq); 47 static void test_evalquadat(skiatest::Reporter* reporter) { 60 check_pairs(reporter, i, t, "quad-pos", r0.fX, r0.fY, r1.fX, r1.fY); 65 check_pairs(reporter, i, t, "quad-tan", v0.fX, v0.fY, v1.fX, v1.fY) [all...] |
Writer32Test.cpp | 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, 16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); 18 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size)); 22 static void test_reserve(skiatest::Reporter* reporter) { 30 static void test_string_null(skiatest::Reporter* reporter) { 37 check_contents(reporter, writer, expected, sizeof(expected)); 40 static void test_rewind(skiatest::Reporter* reporter) [all...] |
GrAllocatorTest.cpp | 27 skiatest::Reporter* reporter); 32 skiatest::Reporter* reporter) { 43 check_allocator_helper(allocator, cnt, popCnt, reporter); 45 check_allocator_helper(allocator, 0, 0, reporter); 51 skiatest::Reporter* reporter) { 52 REPORTER_ASSERT(reporter, (0 == cnt) == allocator->empty()); 53 REPORTER_ASSERT(reporter, cnt == allocator->count()) [all...] |
PaintBreakTextTest.cpp | 11 static void test_monotonic(skiatest::Reporter* reporter, 25 REPORTER_ASSERT_MESSAGE(reporter, n <= length, msg); 26 REPORTER_ASSERT_MESSAGE(reporter, m <= width, msg); 29 REPORTER_ASSERT_MESSAGE(reporter, m == 0, msg); 33 REPORTER_ASSERT_MESSAGE(reporter, m == mm, msg); 35 REPORTER_ASSERT_MESSAGE(reporter, n > nn, msg); 36 REPORTER_ASSERT_MESSAGE(reporter, m > mm, msg); 44 static void test_eq_measure_text(skiatest::Reporter* reporter, [all...] |
DequeTest.cpp | 11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) { 13 REPORTER_ASSERT(reporter, deq.empty()); 14 REPORTER_ASSERT(reporter, 0 == deq.count()); 15 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize()); 16 REPORTER_ASSERT(reporter, nullptr == deq.front()); 17 REPORTER_ASSERT(reporter, nullptr == deq.back()); 19 REPORTER_ASSERT(reporter, !deq.empty()); 20 REPORTER_ASSERT(reporter, count == deq.count()); 21 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize()) [all...] |
FlattenableFactoryToName.cpp | 12 static void test_flattenable(skiatest::Reporter* r,
|
ScalarTest.cpp | 15 static void test_roundtoint(skiatest::Reporter* reporter) { 20 REPORTER_ASSERT(reporter, 1 == ix); 25 REPORTER_ASSERT(reporter, 0 == ix); 34 static void test_isRectFinite(skiatest::Reporter* reporter) { 73 REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite); 112 static void test_floatclass(skiatest::Reporter* reporter, float value, FloatClass fc) { 115 REPORTER_ASSERT(reporter, !!sk_float_isfinite(value) == (fc == kFinite)) [all...] |
/external/testng/src/main/java/org/testng/reporters/jq/ |
ReporterPanel.java | 5 import org.testng.Reporter; 11 * Display the reporter output for each test result. 22 return "reporter-"; 27 return "Reporter output for " + suite.getName(); 34 List<String> lines = Reporter.getOutput(tr); 36 xsb.push(D, C, "reporter-method-div"); 37 xsb.addRequired(S, Model.getTestResultName(tr), C, "reporter-method-name"); 38 xsb.push(D, C, "reporter-method-output-div"); 40 xsb.addRequired(S, output, C, "reporter-method-output"); 51 return "Reporter output" [all...] |
/external/testng/src/test/java/test/configuration/ |
BeforeTestOrderingTest.java | 4 import org.testng.Reporter; 36 Reporter.log("BEFORE");
|
/external/google-breakpad/src/common/mac/ |
macho_reader.cc | 67 void FatReader::Reporter::BadHeader() { 72 void FatReader::Reporter::TooShort() { 77 void FatReader::Reporter::MisplacedObjectFile() { 156 void Reader::Reporter::BadHeader() { 160 void Reader::Reporter::CPUTypeMismatch(cpu_type_t cpu_type, 170 void Reader::Reporter::HeaderTruncated() { 175 void Reader::Reporter::LoadCommandRegionTruncated() { 180 void Reader::Reporter::LoadCommandsOverrun(size_t claimed, size_t i, 189 void Reader::Reporter::LoadCommandTooShort(size_t i, LoadCommandType type) { 195 void Reader::Reporter::SectionsMissing(const string &name) [all...] |
/external/mockito/src/org/mockito/internal/progress/ |
MockingProgressImpl.java | 9 import org.mockito.exceptions.Reporter; 22 private final Reporter reporter = new Reporter(); field in class:MockingProgressImpl 75 reporter.unfinishedStubbing(temp); 87 reporter.unfinishedVerificationException(location);
|
/external/clang/tools/scan-view/ |
Makefile | 19 $(ShareDir)/scan-view/Reporter.py \
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
cppunit_mini.h | 33 class Reporter { 35 virtual ~Reporter() {} 59 static int run(Reporter *in_reporter = 0, const char *in_testName = "", bool invert = false); 128 static Reporter *m_reporter;
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
cppunit_mini.h | 33 class Reporter { 35 virtual ~Reporter() {} 59 static int run(Reporter *in_reporter = 0, const char *in_testName = "", bool invert = false); 128 static Reporter *m_reporter;
|