Home
last modified time | relevance | path

Searched refs:failureException (Results 1 – 10 of 10) sorted by relevance

/external/lldb/test/unittest2/test/
Dtest_case.py428 self.assertTrue(Foo('test').failureException is AssertionError)
444 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__explicit_raise.Foo
446 self.assertTrue(Foo('test').failureException is RuntimeError)
467 failureException = RuntimeError variable in Test_TestCase.test_failureException__subclassing__implicit_raise.Foo
469 self.assertTrue(Foo('test').failureException is RuntimeError)
565 self.assertRaises(self.failureException, self.assertIs, thing, object())
570 self.assertRaises(self.failureException, self.assertIsNot, thing, thing)
575 self.assertRaises(self.failureException, self.assertIsInstance,
581 self.assertRaises(self.failureException, self.assertNotIsInstance,
595 self.assertRaises(self.failureException, self.assertIn, 'x', 'abc')
[all …]
Dtest_assertions.py10 self.assertRaises(self.failureException,
12 self.assertRaises(self.failureException,
16 self.assertRaises(self.failureException,
21 self.assertRaises(self.failureException,
23 self.assertRaises(self.failureException,
28 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
34 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
44 self.assertRaises(self.failureException, self.assertAlmostEqual,
46 self.assertRaises(self.failureException, self.assertNotAlmostEqual,
65 except self.failureException, e:
[all …]
Dtest_unittest2_with.py38 except self.failureException, e:
60 except self.failureException, e:
77 with self.assertRaises(self.failureException):
Dtest_discovery.py115 raise self.failureException('use_load_tests should be False for packages')
/external/lldb/test/unittest2/
Dcase.py118 self.failureException = test_case.failureException
130 raise self.failureException(
143 raise self.failureException('"%s" does not match "%s"' %
195 failureException = AssertionError variable in TestCase
358 except self.failureException:
432 raise self.failureException(msg)
438 raise self.failureException(msg)
444 raise self.failureException(msg)
500 raise self.failureException, "%s not raised" % excName
531 raise self.failureException(msg)
[all …]
Dresult.py150 if exctype is test.failureException:
Dsuite.py246 failureException = None variable in _ErrorHolder
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtestbase.py3 class BrokenTest(unittest.TestCase.failureException):
17 except exceptions or unittest.TestCase.failureException:
/external/antlr/antlr-3.4/runtime/Python/tests/
Dtestbase.py35 class BrokenTest(unittest.TestCase.failureException):
49 except exceptions or unittest.TestCase.failureException:
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py2490 raise self.failureException('%s not raised' % str(exc_class))