OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 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 """Unittests for test_runner.py.""" | 6 """Unittests for test_runner.py.""" |
7 | 7 |
8 import collections | 8 import collections |
9 import json | 9 import json |
10 import os | 10 import os |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 | 275 |
276 tr = test_runner.SimulatorTestRunner( | 276 tr = test_runner.SimulatorTestRunner( |
277 'fake-app', | 277 'fake-app', |
278 'fake-iossim', | 278 'fake-iossim', |
279 'platform', | 279 'platform', |
280 'os', | 280 'os', |
281 'xcode-version', | 281 'xcode-version', |
282 'out-dir', | 282 'out-dir', |
283 ) | 283 ) |
284 tr.launch() | 284 tr.launch() |
285 self.failUnless(tr.summary['logs']) | 285 self.failUnless(tr.logs) |
286 | 286 |
287 | 287 |
288 if __name__ == '__main__': | 288 if __name__ == '__main__': |
289 unittest.main() | 289 unittest.main() |
OLD | NEW |