Home
last modified time | relevance | path

Searched refs:TestException (Results 1 – 25 of 27) sorted by relevance

12

/external/deqp/framework/common/
DtcuDefs.cpp76 TestException::TestException (const char* message, const char* expr, const char* file, int line, qp… in TestException() function in tcu::TestException
82 TestException::TestException (const std::string& message, qpTestResult result) in TestException() function in tcu::TestException
89 : TestException(message, expr, file, line, QP_TEST_RESULT_FAIL) in TestError()
93 : TestException(message.c_str(), expr, file, line, QP_TEST_RESULT_FAIL) in TestError()
98 : TestException(message, QP_TEST_RESULT_FAIL) in TestError()
103 : TestException(message, expr, file, line, QP_TEST_RESULT_INTERNAL_ERROR) in InternalError()
108 : TestException(message, QP_TEST_RESULT_INTERNAL_ERROR) in InternalError()
113 : TestException(message, expr, file, line, QP_TEST_RESULT_RESOURCE_ERROR) in ResourceError()
118 : TestException(message, QP_TEST_RESULT_RESOURCE_ERROR) in ResourceError()
123 : TestException(message, expr, file, line, QP_TEST_RESULT_NOT_SUPPORTED) in NotSupportedError()
[all …]
DtcuDefs.hpp62 class TestException : public Exception class
65TestException (const char* message, const char* expr, const char* file, int line, qpTestResult re…
66 TestException (const std::string& message, qpTestResult result);
67 virtual ~TestException (void) throw() {} in ~TestException()
77 class TestError : public TestException
87 class InternalError : public TestException
96 class ResourceError : public TestException
107 class NotSupportedError : public TestException
DtcuTestSessionExecutor.cpp218 catch (const tcu::TestException& e) in enterTestCase()
306 catch (const tcu::TestException& e) in iterateTestCase()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DStackTrace002Debuggee.java113 private static class TestException extends Exception { class in StackTrace002Debuggee
331 } catch (TestException expected) { in runBreakpointIntConstantWithException()
335 } catch (TestException expected) { in runBreakpointIntConstantWithException()
352 } catch (TestException expected) { in runBreakpointIntConstantWithExceptionInCaller()
356 } catch (TestException expected) { in runBreakpointIntConstantWithExceptionInCaller()
360 public void runBreakpointIntConstantWithExceptionInCallerImpl() throws TestException { in runBreakpointIntConstantWithExceptionInCallerImpl()
370 } catch (TestException expected) { in breakpointIntConstantWithCaughtException()
374 public void breakpointIntConstantWithException(int param) throws TestException { in breakpointIntConstantWithException()
377 throw new TestException(); in breakpointIntConstantWithException()
385 } catch (TestException expected) { in runBreakpointIntConstantWithExceptionAndNativeTransition()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DEventWithExceptionDebuggee.java32 static final class TestException extends Exception { class in EventWithExceptionDebuggee
38 } catch (TestException e) { in catchMethod()
46 public void syncAndThrow() throws TestException { in syncAndThrow()
50 public void syncAndThrowImpl() throws TestException { in syncAndThrowImpl()
52 throw new TestException(); in syncAndThrowImpl()
64 new TestException(); in run()
DEventWithExceptionTest.java39 EventWithExceptionDebuggee.TestException.class;
/external/testng/src/main/java/org/testng/internal/
DExpectedExceptionsHolder.java5 import org.testng.TestException;
55 if (ite.getClass() == TestException.class) { in isExpectedException()
76 return new TestException("Expected exception of " + in wrongException()
80 return new TestException(holder.getWrongExceptionMessage(ite), ite); in wrongException()
84 public TestException noException(ITestNGMethod testMethod) { in noException()
88 return new TestException("Method " + testMethod + " should have thrown an exception of " in noException()
/external/testng/src/main/java/org/testng/
DTestException.java10 public class TestException extends TestNGException { class
13 public TestException(String s) { in TestException() method in TestException
17 public TestException(Throwable t) { in TestException() method in TestException
21 public TestException(String message, Throwable t) { in TestException() method in TestException
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DCountModifierDebuggee.java36 static class TestException extends Exception { class in CountModifierDebuggee
44 public void throwException() throws TestException { in throwException()
46 throw new TestException(); in throwException()
59 } catch (TestException e) { in catchException()
74 new TestException(); // force class loading. in run()
DInstanceOnlyModifierDebuggee.java28 static class TestException extends Exception { class in InstanceOnlyModifierDebuggee
42 } catch (TestException e) { in throwAndCatchException()
53 private void throwException() throws TestException { in throwException()
56 throw new TestException(); in throwException()
65 new TestException(); // force class loading. in run()
DThreadOnlyModifierDebuggee.java28 static class TestException extends Exception { class in ThreadOnlyModifierDebuggee
62 } catch (TestException e) { in throwAndCatchException()
67 void throwException() throws TestException { in throwException()
70 throw new TestException(); in throwException()
82 new TestException(); // force class loading. in run()
DCountModifierTest.java157 getClassSignature(CountModifierDebuggee.TestException.class), in testException()
DThreadOnlyModifierTest.java148 getClassSignature(ThreadOnlyModifierDebuggee.TestException.class), in testException()
DInstanceOnlyModifierTest.java164 getClassSignature(InstanceOnlyModifierDebuggee.TestException.class); in testException()
/external/chromium-trace/catapult/devil/devil/utils/
Dreraiser_thread_unittest.py14 class TestException(Exception): class
36 raise TestException
41 with self.assertRaises(TestException):
77 raise TestException
81 with self.assertRaises(TestException):
Dtimeout_retry_unittest.py19 class TestException(Exception): class
25 raise TestException
50 TestException, timeout_retry.Run, lambda: _CountTries(tries),
57 TestException, timeout_retry.Run, lambda: _CountTries(tries),
/external/robolectric-shadows/shadowapi/src/test/java/org/robolectric/util/
DReflectionHelpersTest.java176 assertThat(e.getCause()).isInstanceOf(TestException.class); in callInstanceMethodReflectively_wrapsCheckedException()
215 assertThat(e.getCause()).isInstanceOf(TestException.class); in callStaticMethodReflectively_wrapsCheckedException()
253 assertThat(e.getCause()).isInstanceOf(TestException.class); in callConstructorReflectively_wrapsCheckedException()
269 private static class TestException extends Exception { class in ReflectionHelpersTest
321 throw new TestException(); in throwCheckedException()
333 throw new TestException(); in staticThrowCheckedException()
351 throw new TestException(); in ThrowsCheckedException()
/external/google-breakpad/src/testing/gtest/test/
Dgtest-death-test_ex_test.cc61 class TestException : public std::exception { class
68 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST()
71 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST()
/external/googletest/googletest/test/
Dgoogletest-death-test_ex_test.cc60 class TestException : public std::exception { class
67 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST()
70 EXPECT_NONFATAL_FAILURE(EXPECT_DEATH(throw TestException(), ""), in TEST()
/external/python/cpython3/Lib/test/test_email/
Dtest_policy.py245 class TestException(Exception): class
255 raise TestException("test")
260 with self.assertRaisesRegex(TestException, "^test$"):
265 with self.assertRaisesRegex(TestException, "^test$"):
271 with self.assertRaisesRegex(TestException, "^test$"):
276 with self.assertRaisesRegex(TestException, "^test$"):
283 with self.assertRaisesRegex(TestException, "^test$"):
288 with self.assertRaisesRegex(TestException, "^test$"):
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFuturesTest.java1778 private static class TestException extends Exception {
1779 TestException(@Nullable Throwable cause) {
1784 private static final Function<Exception, TestException> mapper =
1785 new Function<Exception, TestException>() {
1786 @Override public TestException apply(Exception from) {
1788 return new TestException(from.getCause());
1793 return new TestException(from);
1801 CheckedFuture<String, TestException> checked = Futures.makeChecked(
1826 } catch (TestException e) {
1833 } catch (TestException e) {
[all …]
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/
Dallocate.pass.cpp82 } catch (TestException const&) { in main()
/external/libcxx/test/support/
Dtest_memory_resource.hpp79 throw TestException{}; in do_allocate()
Dcontrolled_allocators.hpp57 struct TestException {}; struct
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationInternallySynchronizedObjectsTests.cpp65 using tcu::TestException;
490 catch (const TestException& e) in run()

12