| 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 | 5 import os |
| 6 import json | 6 import json |
| 7 import logging | 7 import logging |
| 8 | 8 |
| 9 from devil.android import apk_helper |
| 9 from pylib import constants | 10 from pylib import constants |
| 10 from pylib.base import test_instance | 11 from pylib.base import test_instance |
| 11 from pylib.utils import apk_helper | |
| 12 | 12 |
| 13 class UirobotTestInstance(test_instance.TestInstance): | 13 class UirobotTestInstance(test_instance.TestInstance): |
| 14 | 14 |
| 15 def __init__(self, args, error_func): | 15 def __init__(self, args, error_func): |
| 16 """Constructor. | 16 """Constructor. |
| 17 | 17 |
| 18 Args: | 18 Args: |
| 19 args: Command line arguments. | 19 args: Command line arguments. |
| 20 """ | 20 """ |
| 21 super(UirobotTestInstance, self).__init__() | 21 super(UirobotTestInstance, self).__init__() |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 return self._minutes | 70 return self._minutes |
| 71 | 71 |
| 72 @property | 72 @property |
| 73 def package_name(self): | 73 def package_name(self): |
| 74 """Returns the name of the package in the APK.""" | 74 """Returns the name of the package in the APK.""" |
| 75 return self._package_name | 75 return self._package_name |
| 76 | 76 |
| 77 @property | 77 @property |
| 78 def suite(self): | 78 def suite(self): |
| 79 return self._suite | 79 return self._suite |
| OLD | NEW |