Lines Matching refs:assertDoesNotMatch
45 def assertDoesNotMatch(self, checkerString, c1String, varState={}): member in MatchLines_Test
52 self.assertDoesNotMatch("foo", "XfooX")
53 self.assertDoesNotMatch("foo", "zoo")
60 self.assertDoesNotMatch("foo bar", "foo Xbar")
65 self.assertDoesNotMatch("foo{{A|B}}bar", "fooCbar")
71 self.assertDoesNotMatch("foo<<X>>bar", "foobar", {"X": "A"})
72 self.assertDoesNotMatch("foo<<X>>bar", "foo bar", {"X": "A"})
79 self.assertDoesNotMatch("foo<<X:A|B>>bar", "fooCbar")
88 self.assertDoesNotMatch("foo<<X:A|B>>bar<<X>>baz", "fooAbarBbaz")
96 self.assertDoesNotMatch("<<X:A>>bar", "Abaz", env)
101 self.assertDoesNotMatch("<<X:..>>foo<<X>>", ".*fooAAAA")
154 def assertDoesNotMatch(self, checkerString, c1String, isa=None, instructionSetFeatures=None): member in MatchFiles_Test
164 self.assertDoesNotMatch("/// CHECK: foo bar", "abc def")
168 self.assertDoesNotMatch("/// CHECK: abc {{de.}}", "abc d#f")
191 self.assertDoesNotMatch(
203 self.assertDoesNotMatch("/// CHECK: b{{.}}r", "abc Xbar def")
204 self.assertDoesNotMatch("/// CHECK: b{{.}}r", "abc barX def")
205 self.assertDoesNotMatch("/// CHECK: b{{.}}r", "abc b r def")
217 self.assertDoesNotMatch(
253 self.assertDoesNotMatch(
264 self.assertDoesNotMatch(
309 self.assertDoesNotMatch(
322 self.assertDoesNotMatch(
345 self.assertDoesNotMatch(
353 self.assertDoesNotMatch(
385 self.assertDoesNotMatch(
396 self.assertDoesNotMatch(
418 self.assertDoesNotMatch(
441 self.assertDoesNotMatch(
454 self.assertDoesNotMatch("/// CHECK-EVAL: False", "foo")
457 self.assertDoesNotMatch("/// CHECK-EVAL: 1 + 2 == 4", "foo")
464 self.assertDoesNotMatch(twoVarTestCase, "42 43")
565 self.assertDoesNotMatch(
627 self.assertDoesNotMatch(
711 self.assertDoesNotMatch(
795 self.assertDoesNotMatch(
823 self.assertDoesNotMatch(
956 self.assertDoesNotMatch(
991 self.assertDoesNotMatch(