OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """Generate and process code coverage. | 6 """Generate and process code coverage. |
7 | 7 |
8 TODO(jrg): rename this from coverage_posix.py to coverage_all.py! | 8 TODO(jrg): rename this from coverage_posix.py to coverage_all.py! |
9 | 9 |
10 Written for and tested on Mac, Linux, and Windows. To use this script | 10 Written for and tested on Mac, Linux, and Windows. To use this script |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 'LazyBackgroundPageApiTest.*', | 276 'LazyBackgroundPageApiTest.*', |
277 'IsolatedAppTest.*', | 277 'IsolatedAppTest.*', |
278 'PanelMessagingTest.*', | 278 'PanelMessagingTest.*', |
279 'GeolocationApiTest.*', | 279 'GeolocationApiTest.*', |
280 'ClipboardApiTest.*', | 280 'ClipboardApiTest.*', |
281 'ExecuteScriptApiTest.*', | 281 'ExecuteScriptApiTest.*', |
282 'CalculatorBrowserTest.*', | 282 'CalculatorBrowserTest.*', |
283 'ChromeAppAPITest.*', | 283 'ChromeAppAPITest.*', |
284 'AppApiTest.*', | 284 'AppApiTest.*', |
285 'BlockedAppApiTest.*', | 285 'BlockedAppApiTest.*', |
286 'AppNotificationTest.*', | |
287 'AppBackgroundPageApiTest.*', | 286 'AppBackgroundPageApiTest.*', |
288 'WebNavigationApiTest.*', | 287 'WebNavigationApiTest.*', |
289 'UsbApiTest.*', | 288 'UsbApiTest.*', |
290 'TabCaptureApiTest.*', | 289 'TabCaptureApiTest.*', |
291 'SystemInfo*.*', | 290 'SystemInfo*.*', |
292 'SyncFileSystemApiTest.*', | 291 'SyncFileSystemApiTest.*', |
293 'SocketApiTest.*', | 292 'SocketApiTest.*', |
294 'SerialApiTest.*', | 293 'SerialApiTest.*', |
295 'RecordApiTest.*', | 294 'RecordApiTest.*', |
296 'PushMessagingApiTest.*', | 295 'PushMessagingApiTest.*', |
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1260 if options.trim: | 1259 if options.trim: |
1261 coverage.TrimTests() | 1260 coverage.TrimTests() |
1262 coverage.RunTests() | 1261 coverage.RunTests() |
1263 if options.genhtml: | 1262 if options.genhtml: |
1264 coverage.GenerateHtml() | 1263 coverage.GenerateHtml() |
1265 return 0 | 1264 return 0 |
1266 | 1265 |
1267 | 1266 |
1268 if __name__ == '__main__': | 1267 if __name__ == '__main__': |
1269 sys.exit(main()) | 1268 sys.exit(main()) |
OLD | NEW |