mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
Geekbench: Adding support for Version 5 of Geekbench Corporate
This commit is contained in:
parent
d3af4e7515
commit
1a15f5c761
@ -357,8 +357,8 @@ class GeekbenchCorproate(Geekbench): # pylint: disable=too-many-ancestors
|
||||
name = "geekbench-corporate"
|
||||
is_corporate = True
|
||||
requires_network = False
|
||||
supported_versions = ['4.1.0', '5.0.0']
|
||||
package_names = ['com.primatelabs.geekbench4.corporate']
|
||||
supported_versions = ['4.1.0', '4.3.4', '5.0.0']
|
||||
package_names = ['com.primatelabs.geekbench4.corporate', 'com.primatelabs.geekbench5.corporate']
|
||||
activity = 'com.primatelabs.geekbench.HomeActivity'
|
||||
|
||||
parameters = [
|
||||
|
Binary file not shown.
@ -139,11 +139,11 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
uiDeviceSwipe(Direction.DOWN, 50);
|
||||
scrollPage();
|
||||
|
||||
String packageName = isCorporate ? "com.primatelabs.geekbench4.corporate"
|
||||
String packageName = isCorporate ? "com.primatelabs.geekbench.*.corporate"
|
||||
: "com.primatelabs.geekbench";
|
||||
|
||||
UiObject runButton =
|
||||
mDevice.findObject(new UiSelector().resourceId(packageName + ":id/runCpuBenchmarks")
|
||||
.className("android.widget.Button"));
|
||||
mDevice.findObject(new UiSelector().resourceIdMatches(packageName + ":id/runCpuBenchmarks"));
|
||||
if (!runButton.waitForExists(WAIT_TIMEOUT_5SEC)) {
|
||||
throw new UiObjectNotFoundException("Could not find Run button");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user