Home
last modified time | relevance | path

Searched refs:expected_regexp (Results 1 – 2 of 2) sorted by relevance

/external/lldb/test/unittest2/
Dcase.py116 def __init__(self, expected, test_case, expected_regexp=None): argument
119 self.expected_regexp = expected_regexp
136 if self.expected_regexp is None:
139 expected_regexp = self.expected_regexp
140 if isinstance(expected_regexp, basestring):
141 expected_regexp = re.compile(expected_regexp)
142 if not expected_regexp.search(str(exc_value)):
144 (expected_regexp.pattern, str(exc_value)))
991 def assertRaisesRegexp(self, expected_exception, expected_regexp, argument
1004 return _AssertRaisesContext(expected_exception, self, expected_regexp)
[all …]
/external/lldb/test/unittest2/test/
Dtest_assertions.py117 for i, expected_regexp in enumerate(errors):
125 expected_regexp,