Home
last modified time | relevance | path

Searched refs:MyException (Results 1 – 8 of 8) sorted by relevance

/external/v8/test/mjsunit/
Dvalue-of.js28 function MyException() { } class
31 o.valueOf = function() { throw new MyException(); }
33 assertThrows(function() { o + 1 }, MyException);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DAbstractSequentialIteratorTest.java82 } catch (MyException expected) { in testBroken()
87 } catch (MyException expected) { in testBroken()
113 throw new MyException();
118 private static class MyException extends RuntimeException {}
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractSequentialIteratorTest.java95 } catch (MyException expected) { in testBroken()
100 } catch (MyException expected) { in testBroken()
126 throw new MyException();
131 private static class MyException extends RuntimeException {}
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCallablesTest.java60 class MyException extends Exception {} in testRenaming_exceptionalReturn() class
64 throw new MyException(); in testRenaming_exceptionalReturn()
70 } catch (MyException expected) {} in testRenaming_exceptionalReturn()
DFuturesTest.java158 private static class MyException extends Exception {} class in FuturesTest
161 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture( in testImmediateCheckedFuture()
170 CheckedFuture<String, MyException> future1 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures()
172 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures()
183 MyException exception = new MyException(); in testImmediateFailedCheckedFuture()
184 CheckedFuture<String, MyException> future = in testImmediateFailedCheckedFuture()
198 } catch (MyException expected) { in testImmediateFailedCheckedFuture()
1008 Futures.allAsList(immediateFailedFuture(new MyException())).get();
1011 assertTrue(e.getCause() instanceof MyException);
1039 Futures.allAsList(immediateFailedFuture(new MyException()),
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-more-actions_test.cc602 class MyException {}; class
605 const Action<double(char ch)> a = Throw(MyException()); in TEST()
606 EXPECT_THROW(a.Perform(make_tuple('0')), MyException); in TEST()
610 const Action<double()> a = Throw(MyException()); in TEST()
611 EXPECT_THROW(a.Perform(make_tuple()), MyException); in TEST()
/external/lldb/test/unittest2/test/
Dtest_case.py14 class MyException(Exception): class
204 def runTest(self): raise MyException()
215 def runTest(self): raise MyException()
226 def runTest(self): raise MyException()
/external/lzma/CPP/7zip/Bundles/Alone7z/
DAlone.dsp300 SOURCE=..\..\..\Common\MyException.h