HomeSort by relevance Sort by last modified time
    Searched refs:toThrow (Results 1 - 8 of 8) sorted by null

  /external/mockito/src/org/mockito/stubbing/
DeprecatedOngoingStubbing.java 20 * stub(mock.someMethod("some arg")).toThrow(new RuntimeException());
25 * .toThrow(new RuntimeException())
51 * stub(mock.someMethod()).toThrow(new RuntimeException());
63 DeprecatedOngoingStubbing<T> toThrow(Throwable throwable);
VoidMethodStubbable.java 13 * stubVoid(mock).toThrow(new RuntimeException()).on().someMethod();
18 * .toThrow(new RuntimeException())
31 * stubVoid(mock).toThrow(new RuntimeException()).on().someMethod();
43 VoidMethodStubbable<T> toThrow(Throwable throwable);
54 * .toThrow(new RuntimeException())
96 * stubVoid(mock).toThrow(new RuntimeException()).on().someMethod("some arg");
  /external/smack/src/com/kenai/jbosh/
ApacheHTTPResponse.java 91 private BOSHException toThrow;
156 toThrow = new BOSHException("Could not generate request", e);
169 toThrow = new BOSHException("HTTP request aborted");
181 if (toThrow != null) {
182 throw(toThrow);
203 if (toThrow != null) {
204 throw(toThrow);
246 toThrow = new BOSHException("Could not obtain response", iox);
247 throw(toThrow);
  /external/mockito/src/org/mockito/internal/stubbing/
VoidMethodStubbableImpl.java 21 public VoidMethodStubbable<T> toThrow(Throwable throwable) {
BaseStubbing.java 76 public DeprecatedOngoingStubbing<T> toThrow(Throwable throwable) {
  /external/dexmaker/src/main/java/com/google/dexmaker/
Code.java 385 * Throws the throwable in {@code toThrow}.
387 public void throwValue(Local<? extends Throwable> toThrow) {
389 RegisterSpecList.make(toThrow.spec()), catches));
    [all...]
  /external/robolectric/lib/test/
mockito-core-1.8.5.jar 
  /external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar 

Completed in 1899 milliseconds