コード例 #1
0
 def _JsonToTrace(json_path, html_path, delete_json=True):
   # First argument is call site.
   cmd = [__file__, json_path, '--title', 'Android Test Runner Trace',
          '--output', html_path]
   trace2html.Main(cmd)
   if delete_json:
     os.remove(json_path)
コード例 #2
0
 def _JsonToTrace(json_path, html_path):
     # First argument is call site.
     cmd = [
         __file__, json_path, '--title', 'Android Test Runner Trace',
         '--output', html_path
     ]
     trace2html.Main(cmd)