Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockito/internal/verification/
DVerificationOverTimeImplTest.java39 MockitoAssertionError toBeThrown = new MockitoAssertionError("message"); in should_throw_mockito_assertion_error() local
48 ArgumentsAreDifferent toBeThrown = new ArgumentsAreDifferent("message", "wanted", "actual"); in should_deal_with_junit_assertion_error() local
58 RuntimeException toBeThrown = new RuntimeException(); in should_not_wrap_other_exceptions() local
/external/mockito/src/main/java/org/mockito/internal/stubbing/
DStubberImpl.java63 public Stubber doThrow(Throwable... toBeThrown) { in doThrow()
75 public Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()
80 …public Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>... nextTo… in doThrow()
84 private StubberImpl doThrowClasses(Class<? extends Throwable>... toBeThrown) { in doThrowClasses()
DBaseStubbing.java56 …public OngoingStubbing<T> thenThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwab… in thenThrow()
/external/mockito/src/main/java/org/mockito/stubbing/
DStubber.java86 Stubber doThrow(Throwable... toBeThrown); in doThrow()
102 Stubber doThrow(Class<? extends Throwable> toBeThrown); in doThrow()
121 …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/
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.java2073 public static Stubber doThrow(Throwable... toBeThrown) { in doThrow()
2095 public static Stubber doThrow(Class<? extends Throwable> toBeThrown) { in doThrow()
2121 …public static Stubber doThrow(Class<? extends Throwable> toBeThrown, Class<? extends Throwable>...… in doThrow()