/external/chromium_org/third_party/skia/tests/ |
CanvasTest.cpp | 21 * skiatest::Reporter* reporter, 26 * REPORTER_ASSERT_MESSAGE(reporter, (...), \ 100 static void test_clipVisitor(skiatest::Reporter* reporter, SkCanvas* canvas) { 110 REPORTER_ASSERT(reporter, equal_clips(c, *canvas)); 181 virtual void draw(SkCanvas*, skiatest::Reporter*) = 0; 278 virtual void draw(SkCanvas* canvas, skiatest::Reporter* reporter) { \ 279 FUNCTION (canvas, reporter, this); [all...] |
SerializationTest.cpp | 23 static void TestAlignment(T* testObj, skiatest::Reporter* reporter) { 27 REPORTER_ASSERT(reporter, SkAlign4(bytesWrittenToMemory) == bytesWrittenToMemory); 29 REPORTER_ASSERT(reporter, SkAlign4(bytesReadFromMemory) == bytesReadFromMemory); 134 static void TestObjectSerializationNoAlign(T* testObj, skiatest::Reporter* reporter) { 138 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); 149 REPORTER_ASSERT(reporter, !buffer.isValid()); 158 REPORTER_ASSERT(reporter, buffer2.isValid() == !testInvalid); 161 REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten) [all...] |
GrContextFactoryTest.cpp | 13 DEF_GPUTEST(GrContextFactoryTest, reporter, factory) { 18 REPORTER_ASSERT(reporter, 23 REPORTER_ASSERT(reporter, 28 REPORTER_ASSERT(reporter,
|
PathOpsDRectTest.cpp | 41 DEF_TEST(PathOpsDRect, reporter) { 48 REPORTER_ASSERT(reporter, rect.fLeft == SkTMin(line[0].fX, line[1].fX)); 49 REPORTER_ASSERT(reporter, rect.fTop == SkTMin(line[0].fY, line[1].fY)); 50 REPORTER_ASSERT(reporter, rect.fRight == SkTMax(line[0].fX, line[1].fX)); 51 REPORTER_ASSERT(reporter, rect.fBottom == SkTMax(line[0].fY, line[1].fY)); 54 REPORTER_ASSERT(reporter, rect2.fLeft == SkTMin(line[0].fX, line[1].fX)); 55 REPORTER_ASSERT(reporter, rect2.fTop == SkTMin(line[0].fY, line[1].fY)); 56 REPORTER_ASSERT(reporter, rect2.fRight == SkTMax(line[0].fX, line[1].fX)); 57 REPORTER_ASSERT(reporter, rect2.fBottom == SkTMax(line[0].fY, line[1].fY)); 58 REPORTER_ASSERT(reporter, rect.contains(line[0])) [all...] |
PictureStateTreeTest.cpp | 67 static void check_bms(skiatest::Reporter* reporter, const SkBitmap& bm1, const SkBitmap& bm2) { 69 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getAddr(0, 0), bm2.getAddr(0, 0), bm1.getSize())); 72 static void test_reference_picture(skiatest::Reporter* reporter) { 90 REPORTER_ASSERT(reporter, 92 REPORTER_ASSERT(reporter, 94 check_bms(reporter, referenceBitmap, bbhBitmap); 102 REPORTER_ASSERT(reporter, 104 REPORTER_ASSERT(reporter, [all...] |
RuntimeConfigTest.cpp | 15 DEF_TEST(RuntimeConfig, reporter) { 16 REPORTER_ASSERT(reporter, 1 == c_RTConfTestVariable); 20 REPORTER_ASSERT(reporter, 2 == c_RTConfTestVariable); 23 REPORTER_ASSERT(reporter, 1 == c_RTConfTestVariable);
|
FlatDataTest.cpp | 37 * @param reporter Object to report failures. 42 static void testCreate(skiatest::Reporter* reporter, const T& obj) { 47 REPORTER_ASSERT(reporter, *data1 == *data2); 50 DEF_TEST(FlatData, reporter) { 61 testCreate<SkFlattenableTraits>(reporter, *shader); 65 testCreate<SkFlattenableTraits>(reporter, *cf); 69 testCreate<SkFlattenableTraits>(reporter, *xfer);
|
PathOpsCubicToQuadsTest.cpp | 16 static void test(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, 28 REPORTER_ASSERT(reporter, quads.count() == 1); 32 static void test(skiatest::Reporter* reporter, const SkDQuad* quadTests, const char* name, 45 REPORTER_ASSERT(reporter, quads.count() <= 2); 49 static void testC(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, 61 REPORTER_ASSERT(reporter, 0); 67 REPORTER_ASSERT(reporter, 0) [all...] |
PathOpsTypesTest.cpp | 16 DEF_TEST(PathOpsRoughly, reporter) { 19 REPORTER_ASSERT(reporter, equal);
|
ClipStackTest.cpp | 18 static void test_assign_and_comparison(skiatest::Reporter* reporter) { 22 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); 26 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); 36 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 44 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); 51 REPORTER_ASSERT(reporter, s == copy); 55 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 56 REPORTER_ASSERT(reporter, s != copy); 60 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()) [all...] |
/external/skia/tests/ |
CanvasTest.cpp | 21 * skiatest::Reporter* reporter, 26 * REPORTER_ASSERT_MESSAGE(reporter, (...), \ 100 static void test_clipVisitor(skiatest::Reporter* reporter, SkCanvas* canvas) { 110 REPORTER_ASSERT(reporter, equal_clips(c, *canvas)); 181 virtual void draw(SkCanvas*, skiatest::Reporter*) = 0; 278 virtual void draw(SkCanvas* canvas, skiatest::Reporter* reporter) { \ 279 FUNCTION (canvas, reporter, this); [all...] |
SerializationTest.cpp | 23 static void TestAlignment(T* testObj, skiatest::Reporter* reporter) { 27 REPORTER_ASSERT(reporter, SkAlign4(bytesWrittenToMemory) == bytesWrittenToMemory); 29 REPORTER_ASSERT(reporter, SkAlign4(bytesReadFromMemory) == bytesReadFromMemory); 134 static void TestObjectSerializationNoAlign(T* testObj, skiatest::Reporter* reporter) { 138 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten); 149 REPORTER_ASSERT(reporter, !buffer.isValid()); 158 REPORTER_ASSERT(reporter, buffer2.isValid() == !testInvalid); 161 REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten) [all...] |
GrContextFactoryTest.cpp | 13 DEF_GPUTEST(GrContextFactoryTest, reporter, factory) { 18 REPORTER_ASSERT(reporter, 23 REPORTER_ASSERT(reporter, 28 REPORTER_ASSERT(reporter,
|
PathOpsDRectTest.cpp | 41 DEF_TEST(PathOpsDRect, reporter) { 48 REPORTER_ASSERT(reporter, rect.fLeft == SkTMin(line[0].fX, line[1].fX)); 49 REPORTER_ASSERT(reporter, rect.fTop == SkTMin(line[0].fY, line[1].fY)); 50 REPORTER_ASSERT(reporter, rect.fRight == SkTMax(line[0].fX, line[1].fX)); 51 REPORTER_ASSERT(reporter, rect.fBottom == SkTMax(line[0].fY, line[1].fY)); 54 REPORTER_ASSERT(reporter, rect2.fLeft == SkTMin(line[0].fX, line[1].fX)); 55 REPORTER_ASSERT(reporter, rect2.fTop == SkTMin(line[0].fY, line[1].fY)); 56 REPORTER_ASSERT(reporter, rect2.fRight == SkTMax(line[0].fX, line[1].fX)); 57 REPORTER_ASSERT(reporter, rect2.fBottom == SkTMax(line[0].fY, line[1].fY)); 58 REPORTER_ASSERT(reporter, rect.contains(line[0])) [all...] |
PictureStateTreeTest.cpp | 67 static void check_bms(skiatest::Reporter* reporter, const SkBitmap& bm1, const SkBitmap& bm2) { 69 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getAddr(0, 0), bm2.getAddr(0, 0), bm1.getSize())); 72 static void test_reference_picture(skiatest::Reporter* reporter) { 90 REPORTER_ASSERT(reporter, 92 REPORTER_ASSERT(reporter, 94 check_bms(reporter, referenceBitmap, bbhBitmap); 102 REPORTER_ASSERT(reporter, 104 REPORTER_ASSERT(reporter, [all...] |
RuntimeConfigTest.cpp | 15 DEF_TEST(RuntimeConfig, reporter) { 16 REPORTER_ASSERT(reporter, 1 == c_RTConfTestVariable); 20 REPORTER_ASSERT(reporter, 2 == c_RTConfTestVariable); 23 REPORTER_ASSERT(reporter, 1 == c_RTConfTestVariable);
|
FlatDataTest.cpp | 37 * @param reporter Object to report failures. 42 static void testCreate(skiatest::Reporter* reporter, const T& obj) { 47 REPORTER_ASSERT(reporter, *data1 == *data2); 50 DEF_TEST(FlatData, reporter) { 61 testCreate<SkFlattenableTraits>(reporter, *shader); 65 testCreate<SkFlattenableTraits>(reporter, *cf); 69 testCreate<SkFlattenableTraits>(reporter, *xfer);
|
PathOpsCubicToQuadsTest.cpp | 16 static void test(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, 28 REPORTER_ASSERT(reporter, quads.count() == 1); 32 static void test(skiatest::Reporter* reporter, const SkDQuad* quadTests, const char* name, 45 REPORTER_ASSERT(reporter, quads.count() <= 2); 49 static void testC(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, 61 REPORTER_ASSERT(reporter, 0); 67 REPORTER_ASSERT(reporter, 0) [all...] |
PathOpsTypesTest.cpp | 16 DEF_TEST(PathOpsRoughly, reporter) { 19 REPORTER_ASSERT(reporter, equal);
|
ClipStackTest.cpp | 18 static void test_assign_and_comparison(skiatest::Reporter* reporter) { 22 REPORTER_ASSERT(reporter, 0 == s.getSaveCount()); 26 REPORTER_ASSERT(reporter, 1 == s.getSaveCount()); 36 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 44 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()); 51 REPORTER_ASSERT(reporter, s == copy); 55 REPORTER_ASSERT(reporter, 2 == s.getSaveCount()); 56 REPORTER_ASSERT(reporter, s != copy); 60 REPORTER_ASSERT(reporter, 3 == s.getSaveCount()) [all...] |
/external/chromium_org/third_party/skia/dm/ |
DMTestTask.cpp | 25 CpuTestTask::CpuTestTask(Reporter* reporter, 28 : CpuTask(reporter, taskRunner) 32 GpuTestTask::GpuTestTask(Reporter* reporter, 35 : GpuTask(reporter, taskRunner)
|
/external/mockito/src/org/mockito/internal/stubbing/ |
StubberImpl.java | 7 import org.mockito.exceptions.Reporter;
20 private final Reporter reporter = new Reporter();
field in class:StubberImpl 26 reporter.nullPassedToWhenMethod();
29 reporter.notAMockPassedToWhenMethod();
|
/external/mockito/src/org/mockito/internal/util/ |
MockCreationValidator.java | 7 import org.mockito.exceptions.Reporter;
20 new Reporter().cannotMockFinalClass(classToMock);
31 new Reporter().extraInterfacesCannotContainMockedType(classToMock);
41 new Reporter().mockedTypeIsInconsistentWithSpiedInstanceType(classToMock, spiedInstance);
50 new Reporter().mockedTypeIsInconsistentWithDelegatedInstanceType(classToMock, delegatedInstance);
63 new Reporter().serializableWontWorkForObjectsThatDontImplementSerializable(classToMock);
|
/external/mockito/src/org/mockito/internal/verification/ |
Only.java | 9 import org.mockito.exceptions.Reporter;
21 private final Reporter reporter = new Reporter();
field in class:Only 30 reporter.noMoreInteractionsWanted(unverified, (List) invocations);
32 reporter.wantedButNotInvoked(wantedMatcher);
|
/external/skia/dm/ |
DMTestTask.cpp | 25 CpuTestTask::CpuTestTask(Reporter* reporter, 28 : CpuTask(reporter, taskRunner) 32 GpuTestTask::GpuTestTask(Reporter* reporter, 35 : GpuTask(reporter, taskRunner)
|