Lines Matching defs:assertMalformed
416 def assertMalformed(self, text):
449 self.assertMalformed("moop")
450 self.assertMalformed("setbar=baz")
453 self.assertMalformed("file 12345 path=/tmp/foo name=\"foo bar")
454 self.assertMalformed("file 12345 path=/tmp/foo name=\"foo bar\\")
457 self.assertMalformed("file 12345 path=/tmp/foo \"name=foo bar")
458 self.assertMalformed("file 12345 path=/tmp/foo na\"me=foo bar")
459 self.assertMalformed("file 1234 path=/tmp/foo \"foo\"=bar")
462 self.assertMalformed("file 1234 path=/tmp/foo =\"\"")
463 self.assertMalformed("file path=/tmp/foo =")
464 self.assertMalformed("file 1234 path=/tmp/foo =")
465 self.assertMalformed("file 1234 path=/tmp/foo ==")
466 self.assertMalformed("file 1234 path=/tmp/foo ===")
469 self.assertMalformed("file 1234 path=/tmp/foo broken=")
470 self.assertMalformed("file 1234 path=/tmp/foo broken= ")
471 self.assertMalformed("file 1234 path=/tmp/foo broken=\t")
472 self.assertMalformed("file 1234 path=/tmp/foo broken=\n")
473 self.assertMalformed("file 1234 path=/tmp/foo broken")
476 self.assertMalformed("file 1234 path=/tmp/foo bro ken")
477 self.assertMalformed("file 1234 path=/tmp/foo\tbro\tken")
478 self.assertMalformed("file 1234 path=/tmp/foo\nbro\nken")
479 self.assertMalformed("file 1234 path ='/tmp/foo")
480 self.assertMalformed("file 1234 path\t=/tmp/foo")
481 self.assertMalformed("file 1234 path\n=/tmp/foo")
512 self.assertMalformed("""legacy arch=i386 category=GNOME2,application,JDSosol desc="XScreenSaver is two things: it is both a large collection of screen savers (distributed in the "hacks" packages) and it is also the framework for blanking and locking the screen (this package)." hotline="Please contact your local service provider" name="XScreenSaver is two things: it is both a large collection of screen savers (distributed in the "hacks" packages) and it is also the framework for blanking and locking the screen (this package)." pkg=SUNWxscreensaver vendor="XScreenSaver Community" version=5.11,REV=110.0.4.2010.07.08.22.18""")
513 self.assertMalformed("""legacy arch=i386 category=GNOME2,application,JDSosol desc="XScreenSaver is two things: it is both a large collection of screen savers (distributed in the "hacks" packages) and it is also the framework for blanking and locking the screen (this package)." hotline="Please contact your local service provider" name="XScreenSaver is two things: it is both a large collection of screen savers (distributed in the "hacks" packages) and it is also the framework for blanking and locking the screen (this package)." pkg=SUNWxscreensaver-l10n vendor="XScreenSaver Community" version=5.11,REV=110.0.4.2010.07.08.22.18""")