| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import os | |
| 6 import json | 5 import json |
| 7 import logging | 6 import logging |
| 8 | 7 |
| 9 from devil.android import apk_helper | 8 from devil.android import apk_helper |
| 10 from pylib import constants | |
| 11 from pylib.base import test_instance | 9 from pylib.base import test_instance |
| 12 | 10 |
| 13 class UirobotTestInstance(test_instance.TestInstance): | 11 class UirobotTestInstance(test_instance.TestInstance): |
| 14 | 12 |
| 15 def __init__(self, args, error_func): | 13 def __init__(self, args, error_func): |
| 16 """Constructor. | 14 """Constructor. |
| 17 | 15 |
| 18 Args: | 16 Args: |
| 19 args: Command line arguments. | 17 args: Command line arguments. |
| 20 """ | 18 """ |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 return self._minutes | 68 return self._minutes |
| 71 | 69 |
| 72 @property | 70 @property |
| 73 def package_name(self): | 71 def package_name(self): |
| 74 """Returns the name of the package in the APK.""" | 72 """Returns the name of the package in the APK.""" |
| 75 return self._package_name | 73 return self._package_name |
| 76 | 74 |
| 77 @property | 75 @property |
| 78 def suite(self): | 76 def suite(self): |
| 79 return self._suite | 77 return self._suite |
| OLD | NEW |