Searched refs:toThrow (Results 1 - 10 of 10) sorted by relevance

/external/mockito/src/org/mockito/stubbing/
H A DDeprecatedOngoingStubbing.java20 * 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); method in interface:DeprecatedOngoingStubbing
H A DVoidMethodStubbable.java13 * 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); method in interface:VoidMethodStubbable
54 * .toThrow(new RuntimeException())
96 * stubVoid(mock).toThrow(new RuntimeException()).on().someMethod("some arg");
/external/smack/src/com/kenai/jbosh/
H A DApacheHTTPResponse.java91 private BOSHException toThrow; field in class:ApacheHTTPResponse
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/
H A DVoidMethodStubbableImpl.java21 public VoidMethodStubbable<T> toThrow(Throwable throwable) { method in class:VoidMethodStubbableImpl
H A DBaseStubbing.java76 public DeprecatedOngoingStubbing<T> toThrow(Throwable throwable) { method in class:BaseStubbing
/external/chromium_org/gin/test/
H A Dexpect.js244 predicates.toThrow = function(actual) {
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/
H A DCoreImplTest.java51 MojoException toThrow = null;
56 if (toThrow == null) {
57 toThrow = e;
61 if (toThrow != null) {
62 throw toThrow;
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DCode.java385 * Throws the throwable in {@code toThrow}.
387 public void throwValue(Local<? extends Throwable> toThrow) { argument
389 RegisterSpecList.make(toThrow.spec()), catches));
/external/robolectric/lib/test/
H A Dmockito-core-1.8.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/dexmaker/lib/
H A Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...

Completed in 362 milliseconds