OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:thenThrow
(Results
1 - 3
of
3
) sorted by null
/external/mockito/src/org/mockito/stubbing/
OngoingStubbing.java
20
* when(mock.someMethod("some arg")).
thenThrow
(new RuntimeException());
25
* .
thenThrow
(new RuntimeException())
30
* when(mock.otherMethod()).
thenThrow
(exc1, exc2);
71
* when(mock.someMethod()).
thenThrow
(new RuntimeException());
88
OngoingStubbing<T>
thenThrow
(Throwable... throwables);
93
* when(mock.someMethod()).
thenThrow
(RuntimeException.class);
114
OngoingStubbing<T>
thenThrow
(Class<? extends Throwable>... throwableClasses);
192
* Car boringStubbedCar = when(mock(Car.class).shiftGear()).
thenThrow
(EngineNotStarted.class).getMock();
/external/mockito/src/org/mockito/internal/stubbing/
BaseStubbing.java
30
private OngoingStubbing<T>
thenThrow
(Throwable throwable) {
34
public OngoingStubbing<T>
thenThrow
(Throwable... throwables) {
36
thenThrow
((Throwable) null);
41
stubbing =
thenThrow
(t);
43
stubbing = stubbing.
thenThrow
(t);
49
private OngoingStubbing<T>
thenThrow
(Class<? extends Throwable> throwableClass) {
53
public OngoingStubbing<T>
thenThrow
(Class<? extends Throwable>... throwableClasses) {
55
thenThrow
((Throwable) null);
60
stubbing =
thenThrow
(t);
62
stubbing = stubbing.
thenThrow
(t);
[
all
...]
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
Completed in 342 milliseconds