Lines Matching refs:Comments
36 import onbld.Checks.Comments as Comments namespace
53 self.assertTrue(Comments.isBug('10 this is a bug'))
54 self.assertTrue(Comments.isBug('12345 this is a bug'))
55 self.assertFalse(Comments.isBug('this is not a bug (no id)'))
56 self.assertFalse(Comments.isBug('10000000 this is too big to be a bug'))
59 self.assertTrue(Comments.changeid_present(
63 self.assertTrue(Comments.changeid_present(
69 self.assertFalse(Comments.changeid_present([]))
70 self.assertFalse(Comments.changeid_present(['10 this is a bug']))
71 self.assertFalse(Comments.changeid_present(
76 self.assertFalse(Comments.changeid_present(
80 self.assertFalse(Comments.changeid_present(
86 self.assertFalse(Comments.changeid_present(
107 self.assertEqual(0, Comments.comchk(self.split_input(input),
116 self.assertEqual(1, Comments.comchk(self.split_input(input),
123 Comments.comchk(['\n'], False, out)