HomeSort by relevance Sort by last modified time
    Searched full:stubbed (Results 1 - 25 of 67) sorted by null

1 2 3

  /external/mockito/src/org/mockito/internal/stubbing/answers/
package.html 7 Answers for stubbed calls
  /external/mockito/src/org/mockito/invocation/
StubInfo.java 16 * @return the location where the invocation was stubbed.
MockHandler.java 24 * method calls on mocks for further verification, captures the stubbing information when mock is stubbed,
25 * returns the stubbed values for invocations that have been stubbed, and much more.
Invocation.java 55 * the invocation was not stubbed.
60 * Marks this invocation as stubbed.
  /external/mockito/src/org/mockito/internal/stubbing/
InvocationContainerImpl.java 27 private final LinkedList<StubbedInvocationMatcher> stubbed = new LinkedList<StubbedInvocationMatcher>(); field in class:InvocationContainerImpl
63 synchronized (stubbed) {
65 stubbed.getFirst().addAnswer(answer);
67 stubbed.addFirst(new StubbedInvocationMatcher(invocationForStubbing, answer));
77 synchronized (stubbed) {
78 for (StubbedInvocationMatcher s : stubbed) {
125 return stubbed;
StubbedInvocationMatcher.java 51 return super.toString() + " stubbed with: " + answers;
  /external/mockito/src/org/mockito/internal/debugging/
LoggingListener.java 26 "stubbed with those args here " + unused.getLocation(),
38 "This method was not stubbed ",
MockitoDebuggerImpl.java 31 out += line(" stubbed: " + i.stubInfo().stubbedAt().toString());
45 out += line(" stubbed: " + i.getLocation());
VerboseMockInvocationLogger.java 54 printlnIndented("stubbed: " + methodInvocationReport.getLocationOfStubbing());
  /external/mockito/src/org/mockito/stubbing/
DeprecatedOngoingStubbing.java 35 * Set a return value for the stubbed method. E.g:
49 * Set a Throwable to be thrown when the stubbed method is called. E.g:
66 * Set a generic Answer for the stubbed method. E.g:
Stubber.java 83 * @param toBeThrown to be thrown when the stubbed method is called
97 * @param toBeThrown exception class to be thrown when the stubbed method is called
111 * @param answer to answer when the stubbed method is called
134 * @param toBeReturned to be returned when the stubbed method is called
  /ndk/tests/device/issue20176-__gnu_Unwind_Find_exidx/jni/
issue20176-__gnu_Unwind_Find_exidx.cpp 5 /* Stubbed out in libdl and defined in the dynamic linker.
  /external/mockito/src/org/mockito/runners/
ConsoleSpammingMockitoJUnitRunner.java 37 * Sometimes when the test fails, the underlying reason is that stubbed method was called with wrong arguments.
38 * Sometimes it fails because one forgets to stub a method or forgets to call a stubbed method.
49 * Let's say the underlying reason is a stubbed method that was called with different arguments:
65 * [Mockito] Warning - stubbed method called with different arguments.
66 * Stubbed this way:
83 * <li>stubbed method but called with different arguments</li>
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
TransformClassAdapter.java 31 /** True if all methods should be stubbed, false if only native ones must be stubbed. */
46 * @param stubNativesOnly True if only native methods should be stubbed. False if all
47 * methods should be stubbed.
111 // stub this method if they are all to be stubbed or if it is a native method
MethodListener.java 24 * have been stubbed by the {@link AsmGenerator}. At runtime the stub will call either a
  /development/tools/mkstubs/src/com/android/mkstubs/
SourceGenerator.java 49 * Generate source for the stubbed classes, mostly for debug purposes.
89 * Generate a source equivalent to the stubbed version of the class reader,
  /build/tools/droiddoc/test/stubs/
run.sh 33 echo TWICE STUBBED
  /external/mockito/src/org/mockito/internal/util/collections/
HashCodeAndEqualsMockWrapper.java 14 * throw an NPE if those method cannot be stubbed <em>even internally</em>.
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2ForTesting.java 16 * in race conditions. Thus updateTimezoneDependentFields is stubbed out.
  /external/mockito/src/org/mockito/internal/handler/
MockHandlerImpl.java 98 // to other self method and overwrite the intended stubbed method
99 // with a different one. The reset is required to avoid runtime exception that validates return type with stubbed method signature.
  /frameworks/base/test-runner/tests/
AndroidManifest.xml 23 android:label="Stubbed Test Browser">
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
ActionService.java 24 * Class providing interface for the ActionService - can be stubbed for testing
  /external/mockito/src/org/mockito/
Mockito.java 110 * //following prints "null" because get(999) was not stubbed
113 * //Although it is possible to verify a stubbed invocation, usually <b>it's just redundant</b>
115 * //If your code doesn't care what get(0) returns then it should not be stubbed. Not convinced? See <a href="http://monkeyisland.pl/2008/04/26/asking-and-telling">here</a>.
128 * <li> Once stubbed, the method will always return stubbed value regardless
131 * <li> Last stubbing is more important - when you stubbed the same method with
192 * The consequence is that you cannot use <code>anyObject()</code>, <code>eq()</code> methods outside of verified/stubbed method.
489 * (unless a method was stubbed).
517 * //size() method was stubbed - 100 is printed
592 * Also it may reduce defect localization because if stubbed method was not called then no argument is captured.
    [all...]
  /external/mockito/src/org/mockito/exceptions/
Reporter.java 98 " Those methods *cannot* be stubbed/verified.",
115 "Those methods *cannot* be stubbed/verified.",
450 "'" + methodName + "' is a *void method* and it *cannot* be stubbed with a *return value*!",
451 "Voids are usually stubbed with Throwables:",
458 "3. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies - ",
485 "2. A spy is stubbed using when(spy.foo()).then() syntax. It is safer to stub spies - ",
507 "Following methods *cannot* be stubbed/verified: final/private/equals()/hashCode().",
516 "because this method call was *not* stubbed correctly:",
527 "...or you used capture() in stubbing but stubbed method was not called.",
    [all...]
  /external/v8/test/mjsunit/regress/
regress-seqstrsetchar-ex1.js 30 // stubbed version of ToNumber

Completed in 730 milliseconds

1 2 3