HomeSort by relevance Sort by last modified time
    Searched defs:reporter (Results 1 - 25 of 36) sorted by null

1 2

  /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/verification/checkers/
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...]
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...]
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);
AtLeastXNumberOfInvocationsInOrderChecker.java 10 import org.mockito.exceptions.Reporter;
20 private final Reporter reporter = new Reporter(); field in class:AtLeastXNumberOfInvocationsInOrderChecker
36 reporter.tooLittleActualInvocationsInOrder(new AtLeastDiscrepancy(wantedCount, actualCount), wanted, lastLocation);
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 );
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...]
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/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...]
  /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/mockito/src/org/mockito/internal/
MockitoCore.java 10 import org.mockito.exceptions.Reporter;
39 private final Reporter reporter = new Reporter(); field in class:MockitoCore
64 reporter.missingMethodInvocation();
81 reporter.nullPassedToVerify();
83 reporter.notAMockPassedToVerify(mock.getClass());
105 reporter.nullPassedToVerifyNoMoreInteractions();
111 reporter.notAMockPassedToVerifyNoMoreInteractions();
125 reporter.mocksHaveToBePassedToVerifyNoMoreInteractions();
    [all...]
InOrderImpl.java 12 import org.mockito.exceptions.Reporter;
28 private final Reporter reporter = new Reporter(); field in class:InOrderImpl
46 reporter.inOrderRequiresFamiliarMock();
  /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...]
Main.java 67 TextReporter reporter = new TextReporter(System.out, System.err); local
69 runTest(new ObjenesisStd(), reporter, "Objenesis std", "candidates/candidates.properties");
70 runTest(new ObjenesisSerializer(), reporter, "Objenesis serializer",
75 reporter.printResult(result);
91 private static void runTest(Objenesis objenesis, Reporter reporter, String description,
101 tck.runTests(reporter);
  /external/chromium_org/chrome/browser/android/dom_distiller/
feedback_reporter_android.cc 64 FeedbackReporterAndroid* reporter = new FeedbackReporterAndroid(env, obj); local
65 return reinterpret_cast<intptr_t>(reporter);
  /external/chromium_org/content/renderer/media/crypto/
key_systems_support_uma.cc 54 class KeySystemsSupportUMA::Reporter {
56 explicit Reporter(const std::string& key_system);
57 ~Reporter();
70 KeySystemsSupportUMA::Reporter::Reporter(const std::string& key_system)
77 KeySystemsSupportUMA::Reporter::~Reporter() {}
79 void KeySystemsSupportUMA::Reporter::Report(bool has_type, bool is_supported) {
98 reporters_.set(key_system, scoped_ptr<Reporter>(new Reporter(key_system)))
103 Reporter* reporter = GetReporter(key_system); local
111 Reporter* reporter = GetReporter(key_system); local
119 Reporters::iterator reporter = reporters_.find(key_system); local
    [all...]
  /external/jdiff/src/jdiff/
JDiff.java 118 HTMLReportGenerator reporter = new HTMLReportGenerator(); local
119 reporter.generate(comp, existingComments);
123 Comments newComments = reporter.getNewComments();
161 * @param reporter a DocErrorReporter for generating error messages
166 DocErrorReporter reporter) {
167 return Options.validOptions(options, reporter);
  /external/chromium_org/third_party/skia/dm/
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...]
  /external/chromium_org/third_party/skia/forth/
ForthTests.cpp 11 class Reporter {
15 Reporter() : fFailureCount(0) {}
20 typedef void (*ForthWordTestProc)(ForthWord*, ForthEngine*, Reporter*);
22 #define FORTH_ASSERT(reporter, expression) \
25 reporter->reportFailure(#expression, __FILE__, __LINE__); \
29 static void drop_test0(ForthWord* word, ForthEngine* fe, Reporter* reporter) {
32 FORTH_ASSERT(reporter, 0 == fe->depth());
35 static void drop_test1(ForthWord* word, ForthEngine* fe, Reporter* reporter) {
384 Reporter reporter; local
    [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/objenesis/tck/test/org/objenesis/tck/
TCKTest.java 64 Reporter reporter = new RecordingReporter(); local
65 tck.runTests(reporter);
67 // Expect... the reporter to have received a sequence of calls
75 + "result(false)\n" + "endTest()\n" + "endTests()\n", reporter.toString());
90 Reporter reporter = new RecordingReporter(); local
91 tck.runTests(reporter);
93 // Expect... the reporter to be notified that A succeeded
99 "endTest()\n" + "endTests()\n", reporter.toString())
    [all...]
  /external/chromium_org/third_party/leveldatabase/src/db/
leveldb_main.cc 36 class CorruptionReporter : public log::Reader::Reporter {
54 CorruptionReporter reporter; local
55 log::Reader reader(file, &reporter, true, 0);
repair.cc 163 struct LogReporter : public log::Reader::Reporter {
185 LogReporter reporter; local
186 reporter.env = env_;
187 reporter.info_log = options_.info_log;
188 reporter.lognum = log;
193 log::Reader reader(lfile, &reporter, false/*do not checksum*/,
205 reporter.Corruption(
  /external/chromium_org/third_party/skia/tests/
ImageFilterTest.cpp 46 MatrixTestImageFilter(skiatest::Reporter* reporter, const SkMatrix& expectedMatrix)
47 : SkImageFilter(0, NULL), fReporter(reporter), fExpectedMatrix(expectedMatrix) {
61 fReporter = static_cast<skiatest::Reporter*>(buffer.readFunctionPtr());
73 skiatest::Reporter* fReporter;
83 skiatest::Reporter* reporter = (skiatest::Reporter*)buffer.readFunctionPtr(); local
86 return SkNEW_ARGS(MatrixTestImageFilter, (reporter, matrix));
143 DEF_TEST(ImageFilter, reporter) {
    [all...]
  /external/chromium_org/net/url_request/
url_request_http_job.cc 806 FraudulentCertificateReporter* reporter = local
808 if (reporter != NULL) {
812 reporter->SendReport(host, ssl_info);
    [all...]

Completed in 538 milliseconds

1 2