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

18 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
John Richardson
801027661f Minor refactoring of uxperf workloads
Delete saved images during teardown of googlephotos workload.  Refactor
selectPhoto helper method in googlephotos and add pause in Multiapp
workload for stability. Includes minor fixes.
2016-05-31 13:19:52 +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
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
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
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
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
John Richardson
118112a9fc Move file management logic to per worload run
Move file management steps to initialize and finalize methods instead of
setup and teardown. These steps should be performed per run instead of
per iteration. Affected workloads: gmail, googlephotos.
2016-05-12 13:00:01 +01:00
James Hartley
cbfcf6eaba Fix timing instrumentation logs for Skype and GooglePhotos
Bring both workloads in line with the standard way of regex searching the instrumentation logs.
2016-05-10 18:20:47 +01:00
Michael McGeagh
d87c20b594 Added views/activities/context for use with wa's FPS instrumentation layer 2016-05-10 14:15:06 +01:00
John Richardson
2bee9f4f66 Modify googlephotos after reliability testing
Improve workload  description in __init__.py.
Add saveAndReturn convenience method.
Remove confirmLocalFileAccess method.
2016-05-09 11:15:36 +01:00
John Richardson
16551a5d3f Extend Googlephotos workload
Extend workload to add crop and rotation testing to UI automation.
Add SurfaceFlinger dumps whilst performing editing operations.
2016-05-06 22:31:41 +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
John Richardson
c2a68074be Googlephotos productivity workload
A new workload to perform standard productivity tasks within
Googlephotos. Each user event/step is timed and reported back as a
metric. Dumpsys also captures SurfaceFlinger logs for each event for
post analysis.
2016-05-04 11:49:04 +01:00