• Home
  • Raw
  • Download

Lines Matching refs:line

18         line = version_1.status_line(0, 'START', '----', 'test',
20 self.assertEquals(line.type, 'START')
21 self.assertEquals(line.status, None)
26 line = version_1.status_line(0, 'INFO', '----', '----',
28 self.assertEquals(line.type, 'INFO')
29 self.assertEquals(line.status, None)
35 line = version_1.status_line(0, stat, '----', 'test',
37 self.assertEquals(line.type, 'STATUS')
38 self.assertEquals(line.status, stat)
44 line = version_1.status_line(0, 'END ' + stat, '----',
46 self.assertEquals(line.type, 'END')
47 self.assertEquals(line.status, stat)
61 line = version_1.status_line(5, 'GOOD', 'subdir_name',
66 self.assertEquals(line.indent, 5)
67 self.assertEquals(line.status, 'GOOD')
68 self.assertEquals(line.subdir, 'subdir_name')
69 self.assertEquals(line.testname, 'test_name')
70 self.assertEquals(line.reason, 'my reason here')
71 self.assertEquals(line.optional_fields,
78 line = version_1.status_line(0, 'GOOD', '----', 'test',
80 self.assertEquals(line.subdir, None)
85 line = version_1.status_line(0, 'GOOD', 'subdir', '----',
87 self.assertEquals(line.testname, None)
94 line = version_1.status_line.parse_line(input_data)
95 self.assertEquals(line.indent, 3)
96 self.assertEquals(line.type, 'STATUS')
97 self.assertEquals(line.status, 'GOOD')
98 self.assertEquals(line.subdir, None)
99 self.assertEquals(line.testname, None)
100 self.assertEquals(line.reason, 'Test Passed')
101 self.assertEquals(line.optional_fields,
109 line = version_1.status_line.parse_line(input_data +
111 self.assertEquals(line.indent, 2)
112 self.assertEquals(line.type, 'STATUS')
113 self.assertEquals(line.status, 'GOOD')
114 self.assertEquals(line.subdir, None)
115 self.assertEquals(line.testname, None)
116 self.assertEquals(line.reason, 'No newline here!')
117 self.assertEquals(line.optional_fields,
125 line = version_1.status_line.parse_line(input_data)
126 self.assertEquals(line, None)
127 line = version_1.status_line.parse_line(input_data.lstrip())
128 self.assertEquals(line.indent, 0)
129 self.assertEquals(line.type, 'STATUS')
130 self.assertEquals(line.status, 'GOOD')
131 self.assertEquals(line.subdir, 'random')
132 self.assertEquals(line.testname, 'fields')
133 self.assertEquals(line.reason, 'of text')
134 self.assertEquals(line.optional_fields, {})
141 line = version_1.status_line.parse_line(input_data)
142 self.assertEquals(line, None)
143 line = version_1.status_line.parse_line(complete_data)
144 self.assertEquals(line.indent, 2)
145 self.assertEquals(line.type, 'STATUS')
146 self.assertEquals(line.status, 'GOOD')
147 self.assertEquals(line.subdir, 'field')
148 self.assertEquals(line.testname, 'second field')
149 self.assertEquals(line.reason, 'needed last field')
150 self.assertEquals(line.optional_fields, {})
155 line = version_1.status_line(0, 'NOSTATUS', None, 'reboot',
157 self.assertEquals(line.is_successful_reboot('GOOD'), True)
158 self.assertEquals(line.is_successful_reboot('WARN'), True)
163 line = version_1.status_line(0, 'NOSTATUS', None, 'reboot',
165 self.assertEquals(line.is_successful_reboot('FAIL'), False)
166 self.assertEquals(line.is_successful_reboot('ABORT'), False)
171 line = version_1.status_line(0, 'GOOD', 'subdir', 'testname',
176 kern = line.get_kernel()
187 line = version_1.status_line(0, 'GOOD', 'subdir', 'testname',
192 kern = line.get_kernel()
202 line = version_1.status_line(0, 'GOOD', 'subdir', 'testname',
206 kern = line.get_kernel()
216 line = version_1.status_line(0, 'GOOD', 'subdir', 'testname',
219 self.assertEquals(timestamp, line.get_timestamp())
224 line = version_1.status_line(0, 'GOOD', 'subdir', 'testname',
226 self.assertEquals(None, line.get_timestamp())
232 def parse_line(self, line): argument
243 version_1.iteration.parse_line_into_dicts(line, attr, perf)
286 def parse_line(self, line): argument
295 return version_1.perf_value_iteration.parse_line_into_dict(line)