Lines Matching refs:True
57 compareops = [('1', '1', '=', True),
58 ('1', '1', '==', True),
62 ('1', '1', '>=', True),
63 ('1', '1', '<=', True),
66 ('1', '0', '!=', True),
67 ('1', '0', '>', True),
69 ('1', '0', '>>', True),
71 ('1', '0', '>=', True),
75 ('0', '1', '!=', True),
77 ('0', '1', '<', True),
79 ('0', '1', '<<', True),
81 ('0', '1', '<=', True)]
93 checkitems = [('/', True),
94 ('//', True),
95 ('///', True),
96 (os.getcwd().count(os.sep) * ('..' + os.sep), True),
97 (os.environ.get('HOME', '/home/test'), True),
98 ('/home/someone', True),
99 ('/home/other/', True),
184 self.assertEqual(compareto.splitlines(True), modfile)
196 self._testeditfile({'DUMMY1': ('should_not_set', None, 0, True),
197 …'DUMMY2': ('should_not_set_again', None, 0, True)}, self._origfile, dummyvars=['DUMMY1', 'DUMMY2'])
199 self._testeditfile({'THIS': ('that', None, 0, True),
200 'OTHER': ('anothervalue', None, 0, True),
237 self._testeditfile({'HELLO': ('newvalue', None, 4, True)}, newfile1)
273 'MULTILINE3': ('nowsingle', None, 4, True),
310 'MULTILINE2': (['f1', 'f2'], None, '\t', True),
311 'MULTILINE': (['e1', 'e2', 'e3'], None, -1, True),
313 'OTHER': ('yetanothervalue', None, 0, True)}, newfile3)
394 return (origvalue, op, 0, True)
396 varvalues = {'HELLO': ('hithere', None, 0, True), 'THIS': ('that', '+=', 0, True)}
398 … (updated, newlines) = bb.utils.edit_metadata(self._origfile.splitlines(True), varlist, handle_var)
400 self.assertEqual(newlines, newfile5.splitlines(True))
417 bb.utils.edit_metadata(origfile.splitlines(True),
434 self.assertEqual(after.splitlines(True), actual_after)