Home | History | Annotate | Download | only in match

Lines Matching defs:assertDoesNotMatch

44   def assertDoesNotMatch(self, checkerString, c1String, varState={}):
51 self.assertDoesNotMatch("foo", "XfooX")
52 self.assertDoesNotMatch("foo", "zoo")
59 self.assertDoesNotMatch("foo bar", "foo Xbar")
64 self.assertDoesNotMatch("foo{{A|B}}bar", "fooCbar")
70 self.assertDoesNotMatch("foo<<X>>bar", "foobar", {"X": "A"})
71 self.assertDoesNotMatch("foo<<X>>bar", "foo bar", {"X": "A"})
78 self.assertDoesNotMatch("foo<<X:A|B>>bar", "fooCbar")
87 self.assertDoesNotMatch("foo<<X:A|B>>bar<<X>>baz", "fooAbarBbaz")
95 self.assertDoesNotMatch("<<X:A>>bar", "Abaz", env)
100 self.assertDoesNotMatch("<<X:..>>foo<<X>>", ".*fooAAAA")
129 def assertDoesNotMatch(self, checkerString, c1String):
135 self.assertDoesNotMatch("/// CHECK: foo bar", "abc def")
139 self.assertDoesNotMatch("/// CHECK: abc {{de.}}", "abc d#f")
162 self.assertDoesNotMatch(
174 self.assertDoesNotMatch("/// CHECK: b{{.}}r", "abc Xbar def")
175 self.assertDoesNotMatch("/// CHECK: b{{.}}r", "abc barX def")
176 self.assertDoesNotMatch("/// CHECK: b{{.}}r", "abc b r def")
188 self.assertDoesNotMatch(
224 self.assertDoesNotMatch(
235 self.assertDoesNotMatch(
280 self.assertDoesNotMatch(
293 self.assertDoesNotMatch(
316 self.assertDoesNotMatch(
324 self.assertDoesNotMatch(
356 self.assertDoesNotMatch(
379 self.assertDoesNotMatch(
392 self.assertDoesNotMatch("/// CHECK-EVAL: False", "foo")
395 self.assertDoesNotMatch("/// CHECK-EVAL: 1 + 2 == 4", "foo")
402 self.assertDoesNotMatch(twoVarTestCase, "42 43")