Home
last modified time | relevance | path

Searched defs:toBeThrown (Results 1 – 10 of 10) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/verification/
DVerificationOverTimeImplTest.java43 MockitoAssertionError toBeThrown = new MockitoAssertionError("message"); in should_throw_mockito_assertion_error() local
52 ArgumentsAreDifferent toBeThrown = new ArgumentsAreDifferent("message", "wanted", "actual"); in should_deal_with_junit_assertion_error() local
62 RuntimeException toBeThrown = new RuntimeException(); in should_not_wrap_other_exceptions() local
/external/mockito/src/main/java/org/mockito/stubbing/
DBaseStubber.java31 Stubber doThrow(Throwable... toBeThrown); in doThrow()
47 Stubber doThrow(Class<? extends Throwable> toBeThrown); in doThrow()
66 …Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextToBeThrow… in doThrow()
DOngoingStubbing.java149 …OngoingStubbing<T> thenThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... … in thenThrow()
/external/mockito/src/main/java/org/mockito/internal/stubbing/
DDefaultLenientStubber.java19 public Stubber doThrow(Throwable... toBeThrown) { in doThrow()
24 public Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()
29 …public Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextTo… in doThrow()
DStubberImpl.java73 public Stubber doThrow(Throwable... toBeThrown) { in doThrow()
85 public Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()
101 …public Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextTo… in doThrow()
DBaseStubbing.java67 …public OngoingStubbing<T> thenThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwab… in thenThrow()
/external/mockito/src/main/java/org/mockito/
DBDDMockito.java372 BDDStubber willThrow(Throwable... toBeThrown); in willThrow()
378 BDDStubber willThrow(Class<? extends Throwable> toBeThrown); in willThrow()
385 …BDDStubber willThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextToBe… in willThrow()
440 public BDDStubber willThrow(Throwable... toBeThrown) { in willThrow()
444 public BDDStubber willThrow(Class<? extends Throwable> toBeThrown) { in willThrow()
448 …public BDDStubber willThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... n… in willThrow()
461 public static BDDStubber willThrow(Throwable... toBeThrown) { in willThrow()
469 public static BDDStubber willThrow(Class<? extends Throwable> toBeThrown) { in willThrow()
477 …public static BDDStubber willThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwabl… in willThrow()
DMockito.java2273 public static Stubber doThrow(Throwable... toBeThrown) { in doThrow()
2296 public static Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()
2323 …public static Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>...… in doThrow()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/
DStaticCapableStubber.java156 public StaticCapableStubber doThrow(Throwable... toBeThrown) { in doThrow()
162 public StaticCapableStubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()
169 public final StaticCapableStubber doThrow(Class<? extends Throwable> toBeThrown, in doThrow()
DExtendedMockito.java122 public static StaticCapableStubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()
132 public static StaticCapableStubber doThrow(Class<? extends Throwable> toBeThrown, in doThrow()
142 public static StaticCapableStubber doThrow(Throwable... toBeThrown) { in doThrow()