1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 19:01:15 +01:00

Removed min_apk_version from UXperf workloads. The known working version is now part of the description instead.

This commit is contained in:
Michael McGeagh 2016-12-15 16:13:58 +00:00
parent b1e375a676
commit ffde7401ef
7 changed files with 14 additions and 7 deletions

View File

@ -24,7 +24,6 @@ class AdobeReader(AndroidUxPerfWorkload):
name = 'adobereader'
package = 'com.adobe.reader'
min_apk_version = '16.1'
activity = 'com.adobe.reader.AdobeReader'
view = [package + '/com.adobe.reader.help.AROnboardingHelpActivity',
package + '/com.adobe.reader.viewer.ARSplitPaneActivity',
@ -44,6 +43,8 @@ class AdobeReader(AndroidUxPerfWorkload):
3. Search test:
Search ``document_name`` for each string in the ``search_string_list``
4. Close the document
Known working APK version: 16.1
'''
default_search_strings = [

View File

@ -23,7 +23,6 @@ class Gmail(AndroidUxPerfWorkload):
name = 'gmail'
package = 'com.google.android.gm'
min_apk_version = '6.7.128801648'
activity = ''
view = [package + '/com.google.android.gm.ConversationListActivityGmail',
package + '/com.google.android.gm.ComposeActivityGmail']
@ -39,6 +38,8 @@ class Gmail(AndroidUxPerfWorkload):
5. Enter text in the Subject field
6. Enter text in the Compose field
7. Click the Send mail button
Known working APK version: 6.7.128801648
'''
parameters = [

View File

@ -25,7 +25,6 @@ class Googlephotos(AndroidUxPerfWorkload):
name = 'googlephotos'
package = 'com.google.android.apps.photos'
min_apk_version = '1.21.0.123444480'
activity = 'com.google.android.apps.photos.home.HomeActivity'
view = [package + '/com.google.android.apps.consumerphotoeditor.fragments.ConsumerPhotoEditorActivity',
package + '/com.google.android.apps.photos.home.HomeActivity',
@ -47,6 +46,8 @@ class Googlephotos(AndroidUxPerfWorkload):
similar cropping effect.
6. A rotate test is performed on a selected image, rotating anticlockwise 90 degrees, 180
degrees and 270 degrees.
Known working APK version: 1.21.0.123444480
'''
default_test_images = [

View File

@ -20,7 +20,6 @@ class Googleplaybooks(AndroidUxPerfWorkload):
name = 'googleplaybooks'
package = 'com.google.android.apps.books'
min_apk_version = '3.9.37'
activity = 'com.google.android.apps.books.app.BooksActivity'
view = [package + '/com.google.android.apps.books.app.HomeActivity',
package + '/com.android.vending/com.google.android.finsky.activities.MainActivity',
@ -52,6 +51,8 @@ class Googleplaybooks(AndroidUxPerfWorkload):
Free books require payment details to have been setup otherwise it fails.
Tip: Install the 'Google Opinion Rewards' app to bypass the need to enter valid
card/bank detail.
Known working APK version: 3.9.37
'''
parameters = [

View File

@ -23,7 +23,6 @@ class GoogleSlides(AndroidUxPerfWorkload):
name = 'googleslides'
package = 'com.google.android.apps.docs.editors.slides'
min_apk_version = '1.6.312.08'
activity = ''
view = [package + '/com.google.android.apps.docs.quickoffice.filepicker.FilePickerActivity',
package + '/com.google.android.apps.docs.editors.shared.filepicker.FilePickerActivity',
@ -76,6 +75,8 @@ class GoogleSlides(AndroidUxPerfWorkload):
NOTE: There are known issues with the reliability of this workload on some targets.
It MAY NOT ALWAYS WORK on your device. If you do run into problems, it might help to
set ``do_text_entry`` parameter to ``False``.
Known working APK version: 1.6.312.08
'''
parameters = [

View File

@ -20,7 +20,6 @@ class Skype(AndroidUxPerfWorkload):
name = 'skype'
package = 'com.skype.raider'
min_apk_version = '7.01.0.669'
activity = '' # Skype has no default 'main' activity
view = [package + '/com.skype.android.app.calling.CallActivity',
package + '/com.skype.android.app.calling.PreCallActivity',
@ -58,6 +57,8 @@ class Skype(AndroidUxPerfWorkload):
varies between different versions of Skype and between platforms --
please search online for specific instructions).
https://support.skype.com/en/faq/FA3751/can-i-automatically-answer-all-my-calls-with-video-in-skype-for-windows-desktop
Known working APK version: 7.01.0.669
'''
launch_main = False # overrides extended class

View File

@ -21,7 +21,6 @@ class Youtube(AndroidUxPerfWorkload):
name = 'youtube'
package = 'com.google.android.youtube'
min_apk_version = '11.19.56'
activity = ''
view = [package + '/com.google.android.apps.youtube.app.WatchWhileActivity',
package + '/com.google.android.apps.youtube.app.honeycomb.SettingsActivity']
@ -55,6 +54,8 @@ class Youtube(AndroidUxPerfWorkload):
4. Expand the info card that shows video metadata, then collapse it again.
5. Scroll down to the end of related videos and comments under the info card, and then
back up to the start. A maximum of 5 swipe actions is performed in either direction.
Known working APK version: 11.19.56
'''
parameters = [