/external/catch2/examples/ |
D | 207-Rpt-TeamCityReporter.cpp | 77 struct MyException: public std::runtime_error struct 79 MyException( char const * text ) in MyException() function 82 ~MyException() override; 86 MyException::~MyException() = default; 114 CHECK_THROWS_MATCHES( throw MyException("hello"), MyException, MyExceptionMatcher("world") );
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/ |
D | InvocationContainerImplStubbingTest.java | 70 invocationContainerImpl.addAnswer(new ThrowsException(new MyException()), null); in should_get_results_for_methods() 77 } catch (MyException e) {} in should_get_results_for_methods() 87 invocationContainerImplStubOnly.addAnswer(new ThrowsException(new MyException()), null); in should_get_results_for_methods_stub_only() 94 } catch (MyException e) {} in should_get_results_for_methods_stub_only() 106 class MyException extends RuntimeException {} class in InvocationContainerImplStubbingTest
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | AbstractSequentialIteratorTest.java | 82 } 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/ |
D | AbstractSequentialIteratorTest.java | 95 } catch (MyException expected) { in testBroken() 100 } catch (MyException expected) { in testBroken() 126 throw new MyException(); 131 private static class MyException extends RuntimeException {}
|
/external/python/cpython3/Lib/test/ |
D | test_exceptions.py | 437 class MyException(Exception): class 440 e = MyException().with_traceback(tb) 441 self.assertIsInstance(e, MyException) 478 class MyException(OSError): class 481 e = MyException() 549 class MyException(Exception): class 558 raise MyException(obj) 565 except MyException as e: 576 except MyException: 631 except MyException: [all …]
|
D | test_raise.py | 123 class MyException(Exception): class 128 raise MyException 136 class MyException(Exception): class 141 raise MyException 198 class MyException(Exception): class 203 raise IndexError from MyException
|
D | test_fileio.py | 558 class MyException(Exception): pass class 562 raise MyException("blocked setting name") 565 self.assertRaises(MyException, MyFileIO, fd)
|
D | test_coroutines.py | 2050 class MyException(Exception): class 2069 raise MyException 2076 except MyException:
|
D | test_descr.py | 2010 class MyException(Exception): class 2014 raise MyException 2038 self.assertRaises(MyException, runner, X())
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | CallablesTest.java | 60 class MyException extends Exception {} in testRenaming_exceptionalReturn() class 64 throw new MyException(); in testRenaming_exceptionalReturn() 70 } catch (MyException expected) {} in testRenaming_exceptionalReturn()
|
D | FuturesTest.java | 160 private static class MyException extends Exception {} class in FuturesTest 163 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture( in testImmediateCheckedFuture() 172 CheckedFuture<String, MyException> future1 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures() 174 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures() 185 MyException exception = new MyException(); in testImmediateFailedCheckedFuture() 186 CheckedFuture<String, MyException> future = in testImmediateFailedCheckedFuture() 200 } catch (MyException expected) { in testImmediateFailedCheckedFuture() 1026 Futures.allAsList(immediateFailedFuture(new MyException())).get(); 1029 assertTrue(e.getCause() instanceof MyException); 1057 Futures.allAsList(immediateFailedFuture(new MyException()), [all …]
|
/external/google-breakpad/src/testing/test/ |
D | gmock-more-actions_test.cc | 602 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/googletest/googlemock/test/ |
D | gmock-more-actions_test.cc | 596 class MyException {}; class 599 const Action<double(char ch)> a = Throw(MyException()); in TEST() 600 EXPECT_THROW(a.Perform(std::make_tuple('0')), MyException); in TEST() 604 const Action<double()> a = Throw(MyException()); in TEST() 605 EXPECT_THROW(a.Perform(std::make_tuple()), MyException); in TEST()
|
/external/python/cpython2/Lib/test/ |
D | test_exceptions.py | 452 class MyException(Exception): class 459 except MyException, e: 480 class MyException(Exception): class 485 raise MyException
|
D | test_fileio.py | 491 class MyException(Exception): pass class 495 raise MyException("blocked setting name") 498 self.assertRaises(MyException, MyFileIO, fd)
|
D | test_descr.py | 1880 class MyException(Exception): class 1884 raise MyException 1910 except MyException:
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 84 def runTest(self): raise MyException() 105 def runTest(self): raise MyException() 116 def runTest(self): raise MyException() 1822 class MyException(Exception): class 1826 MyException.ninstance += 1 1830 MyException.ninstance -= 1 1834 raise MyException() 1838 raise MyException() 1843 self.assertEqual(MyException.ninstance, 0)
|
/external/lzma/CPP/7zip/Bundles/Alone7z/ |
D | Alone.dsp | 313 SOURCE=..\..\..\Common\MyException.h
|