Home
last modified time | relevance | path

Searched refs:cov_file (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/tools/code_coverage/
Dcroc_html.py285 def WriteFile(self, cov_file): argument
291 print ' ' + cov_file.filename
292 title = 'Coverage for ' + cov_file.filename
294 f = self.CreateHtmlDoc(cov_file.filename + '.html', title)
298 self.AddCaptionForFile(body, cov_file.filename)
303 self.AddItem(table, None, cov_file.stats, cov_file.attrs)
308 if cov_file.local_path:
311 flines = open(cov_file.local_path, 'rt')
316 line_cov = cov_file.lines.get(lineno, 2)
399 cov_file = cov_dir.files[filename]
[all …]
Dcroc.py316 def RemoveCoveredFile(self, cov_file): argument
322 self.files.pop(cov_file.filename)
331 cov_file = None
337 cov_file = self.GetCoveredFile(line[3:], add=True)
338 if cov_file:
339 cov_lines = cov_file.lines
340 cov_file.in_lcov = True # File was instrumented
341 elif not cov_file:
354 cov_file.UpdateCoverage()
355 cov_file = None
[all …]
Dcroc_test.py42 self.cov_file = croc.CoveredFile('bob.cc', group='source', language='C++')
46 f = self.cov_file
58 f = self.cov_file
69 f = self.cov_file
92 f = self.cov_file
105 f = self.cov_file