/libcore/luni/src/main/java/libcore/io/ |
EventLogger.java | 24 private static volatile Reporter REPORTER = new DefaultReporter(); 27 * Used to replace default Reporter for logging events. Must be non-null. 29 public static void setReporter(Reporter reporter) { 30 if (reporter == null) { 31 throw new NullPointerException("reporter == null"); 33 REPORTER = reporter; 37 * Returns non-null Reporter [all...] |
DropBox.java | 24 private static volatile Reporter REPORTER = new DefaultReporter(); 27 * Used to replace default Reporter for logging events. Must be non-null. 29 public static void setReporter(Reporter reporter) { 30 if (reporter == null) { 31 throw new NullPointerException("reporter == null"); 33 REPORTER = reporter; 37 * Returns non-null Reporter [all...] |
/external/skia/tests/ |
PathOpsExtendedTest.h | 21 void (*fun)(skiatest::Reporter*); 29 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 31 extern bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b, 35 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path); 37 int initializeTests(skiatest::Reporter* reporter, const char* testName); 41 void RunTestSet(skiatest::Reporter* reporter, TestDesc tests[], size_t count [all...] |
Test.cpp | 22 SK_DEFINE_INST_COUNT(skiatest::Reporter) 26 Reporter::Reporter() : fTestCount(0) { 29 void Reporter::startTest(Test* test) { 34 void Reporter::reportFailed(const SkString& desc) { 38 void Reporter::endTest(Test* test) { 50 void Test::setReporter(Reporter* r) { 62 class LocalReporter : public Reporter { 64 explicit LocalReporter(Reporter* reporterToMimic) : fReporter(reporterToMimic) {} 92 Reporter* fReporter; // Unowned [all...] |
Test.h | 23 class Reporter : public SkRefCnt { 25 SK_DECLARE_INST_COUNT(Reporter) 26 Reporter(); 55 Reporter* getReporter() const { return fReporter; } 56 void setReporter(Reporter*); 71 virtual void onRun(Reporter*) = 0; 74 Reporter* fReporter;
|
PathOpsSimplifyTest.cpp | 11 static void testLine1(skiatest::Reporter* reporter) { 17 testSimplify(reporter, path); 20 static void testLine1x(skiatest::Reporter* reporter) { 27 testSimplify(reporter, path); 58 static void testLine2(skiatest::Reporter* reporter) { 63 testSimplify(reporter, path); 66 static void testLine2x(skiatest::Reporter* reporter) [all...] |
PathOpsThreadedCommon.h | 18 class Reporter; 29 skiatest::Reporter* fReporter; 35 PathOpsThreadedTestRunner(skiatest::Reporter* reporter, int threadCount) 37 , fReporter(reporter) { 47 skiatest::Reporter* fReporter;
|
FrontBufferedStreamTest.cpp | 13 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, 19 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd()); 20 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0); 23 static void test_rewind(skiatest::Reporter* reporter, 26 REPORTER_ASSERT(reporter, success == shouldSucceed); 36 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { 42 test_read(reporter, bufferedStream, gAbcs, bufferSize >> 1) [all...] |
PointTest.cpp | 14 static void test_casts(skiatest::Reporter* reporter) { 21 REPORTER_ASSERT(reporter, p.asScalars() == pPtr); 22 REPORTER_ASSERT(reporter, r.asScalars() == rPtr); 26 static void test_Normalize(skiatest::Reporter* reporter, 33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength)); 34 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(newLength, SK_Scalar1)); 39 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y [all...] |
GrContextFactoryTest.cpp | 14 static void test_context_factory(skiatest::Reporter* reporter, 20 REPORTER_ASSERT(reporter, 25 REPORTER_ASSERT(reporter, 30 REPORTER_ASSERT(reporter,
|
/libcore/dalvik/src/main/java/dalvik/system/ |
CloseGuard.java | 122 private static volatile Reporter REPORTER = new DefaultReporter(); 146 * Used to replace default Reporter used to warn of CloseGuard 149 public static void setReporter(Reporter reporter) { 150 if (reporter == null) { 151 throw new NullPointerException("reporter == null"); 153 REPORTER = reporter; 157 * Returns non-null CloseGuard.Reporter [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_reader.h | 23 class Reporter { 25 virtual ~Reporter(); 35 // If "reporter" is non-NULL, it is notified whenever some data is 36 // dropped due to a detected corruption. "*reporter" must remain 43 Reader(SequentialFile* file, Reporter* reporter, bool checksum, 62 Reporter* const reporter_; 95 // Reports dropped bytes to the reporter.
|
/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/checkers/ |
AtLeastXNumberOfInvocationsChecker.java | 10 import org.mockito.exceptions.Reporter; 19 Reporter reporter = new Reporter(); field in class:AtLeastXNumberOfInvocationsChecker 29 reporter.tooLittleActualInvocations(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, lastLocation);
|
MissingInvocationChecker.java | 10 import org.mockito.exceptions.Reporter; 19 private final Reporter reporter; field in class:MissingInvocationChecker 23 this(new InvocationsFinder(), new Reporter()); 26 MissingInvocationChecker(InvocationsFinder finder, Reporter reporter) { 28 this.reporter = reporter; 40 reporter.argumentsAreDifferent(smartPrinter.getWanted(), smartPrinter.getActual(), similar.getLocation()); 42 reporter.wantedButNotInvoked(wanted, invocations) [all...] |
NonGreedyNumberOfInvocationsInOrderChecker.java | 8 import org.mockito.exceptions.Reporter; 22 private final Reporter reporter; field in class:NonGreedyNumberOfInvocationsInOrderChecker 26 this(new InvocationsFinder(), new Reporter(), new InvocationMarker()); 29 NonGreedyNumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter, InvocationMarker marker ) { 31 this.reporter = reporter; 41 reporter.tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastLocation );
|
NumberOfInvocationsChecker.java | 10 import org.mockito.exceptions.Reporter; 20 private final Reporter reporter; field in class:NumberOfInvocationsChecker 25 this(new Reporter(), new InvocationsFinder()); 28 NumberOfInvocationsChecker(Reporter reporter, InvocationsFinder finder) { 29 this.reporter = reporter; 39 reporter.tooLittleActualInvocations(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation); 42 reporter.neverWantedButInvoked(wanted, firstUndesired); [all...] |
NumberOfInvocationsInOrderChecker.java | 10 import org.mockito.exceptions.Reporter; 21 private final Reporter reporter; field in class:NumberOfInvocationsInOrderChecker 26 this(new InvocationsFinder(), new Reporter()); 29 NumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter) { 31 this.reporter = reporter; 41 reporter.tooLittleActualInvocationsInOrder(new Discrepancy(wantedCount, actualCount), wanted, lastInvocation); 44 reporter.tooManyActualInvocationsInOrder(wantedCount, actualCount, wanted, firstUndesired) [all...] |
MissingInvocationInOrderChecker.java | 10 import org.mockito.exceptions.Reporter; 21 private final Reporter reporter; field in class:MissingInvocationInOrderChecker 25 this(new InvocationsFinder(), new Reporter()); 28 MissingInvocationInOrderChecker(InvocationsFinder finder, Reporter reporter) { 30 this.reporter = reporter; 57 reporter.argumentsAreDifferent(smartPrinter.getWanted(), smartPrinter.getActual(), similar.getLocation()); 59 reporter.wantedButNotInvoked(wanted) [all...] |
/external/objenesis/tck/src/org/objenesis/tck/ |
Reporter.java | 34 public interface Reporter {
|
/external/mockito/src/org/mockito/internal/configuration/injection/filter/ |
FinalMockCandidateFilter.java | 7 import org.mockito.exceptions.Reporter;
34 new Reporter().cannotInjectDependency(field, matchingMock, e);
|
/external/mockito/src/org/mockito/internal/invocation/ |
MatchersBinder.java | 9 import org.mockito.exceptions.Reporter; 35 new Reporter().invalidUseOfMatchers(expectedMatchersSize, lastMatchers);
|
/external/mockito/src/org/mockito/internal/matchers/ |
CapturingMatcher.java | 13 import org.mockito.exceptions.Reporter;
37 new Reporter().noArgumentValueWasCaptured();
|
/external/mockito/src/org/mockito/internal/verification/ |
VerificationDataImpl.java | 9 import org.mockito.exceptions.Reporter;
41 new Reporter().cannotVerifyToString();
|
/external/mockito/src/org/mockito/internal/stubbing/answers/ |
AnswersValidator.java | 7 import org.mockito.exceptions.Reporter;
13 private Reporter reporter = new Reporter();
field in class:AnswersValidator 44 new Reporter().wrongTypeOfArgumentToReturn(invocation, methodInfo.printMethodReturnType(),
53 reporter.cannotCallRealMethodOnInterface();
59 reporter.onlyVoidMethodsCanBeSetToDoNothing();
65 reporter.cannotStubVoidMethodWithAReturnValue(methodInfo.getMethodName());
69 reporter.wrongTypeOfReturnValue(methodInfo.printMethodReturnType(), "null", methodInfo.getMethodName());
73 reporter.wrongTypeOfReturnValue(methodInfo.printMethodReturnType(), answer.printReturnType(), methodInfo.ge (…) [all...] |