Index: build/mobile/ios/pylib/remote/device/remote_device_uirobot_run.py |
diff --git a/build/android/pylib/remote/device/remote_device_uirobot_run.py b/build/mobile/ios/pylib/remote/device/remote_device_uirobot_run.py |
similarity index 92% |
copy from build/android/pylib/remote/device/remote_device_uirobot_run.py |
copy to build/mobile/ios/pylib/remote/device/remote_device_uirobot_run.py |
index 3aee3433077a95b7531a010b1175a02cbda3ada6..a96c1172bffe6804f2e3ea8b9889facb0cae668b 100644 |
--- a/build/android/pylib/remote/device/remote_device_uirobot_run.py |
+++ b/build/mobile/ios/pylib/remote/device/remote_device_uirobot_run.py |
@@ -8,7 +8,12 @@ import logging |
import os |
import sys |
+ |
from pylib import constants |
+ |
+sys.path.append(os.path.join( |
+ constants.DIR_SOURCE_ROOT, 'build', 'android', 'pylib')) |
+ |
from pylib.base import base_test_result |
from pylib.remote.device import appurify_sanitized |
from pylib.remote.device import remote_device_test_run |
@@ -18,7 +23,7 @@ from pylib.remote.device import remote_device_helper |
class RemoteDeviceUirobotRun(remote_device_test_run.RemoteDeviceTestRun): |
jbudorick
2015/01/09 22:06:50
We have to be able to use the same object for both
rnephew (Wrong account)
2015/01/09 23:35:37
Done.
|
"""Run uirobot tests on a remote device.""" |
- DEFAULT_RUNNER_TYPE = 'android_robot' |
+ DEFAULT_RUNNER_TYPE = 'ios_robot' |
def __init__(self, env, test_instance): |
"""Constructor. |
@@ -37,7 +42,7 @@ class RemoteDeviceUirobotRun(remote_device_test_run.RemoteDeviceTestRun): |
def _TriggerSetUp(self): |
"""Set up the triggering of a test run.""" |
logging.info('Triggering test run.') |
- self._app_id = self._UploadAppToDevice(self._test_instance.apk_under_test) |
+ self._app_id = self._UploadAppToDevice(self._test_instance.app_under_test) |
if not self._env.runner_type: |
runner_type = self.DEFAULT_RUNNER_TYPE |
logging.info('Using default runner type: %s', self.DEFAULT_RUNNER_TYPE) |