def GetTypExpectationsTags(self): # telemetry benchmark's expectations need to know the model name # and if it is a low end device os_version = self.GetOSVersionName().lower() os_version = _MAP_TO_USER_FRIENDLY_OS_NAMES.get(os_version, os_version) tags = test_utils.sanitizeTypExpectationsTags( [self.GetOSName(), 'android-' + os_version]) device_type_name = self.GetDeviceTypeName() tags += test_utils.sanitizeTypExpectationsTags( ['android-' + _MAP_TO_USER_FRIENDLY_DEVICE_NAMES.get( device_type_name, device_type_name)]) if self.IsLowEnd(): tags.append('android-low-end') tags.append('mobile') return tags
def GetTypExpectationsTags(self): # telemetry benchmark's expectations need to know the model name # and if it is a svelte (low memory) build tags = super(AndroidPlatformBackend, self).GetTypExpectationsTags() tags += test_utils.sanitizeTypExpectationsTags( ['android-' + self.GetDeviceTypeName()]) if self.IsSvelte(): tags.append('android-svelte') return tags
def GetTypExpectationsTags(self): # telemetry benchmark's expectations need to know the model name # and if it is a low end device tags = super(AndroidPlatformBackend, self).GetTypExpectationsTags() device_type_name = self.GetDeviceTypeName() tags += test_utils.sanitizeTypExpectationsTags( ['android-' + device_type_name]) if self.IsLowEnd(): tags.append('android-low-end') tags.append('mobile') return tags
def GetTypExpectationsTags(self): # telemetry benchmark's expectations need to know the model name # and if it is a low end device tags = super(AndroidPlatformBackend, self).GetTypExpectationsTags() device_type_name = self.GetDeviceTypeName() user_friendly_names = {'gobo': 'go', 'W6210': 'one'} tags += test_utils.sanitizeTypExpectationsTags([ 'android-' + user_friendly_names.get(device_type_name, device_type_name) ]) if self.IsLowEnd(): tags.append('android-low-end') tags.append('mobile') return tags
def GetTypExpectationsTags(self): # telemetry benchmark's expectations need to know the model name # and if it is a svelte (low memory) build device_type_name = self.GetDeviceTypeName() is_svelte = self.IsSvelte() tags = super(AndroidPlatformBackend, self).GetTypExpectationsTags() tags += test_utils.sanitizeTypExpectationsTags( ['android-' + device_type_name]) if is_svelte: tags.append('android-svelte') if device_type_name in ['gobo', 'W6210'] or is_svelte: tags.append('android-low-end') tags.append('mobile') return tags
def GetTypExpectationsTags(self): return test_utils.sanitizeTypExpectationsTags( [self.GetOSName(), self.GetOSVersionName()])
def GetTypExpectationsTags(self): tags = self.platform.GetTypExpectationsTags() return tags + test_utils.sanitizeTypExpectationsTags( [self.browser_type])