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.
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
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.
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
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.