1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-20 01:29:00 +00:00

29 Commits

Author SHA1 Message Date
John Richardson
69db2f2f41 Add network connectivity check
Add a more general check that pings a network host rather than checking
the status of dumpsys wifi. This is because not all devices are
connected via wifi.
2016-06-02 12:45:30 +01:00
James Hartley
3a4ae9f7b2 Remove wifi check temporarily to testing on non-wifi connected devices 2016-06-02 11:08:23 +01:00
muendelezaji
6c4a7e75f6 Update base class & rebuild workloads 2016-05-27 15:39:54 +01:00
John Richardson
64f6720a36 Add parameters for filename and search strings
Remove hard coded strings used for the gesture and word search tests and
instead pass these in as parameters from an agenda file.
2016-05-26 14:26:47 +01:00
jimboatarm
aa7029d074 Merge pull request #31 from jimboatarm/discover_view
Add logic to dumpsys helpers to discover present view
2016-05-26 12:58:54 +01:00
John Richardson
13df3cff90 Add workload validate step to check dependencies
Check that dependent files for the workload are present in the
dependencies folder before starting the workload. Move cleanup of
dependent files to finalize method.
2016-05-26 10:25:37 +01:00
John Richardson
e3711a764f Add logic to dumpsys helpers to discover present view
Add intelligence to helper method in UxPerfUiAutomation class to query
the present view during the method call rather than passing this in
explicitly as a parameter.

Fix confirmAccess method to first test for the existence of a
confirmation object before waiting on timeout.
2016-05-26 09:29:47 +01:00
jimboatarm
b924b200c3 Merge pull request #26 from jimboatarm/UXPERF-61
Add version information to workloads
2016-05-25 17:32:49 +01:00
jimboatarm
9571571e4a Merge pull request #25 from jimboatarm/UXPERF-59
Add an internet connection check to all performance workloads
2016-05-25 17:22:22 +01:00
jimboatarm
24d4b0371f Merge pull request #24 from jimboatarm/UXPERF-95
Update add_metric calls to include units for performance timings
2016-05-25 17:21:22 +01:00
John Richardson
173d5a7dd6 Add version information to workloads
Add a __version__ parameter to __init__.py for all workloads. The
version number has three components major.minor.patch.

major: completely new interpretation of the test
       (incompatible with previous test)

minor: breaks compatibility with previous test
       (outputted results, dependencies, etc)

patch: code change with no impact on any dependencies
2016-05-20 15:22:49 +01:00
John Richardson
b6edd0627b Remove redundant logging from Multiapp Workload
Remove duplicate logging that is already captured in the standalone
workloads for Gmail and Skype. Expand comment for tagPhoto method in
Gmail workload.
2016-05-20 09:29:43 +01:00
John Richardson
46fb7614cf Add an internet connection check to all performance workloads
Throw a DeviceError exception if no wifi connection has been made
during the initialization step of the current workload.
2016-05-19 14:10:20 +01:00
John Richardson
4aee83abb7 Update add_metric calls to include units for performance timings 2016-05-19 11:13:45 +01:00
John Richardson
2532f36a62 Add Multiapp workload
A new workload for testing context switching between applications.
Uses googlephotos as the producer workload and gmail and skype as
the consumer workloads.
2016-05-17 14:52:43 +01:00
John Richardson
0f7aff48cc Fix reader workload after tech debt cleanup 2016-05-17 14:18:28 +01:00
James Hartley
e95227175d Add setScreenOrientation to BaseUiAutomation class
This allows workloads to be launched in a pre-determined orientation not the orientation of the physical device itself.

Updated the productivity workloads to take advantage of this new facility.
2016-05-16 17:37:45 +01:00
James Hartley
c4bf3c59de Update descriptions for all productivity workloads
Adopt a standard format so that reports can be generated using text directly from these sections of code.
2016-05-16 16:15:37 +01:00
muendelezaji
ac437fd18c Copyright notice update
- Add Copyright notice to Java & Python workload templates
- Add Copyright notices to recent workloads
2016-05-13 11:11:11 +01:00
James Hartley
99d1b7d14c Deal with Reader PDF search on the Yoga Tab 3
This device does not accept 'Enter' or 'Search' Key Events to initiate the search so reluctantly having to use coordinates in this special case.
2016-05-11 12:13:14 +01:00
muendelezaji
e0cbc55013 Update ant build scripts for existing workloads 2016-05-11 09:39:27 +01:00
John Richardson
c8fa9a23cf Move confirmAccess method to UxPerfUiAutomation
Move confirmAccess method out of reader and skype workloads into
UxPerfUiAutomation base class for code reuse.

Amend project properties for reader workload to use SDK version 18.

Update jar files appropriately.
2016-05-09 17:30:39 +01:00
James Hartley
92e4d41f69 Fixes for Reader/Gmail/Skype
Yet more subtle changes to allow them to run on more devices.
2016-05-09 14:56:25 +01:00
James Hartley
26443f66cc Fix for Skype on particular devices and updated jar files
Some devices issue a pop up to confirm local file access which needs to be handled.
2016-05-05 23:40:59 +01:00
James Hartley
5d0f676033 More fixes to Reader/Gmail/Photos to improve reliability across devices 2016-05-05 22:22:10 +01:00
James Hartley
d77b29165f Fixes for Reader/Gmail/Photos
Check in missing UiAutomation .class files
Fix generation and deletion of dump sys logs including renaming to a standard [test tag]_[test number].log format
Improved Reader to run across a range of devices with subtlety different layouts and views
2016-05-05 11:21:31 +01:00
John Richardson
31cf06b62a Extended BaseUiAutomation and UxPerfUiAutomation
Moved common functionality to base classes for code reuse. Refactored
googlephotos, reader and gmail workloads to take advantage of the new
base class methods and removed total test time metric.

New methods for BaseUiAutomation:
uiDeviceVertPinchIn, uiDeviceVertPinchOut

New methods for UxPerfUiAutomation:
uiObjectVertPinchTest, writeResultsToFile, startDumpsysSurfaceFlinger,
startDumpsysSurfaceFlinger, startDumpsysGfxInfo, stopDumpsysGfxInfo

New class for UxPerfUiAutomation:
GestureTestParams
2016-05-04 11:56:06 +01:00
James Hartley
e1827ffde2 Tidy up Reader timing instrumentation and fix build error 2016-05-03 18:16:17 +01:00
James Hartley
b0d0a19bf0 Reader productivity workload
A new workload to perform standard productivity tasks within Reader. Each user event/step is timed and reported back as a metric.  Dumpsys also captures SurfaceFlinger logs for each event for post analysis.
2016-04-28 13:13:36 +01:00