mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-13 22:28:36 +00:00
Merge pull request #49 from jimboatarm/develop
Remove wifi check temporarily to testing on non-wifi connected devices
This commit is contained in:
commit
4bc8aab324
@ -81,9 +81,6 @@ class Gmail(AndroidUiAutoBenchmark):
|
||||
def initialize(self, context):
|
||||
super(Gmail, self).initialize(context)
|
||||
|
||||
if not self.device.is_wifi_connected():
|
||||
raise DeviceError('Wifi is not connected for device {}'.format(self.device.name))
|
||||
|
||||
# Check for workload dependencies before proceeding
|
||||
jpeg_files = [entry for entry in os.listdir(self.dependencies_directory) if entry.endswith(".jpg")]
|
||||
|
||||
|
@ -81,9 +81,6 @@ class Googlephotos(AndroidUiAutoBenchmark):
|
||||
def initialize(self, context):
|
||||
super(Googlephotos, self).initialize(context)
|
||||
|
||||
if not self.device.is_wifi_connected():
|
||||
raise DeviceError('Wifi is not connected for device {}'.format(self.device.name))
|
||||
|
||||
# Check for workload dependencies before proceeding
|
||||
jpeg_files = [entry for entry in os.listdir(self.dependencies_directory) if entry.endswith(".jpg")]
|
||||
|
||||
|
@ -88,9 +88,6 @@ class Googleplaybooks(AndroidUiAutoBenchmark):
|
||||
def initialize(self, context):
|
||||
super(Googleplaybooks, self).initialize(context)
|
||||
|
||||
if not self.device.is_wifi_connected():
|
||||
raise DeviceError('Wifi is not connected for device {}'.format(self.device.name))
|
||||
|
||||
def update_result(self, context):
|
||||
super(Googleplaybooks, self).update_result(context)
|
||||
|
||||
|
@ -124,9 +124,6 @@ class Multiapp(AndroidUiAutoBenchmark):
|
||||
def initialize(self, context):
|
||||
super(Multiapp, self).initialize(context)
|
||||
|
||||
if not self.device.is_wifi_connected():
|
||||
raise DeviceError('Wifi is not connected for device {}'.format(self.device.name))
|
||||
|
||||
# Check for workload dependencies before proceeding
|
||||
jpeg_files = [entry for entry in os.listdir(self.dependencies_directory) if entry.endswith(".jpg")]
|
||||
|
||||
|
@ -102,9 +102,6 @@ class Reader(AndroidUiAutoBenchmark):
|
||||
def initialize(self, context):
|
||||
super(Reader, self).initialize(context)
|
||||
|
||||
if not self.device.is_wifi_connected():
|
||||
raise DeviceError('Wifi is not connected for device {}'.format(self.device.name))
|
||||
|
||||
self.reader_local_dir = self.device.path.join(self.device.external_storage_directory,
|
||||
'Android/data/com.adobe.reader/files/')
|
||||
|
||||
|
@ -37,7 +37,7 @@ class Skype(AndroidUiAutoBenchmark):
|
||||
call.
|
||||
|
||||
Test description:
|
||||
|
||||
|
||||
1. Open Skype application
|
||||
2. Log in to a pre-defined account
|
||||
3. Select a recipient from the Contacts list
|
||||
@ -96,9 +96,6 @@ class Skype(AndroidUiAutoBenchmark):
|
||||
def initialize(self, context):
|
||||
super(Skype, self).initialize(context)
|
||||
|
||||
if not self.device.is_wifi_connected():
|
||||
raise DeviceError('Wifi is not connected for device {}'.format(self.device.name))
|
||||
|
||||
def setup(self, context):
|
||||
self.logger.info('===== setup() ======')
|
||||
super(Skype, self).setup(context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user