/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 | 66 FeedbackReporterAndroid* reporter = new FeedbackReporterAndroid(env, obj); local 67 return reinterpret_cast<intptr_t>(reporter);
|
/external/stlport/test/unit/cppunit/ |
test_main.cpp | 30 Reporter *TestCase::m_reporter = 0; 37 int TestCase::run(Reporter *in_reporter, const char *in_testName, bool invert) { 107 CPPUNIT_NS::Reporter* reporter; local 109 reporter = new FileReporter(fileName, doMonitoring); 111 reporter = new FileReporter(stdout, doMonitoring); 115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true); 117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName); 120 reporter->printSummary(); 121 delete reporter; [all...] |
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
test_main.cpp | 30 Reporter *TestCase::m_reporter = 0; 37 int TestCase::run(Reporter *in_reporter, const char *in_testName, bool invert) { 107 CPPUNIT_NS::Reporter* reporter; local 109 reporter = new FileReporter(fileName, doMonitoring); 111 reporter = new FileReporter(stdout, doMonitoring); 115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true); 117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName); 120 reporter->printSummary(); 121 delete reporter; [all...] |
/ndk/tests/device/test-stlport/unit/cppunit/ |
test_main.cpp | 30 Reporter *TestCase::m_reporter = 0; 37 int TestCase::run(Reporter *in_reporter, const char *in_testName, bool invert) { 107 CPPUNIT_NS::Reporter* reporter; local 109 reporter = new FileReporter(fileName, doMonitoring); 111 reporter = new FileReporter(stdout, doMonitoring); 115 num_errors = CPPUNIT_NS::TestCase::run(reporter, xtestName, true); 117 num_errors = CPPUNIT_NS::TestCase::run(reporter, testName); 120 reporter->printSummary(); 121 delete reporter; [all...] |
/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/chromium_org/third_party/skia/dm/ |
DM.cpp | 99 DM::Reporter* reporter, 103 tasks->add(SkNEW_ARGS(DM::type, (name, reporter, tasks, gms[i], ## __VA_ARGS__))); \ 126 DM::Reporter* reporter, 130 tasks->add(SkNEW_ARGS(DM::type, (name, reporter, tasks, benches[i], ## __VA_ARGS__))); \ 152 DM::Reporter* reporter, 157 tasks->add(SkNEW_ARGS(DM::GpuTestTask, (reporter, tasks, tests[i]))); 159 tasks->add(SkNEW_ARGS(DM::CpuTestTask, (reporter, tasks, tests[i]))) 262 DM::Reporter reporter; local [all...] |
/external/skia/dm/ |
DM.cpp | 99 DM::Reporter* reporter, 103 tasks->add(SkNEW_ARGS(DM::type, (name, reporter, tasks, gms[i], ## __VA_ARGS__))); \ 126 DM::Reporter* reporter, 130 tasks->add(SkNEW_ARGS(DM::type, (name, reporter, tasks, benches[i], ## __VA_ARGS__))); \ 152 DM::Reporter* reporter, 157 tasks->add(SkNEW_ARGS(DM::GpuTestTask, (reporter, tasks, tests[i]))); 159 tasks->add(SkNEW_ARGS(DM::CpuTestTask, (reporter, tasks, tests[i]))) 262 DM::Reporter reporter; 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/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...] |