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/chromium_org/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-tests/test/com/google/common/collect/
DAbstractLinkedIteratorTest.java95 } catch (MyException expected) { in testBroken()
100 } catch (MyException expected) { in testBroken()
126 throw new MyException();
131 private static class MyException extends RuntimeException {}
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DSerializationStressTest1.java270 private static class MyException extends java.io.IOException { class in SerializationStressTest1.MyExceptionWhenDumping1
292 throw new MyException(); in writeObject()
300 private static class MyException extends java.io.IOException { class in SerializationStressTest1.MyExceptionWhenDumping2
316 throw new MyException(); in writeObject()
337 private static class MyException extends java.io.IOException { class in SerializationStressTest1.MyUnserializableExceptionWhenDumping
354 throw new MyException(); in writeObject()
1293 } catch (MyExceptionWhenDumping1.MyException e) { in test_18_31_writeObject()
1339 } catch (MyExceptionWhenDumping2.MyException e) { in test_18_32_writeObject()
DObjectOutputStreamTest.java305 private static class MyException extends java.io.IOException { class in ObjectOutputStreamTest.MyExceptionWhenDumping
321 throw new MyException(); in writeObject()
336 private static class MyException extends java.io.IOException { class in ObjectOutputStreamTest.MyUnserializableExceptionWhenDumping
353 throw new MyException(); in writeObject()
/external/chromium/testing/gmock/test/
Dgmock-more-actions_test.cc601 class MyException {}; class
604 const Action<double(char ch)> a = Throw(MyException()); in TEST()
605 EXPECT_THROW(a.Perform(make_tuple('0')), MyException); in TEST()
609 const Action<double()> a = Throw(MyException()); in TEST()
610 EXPECT_THROW(a.Perform(make_tuple()), MyException); in TEST()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFuturesTest.java125 private static class MyException extends Exception {} class in FuturesTest
128 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture( in testImmediateCheckedFuture()
137 CheckedFuture<String, MyException> future1 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures()
139 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures()
150 MyException exception = new MyException(); in testImmediateFailedCheckedFuture()
151 CheckedFuture<String, MyException> future = in testImmediateFailedCheckedFuture()
165 } catch (MyException expected) { in testImmediateFailedCheckedFuture()
/external/lzma/CPP/7zip/Bundles/Alone7z/
DAlone.dsp300 SOURCE=..\..\..\Common\MyException.h