Searched defs:reporter (Results 1 - 25 of 189) sorted by relevance

12345678

/external/skia/tests/
H A DBitSetTest.cpp11 static void TestBitSet(skiatest::Reporter* reporter) { argument
13 REPORTER_ASSERT(reporter, set0.isBitSet(0) == false);
14 REPORTER_ASSERT(reporter, set0.isBitSet(32767) == false);
15 REPORTER_ASSERT(reporter, set0.isBitSet(65535) == false);
18 REPORTER_ASSERT(reporter, set0 == set1);
21 REPORTER_ASSERT(reporter, set0.isBitSet(22) == true);
23 REPORTER_ASSERT(reporter, set0.isBitSet(24) == true);
25 REPORTER_ASSERT(reporter, set0.isBitSet(35) == true);
27 REPORTER_ASSERT(reporter, set0.isBitSet(22) == false);
28 REPORTER_ASSERT(reporter, set
[all...]
H A DFitsInTest.cpp16 #define TEST(S, s, D, expected) REPORTER_ASSERT(reporter, (SkTFitsIn<D>((S)(s)) == (expected)))
18 static void FitsInTest(skiatest::Reporter* reporter) { argument
H A DGrContextFactoryTest.cpp14 static void test_context_factory(skiatest::Reporter* reporter, argument
20 REPORTER_ASSERT(reporter,
25 REPORTER_ASSERT(reporter,
30 REPORTER_ASSERT(reporter,
H A DPathOpsInverseTest.cpp9 static void PathOpsInverseTest(skiatest::Reporter* reporter) { argument
25 testPathOp(reporter, one, two, (SkPathOp) op);
H A DPictureUtilsTest.cpp11 static void test_filepath_creation(skiatest::Reporter* reporter) { argument
16 REPORTER_ASSERT(reporter, result.equals("test/path/test"));
19 static void test_get_basename(skiatest::Reporter* reporter) { argument
23 REPORTER_ASSERT(reporter, result.equals("basename"));
28 REPORTER_ASSERT(reporter, result.equals("dir"));
33 REPORTER_ASSERT(reporter, result.equals("path"));
39 REPORTER_ASSERT(reporter, result.equals("winbasename"));
44 REPORTER_ASSERT(reporter, result.equals("windir"));
48 static void TestPictureUtils(skiatest::Reporter* reporter) { argument
49 test_filepath_creation(reporter);
[all...]
H A DGLInterfaceValidation.cpp17 static void GLInterfaceValidationTest(skiatest::Reporter* reporter, GrContextFactory* factory) { argument
23 REPORTER_ASSERT(reporter, NULL != glCtxHelper);
30 REPORTER_ASSERT(reporter, interface->validate(binding));
H A DPathOpsDCubicTest.cpp19 static void PathOpsDCubicTest(skiatest::Reporter* reporter) { argument
26 REPORTER_ASSERT(reporter, 0);
H A DErrorTest.cpp14 REPORTER_ASSERT( reporter, (err = SkGetLastError()) == errcode); \
26 static void ErrorTest(skiatest::Reporter* reporter) { argument
H A DGrSurfaceTest.cpp21 static void GrSurfaceIsSameTest(skiatest::Reporter* reporter, GrContextFactory* factory) { argument
35 REPORTER_ASSERT(reporter, texRT1->isSameAs(texRT1));
36 REPORTER_ASSERT(reporter, texRT1->isSameAs(texRT1->asRenderTarget()));
37 REPORTER_ASSERT(reporter, texRT1->asRenderTarget()->isSameAs(texRT1));
38 REPORTER_ASSERT(reporter, !texRT2->isSameAs(texRT1));
39 REPORTER_ASSERT(reporter, !texRT2->asRenderTarget()->isSameAs(texRT1));
40 REPORTER_ASSERT(reporter, !texRT2->isSameAs(texRT1->asRenderTarget()));
41 REPORTER_ASSERT(reporter, !texRT2->isSameAs(tex1));
42 REPORTER_ASSERT(reporter, !texRT2->asRenderTarget()->isSameAs(tex1));
52 REPORTER_ASSERT(reporter, externalTexR
[all...]
H A DMipMapTest.cpp23 static void TestMipMap(skiatest::Reporter* reporter) { argument
31 REPORTER_ASSERT(reporter, !mm->extractLevel(SK_Scalar1, NULL));
32 REPORTER_ASSERT(reporter, !mm->extractLevel(SK_Scalar1 * 2, NULL));
43 REPORTER_ASSERT(reporter, level.fPixels);
44 REPORTER_ASSERT(reporter, level.fWidth > 0);
45 REPORTER_ASSERT(reporter, level.fHeight > 0);
46 REPORTER_ASSERT(reporter, level.fRowBytes >= level.fWidth * 4);
49 REPORTER_ASSERT(reporter, level.fWidth <= prevLevel.fWidth);
50 REPORTER_ASSERT(reporter, level.fHeight <= prevLevel.fHeight);
H A DPathMeasureTest.cpp82 static void TestPathMeasure(skiatest::Reporter* reporter) { argument
99 REPORTER_ASSERT(reporter, length == SK_Scalar1*5);
116 REPORTER_ASSERT(reporter, length == SK_Scalar1 * 4);
119 REPORTER_ASSERT(reporter, length == SK_Scalar1);
122 REPORTER_ASSERT(reporter, meas.getPosTan(SK_ScalarHalf, &position, &tangent));
123 REPORTER_ASSERT(reporter,
127 REPORTER_ASSERT(reporter, position.fY == 0);
128 REPORTER_ASSERT(reporter, tangent.fX == -SK_Scalar1);
129 REPORTER_ASSERT(reporter, tangent.fY == 0);
146 REPORTER_ASSERT(reporter, lengt
[all...]
H A DPathOpsDPointTest.cpp23 static void PathOpsDPointTest(skiatest::Reporter* reporter) { argument
28 REPORTER_ASSERT(reporter, p == pt);
29 REPORTER_ASSERT(reporter, !(pt != pt));
32 REPORTER_ASSERT(reporter, p == pt);
34 REPORTER_ASSERT(reporter, p == pt);
35 REPORTER_ASSERT(reporter, p.approximatelyEqual(pt));
38 REPORTER_ASSERT(reporter, p == pt);
39 REPORTER_ASSERT(reporter, p.approximatelyEqual(sPt));
40 REPORTER_ASSERT(reporter, p.roughlyEqual(pt));
41 REPORTER_ASSERT(reporter,
[all...]
H A DPathOpsDQuadTest.cpp37 static void PathOpsDQuadTest(skiatest::Reporter* reporter) { argument
44 REPORTER_ASSERT(reporter, 0);
49 REPORTER_ASSERT(reporter, 0);
H A DPathOpsDTriangleTest.cpp31 static void PathOpsTriangleUtilitiesTest(skiatest::Reporter* reporter) { argument
38 REPORTER_ASSERT(reporter, 0);
43 REPORTER_ASSERT(reporter, 0);
H A DQuickRejectTest.cpp41 static void test_drawBitmap(skiatest::Reporter* reporter) { argument
56 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5));
60 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5));
64 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5));
68 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5));
76 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5));
79 static void test(skiatest::Reporter* reporter) { argument
80 test_drawBitmap(reporter);
H A DRefDictTest.cpp20 static void TestRefDict(skiatest::Reporter* reporter) { argument
24 REPORTER_ASSERT(reporter, NULL == dict.find(NULL));
25 REPORTER_ASSERT(reporter, NULL == dict.find("foo"));
26 REPORTER_ASSERT(reporter, NULL == dict.find("bar"));
29 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
30 REPORTER_ASSERT(reporter, 2 == data0.getRefCnt());
33 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
34 REPORTER_ASSERT(reporter, 2 == data0.getRefCnt());
37 REPORTER_ASSERT(reporter, &data1 == dict.find("foo"));
38 REPORTER_ASSERT(reporter,
[all...]
H A DTestSize.cpp11 static void TestISize(skiatest::Reporter* reporter) { argument
15 REPORTER_ASSERT(reporter, a.isEmpty());
17 REPORTER_ASSERT(reporter, a.isEmpty());
19 REPORTER_ASSERT(reporter, a.isEmpty());
21 REPORTER_ASSERT(reporter, a == b);
24 REPORTER_ASSERT(reporter, !a.isEmpty());
26 REPORTER_ASSERT(reporter, !b.isEmpty());
27 REPORTER_ASSERT(reporter, a == b);
28 REPORTER_ASSERT(reporter, !(a != b));
29 REPORTER_ASSERT(reporter,
33 TestSize(skiatest::Reporter* reporter) argument
[all...]
/external/jdiff/src/jdiff/
H A DOptions.java132 * @param reporter a DocErrorReporter for generating error messages
137 DocErrorReporter reporter) {
138 final DocErrorReporter errOut = reporter;
136 validOptions(String[][] options, DocErrorReporter reporter) argument
/external/mockito/src/org/mockito/internal/verification/
H A DOnly.java21 private final Reporter reporter = new Reporter(); field in class:Only
30 reporter.noMoreInteractionsWanted(unverified, (List) invocations);
32 reporter.wantedButNotInvoked(wantedMatcher);
/external/mockito/src/org/mockito/internal/
H A DInOrderImpl.java28 private final Reporter reporter = new Reporter(); field in class:InOrderImpl
46 reporter.inOrderRequiresFamiliarMock();
/external/mockito/src/org/mockito/internal/verification/checkers/
H A DAtLeastXNumberOfInvocationsChecker.java19 Reporter reporter = new Reporter(); field in class:AtLeastXNumberOfInvocationsChecker
29 reporter.tooLittleActualInvocations(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, lastLocation);
H A DAtLeastXNumberOfInvocationsInOrderChecker.java20 private final Reporter reporter = new Reporter(); field in class:AtLeastXNumberOfInvocationsInOrderChecker
36 reporter.tooLittleActualInvocationsInOrder(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, lastLocation);
H A DMissingInvocationChecker.java19 private final Reporter reporter; field in class:MissingInvocationChecker
26 MissingInvocationChecker(InvocationsFinder finder, Reporter reporter) { argument
28 this.reporter = reporter;
40 reporter.argumentsAreDifferent(smartPrinter.getWanted(), smartPrinter.getActual(), similar.getLocation());
42 reporter.wantedButNotInvoked(wanted, invocations);
H A DMissingInvocationInOrderChecker.java21 private final Reporter reporter; field in class:MissingInvocationInOrderChecker
28 MissingInvocationInOrderChecker(InvocationsFinder finder, Reporter reporter) { argument
30 this.reporter = reporter;
57 reporter.argumentsAreDifferent(smartPrinter.getWanted(), smartPrinter.getActual(), similar.getLocation());
59 reporter.wantedButNotInvoked(wanted);
63 reporter.wantedButNotInvokedInOrder(wanted, previousInOrder);
H A DNonGreedyNumberOfInvocationsInOrderChecker.java22 private final Reporter reporter; field in class:NonGreedyNumberOfInvocationsInOrderChecker
29 NonGreedyNumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter, InvocationMarker marker ) { argument
31 this.reporter = reporter;
41 reporter.tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastLocation );

Completed in 215 milliseconds

12345678