Lines Matching refs:Match
74 def Match(self, report):
84 if self._re.match('\n'.join(report) + '\n'):
144 """Tests the Suppression.Match() capabilities."""
149 assert not empty.Match([])
150 assert not empty.Match(['foo', 'bar'])
152 assert asterisk.Match(['foobar', 'foobaz'])
153 assert not asterisk.Match(['foobaz', 'foobar'])
155 assert ellipsis.Match(['foo', 'bar'])
156 assert ellipsis.Match(['bar', 'baz', 'foo'])
157 assert not ellipsis.Match(['bar', 'baz', 'bah'])
159 assert mixed.Match(['foobar', 'foobaz', 'function'])
160 assert not mixed.Match(['foobar', 'blah', 'function'])
162 assert at_and_dollar.Match(['foo@GLIBC', 'bar@NOCANCEL'])
164 assert re_chars.Match(['.foobar'])
165 assert not re_chars.Match(['foobar'])