Lines Matching refs:assertDoesNotMatch

43   def assertDoesNotMatch(self, checker_string, c1_string, var_state={}):  member in MatchLines_Test
50 self.assertDoesNotMatch("foo", "XfooX")
51 self.assertDoesNotMatch("foo", "zoo")
58 self.assertDoesNotMatch("foo bar", "foo Xbar")
63 self.assertDoesNotMatch("foo{{A|B}}bar", "fooCbar")
69 self.assertDoesNotMatch("foo<<X>>bar", "foobar", {"X": "A"})
70 self.assertDoesNotMatch("foo<<X>>bar", "foo bar", {"X": "A"})
77 self.assertDoesNotMatch("foo<<X:A|B>>bar", "fooCbar")
86 self.assertDoesNotMatch("foo<<X:A|B>>bar<<X>>baz", "fooAbarBbaz")
94 self.assertDoesNotMatch("<<X:A>>bar", "Abaz", env)
99 self.assertDoesNotMatch("<<X:..>>foo<<X>>", ".*fooAAAA")
150 def assertDoesNotMatch(self, checker_string, c1_string, isa=None, instruction_set_features=None): member in MatchFiles_Test
160 self.assertDoesNotMatch("/// CHECK: foo bar", "abc def")
164 self.assertDoesNotMatch("/// CHECK: abc {{de.}}", "abc d#f")
187 self.assertDoesNotMatch(
199 self.assertDoesNotMatch("/// CHECK: b{{.}}r", "abc Xbar def")
200 self.assertDoesNotMatch("/// CHECK: b{{.}}r", "abc barX def")
201 self.assertDoesNotMatch("/// CHECK: b{{.}}r", "abc b r def")
213 self.assertDoesNotMatch(
249 self.assertDoesNotMatch(
260 self.assertDoesNotMatch(
305 self.assertDoesNotMatch(
318 self.assertDoesNotMatch(
341 self.assertDoesNotMatch(
349 self.assertDoesNotMatch(
381 self.assertDoesNotMatch(
392 self.assertDoesNotMatch(
414 self.assertDoesNotMatch(
437 self.assertDoesNotMatch(
450 self.assertDoesNotMatch("/// CHECK-EVAL: False", "foo")
453 self.assertDoesNotMatch("/// CHECK-EVAL: 1 + 2 == 4", "foo")
460 self.assertDoesNotMatch(twoVarTestCase, "42 43")
561 self.assertDoesNotMatch(
623 self.assertDoesNotMatch(
707 self.assertDoesNotMatch(
791 self.assertDoesNotMatch(
819 self.assertDoesNotMatch(
952 self.assertDoesNotMatch(
987 self.assertDoesNotMatch(