tools/code_coverage/coverage.py
def _ValidateCurrentPlatformIsSupported():
  """Asserts that this script suports running on the current platform"""
  target_os = _GetTargetOS()
  if target_os:
    current_platform = target_os
  else:
    current_platform = coverage_utils.GetHostPlatform()

  supported_platforms = ['android', 'chromeos', 'ios', 'linux', 'mac', 'win']
  assert current_platform in supported_platforms, ('Coverage is only'
                                                   'supported on %s' %
                                                   supported_platforms)
Asserts that this script suports running on the current platform
Asserts that this script suports running on the current platform
Asserts that this script suports running on the current platform
def _ValidateCurrentPlatformIsSupported():
  target_os = _GetTargetOS()
  if target_os:
    current_platform = target_os
  else:
    current_platform = coverage_utils.GetHostPlatform()
  supported_platforms = ['android', 'chromeos', 'ios', 'linux', 'mac', 'win']
  assert current_platform in supported_platforms, ('Coverage is only'
                                                   'supported on %s' %
                                                   supported_platforms)
def _ValidateCurrentPlatformIsSupported ( ) : target_os = _GetTargetOS ( ) if target_os : current_platform = target_os else : current_platform = coverage_utils . GetHostPlatform ( ) supported_platforms = [ 'android' , 'chromeos' , 'ios' , 'linux' , 'mac' , 'win' ] assert current_platform in supported_platforms , ( 'Coverage is only' 'supported on %s' % supported_platforms )
Asserts that this script suports running on the current platform
Asserts that this script suports running on the current platform
"""Asserts that this script suports running on the current platform"""