Searched refs:MyException (Results 1 - 8 of 8) sorted by relevance
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | AbstractSequentialIteratorTest.java | 82 } catch (MyException expected) { 87 } catch (MyException expected) { 113 throw new MyException(); 118 private static class MyException extends RuntimeException {} class in class:AbstractSequentialIteratorTest
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/ |
H A D | InvocationContainerImplStubbingTest.java | 71 invocationContainerImpl.addAnswer(new ThrowsException(new MyException())); 78 } catch (MyException e) {} 88 invocationContainerImplStubOnly.addAnswer(new ThrowsException(new MyException())); 95 } catch (MyException e) {} 100 invocationContainerImpl.addAnswerForVoidMethod(new ThrowsException(new MyException())); 106 } catch (MyException e) {} 128 class MyException extends RuntimeException {} class in class:InvocationContainerImplStubbingTest
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | AbstractSequentialIteratorTest.java | 95 } catch (MyException expected) { 100 } catch (MyException expected) { 126 throw new MyException(); 131 private static class MyException extends RuntimeException {} class in class:AbstractSequentialIteratorTest
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
H A D | CallablesTest.java | 60 class MyException extends Exception {} 64 throw new MyException(); 70 } catch (MyException expected) {}
|
H A D | FuturesTest.java | 160 private static class MyException extends Exception {} class in class:FuturesTest 163 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture( 172 CheckedFuture<String, MyException> future1 = Futures.immediateCheckedFuture( 174 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture( 185 MyException exception = new MyException(); 186 CheckedFuture<String, MyException> future = 199 fail("This call was supposed to throw an MyException"); 200 } catch (MyException expected) { 1026 Futures.allAsList(immediateFailedFuture(new MyException())) [all...] |
/external/google-breakpad/src/testing/test/ |
H A D | gmock-more-actions_test.cc | 602 class MyException {}; class in namespace:testing::gmock_more_actions_test 605 const Action<double(char ch)> a = Throw(MyException()); 606 EXPECT_THROW(a.Perform(make_tuple('0')), MyException); 610 const Action<double()> a = Throw(MyException()); 611 EXPECT_THROW(a.Perform(make_tuple()), MyException);
|
/external/googletest/googlemock/test/ |
H A D | gmock-more-actions_test.cc | 605 class MyException {}; class in namespace:testing::gmock_more_actions_test 608 const Action<double(char ch)> a = Throw(MyException()); 609 EXPECT_THROW(a.Perform(make_tuple('0')), MyException); 613 const Action<double()> a = Throw(MyException()); 614 EXPECT_THROW(a.Perform(make_tuple()), MyException);
|
/external/v8/testing/gmock/test/ |
H A D | gmock-more-actions_test.cc | 602 class MyException {}; class in namespace:testing::gmock_more_actions_test 605 const Action<double(char ch)> a = Throw(MyException()); 606 EXPECT_THROW(a.Perform(make_tuple('0')), MyException); 610 const Action<double()> a = Throw(MyException()); 611 EXPECT_THROW(a.Perform(make_tuple()), MyException);
|
Completed in 1929 milliseconds