OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from pylib.junit import test_runner |
| 6 |
| 7 def Setup(options): |
| 8 """Creates a test runner factory for junit tests. |
| 9 |
| 10 Return: |
| 11 A (runner_factory, tests) tuple. |
| 12 """ |
| 13 |
| 14 def TestRunnerFactory(_unused_device, _unused_shard_index): |
| 15 return test_runner.JavaTestRunner(options) |
| 16 |
| 17 return (TestRunnerFactory, ['JUnit tests']) |
| 18 |
OLD | NEW |