original_docstring: Fills only required nodes for egtests in xctestrun file.
  
      Returns:
        A node with filled required fields about egtests.
      
docstring: Fills only required nodes for egtests in xctestrun file.
docstring_tokens: Fills only required nodes for egtests in xctestrun file .
code: def fill_xctestrun_node(self):
      """Fills only required nodes for egtests in xctestrun file.
  
      Returns:
        A node with filled required fields about egtests.
      """
      xctestrun_data = super(EgtestsApp, self).fill_xctestrun_node()
      module_data = xctestrun_data[self.module_name + '_module']
      module_data['TestBundlePath'] = '__TESTHOST__%s' % self._xctest_path()
      module_data['TestingEnvironmentVariables'][
          'XCInjectBundleInto'] = '__TESTHOST__/%s' % self.module_name
  
      if self.host_app_path:
        # Module data specific to EG2 tests
        module_data['IsUITestBundle'] = True
        module_data['IsXCTRunnerHostedTestBundle'] = True
        module_data['UITargetAppPath'] = '%s' % self.host_app_path
        module_data['UITargetAppBundleIdentifier'] = get_bundle_id(
            self.host_app_path)
        # Special handling for Xcode10.2
        dependent_products = [
            module_data['UITargetAppPath'],
            module_data['TestBundlePath'],
            module_data['TestHostPath']
        ]
        module_data['DependentProductPaths'] = dependent_products
      # Module data specific to EG1 tests
      else:
        module_data['IsAppHostedTestBundle'] = True
  
      return xctestrun_data
code_tokens: def fill_xctestrun_node ( self ) : xctestrun_data = super ( EgtestsApp , self ) . fill_xctestrun_node ( ) module_data = xctestrun_data [ self . module_name + '_module' ] module_data [ 'TestBundlePath' ] = '__TESTHOST__%s' % self . _xctest_path ( ) module_data [ 'TestingEnvironmentVariables' ] [ 'XCInjectBundleInto' ] = '__TESTHOST__/%s' % self . module_name if self . host_app_path : module_data [ 'IsUITestBundle' ] = True module_data [ 'IsXCTRunnerHostedTestBundle' ] = True module_data [ 'UITargetAppPath' ] = '%s' % self . host_app_path module_data [ 'UITargetAppBundleIdentifier' ] = get_bundle_id ( self . host_app_path ) dependent_products = [ module_data [ 'UITargetAppPath' ] , module_data [ 'TestBundlePath' ] , module_data [ 'TestHostPath' ] ] module_data [ 'DependentProductPaths' ] = dependent_products else : module_data [ 'IsAppHostedTestBundle' ] = True return xctestrun_data
short_docstring: Fills only required nodes for egtests in xctestrun file.
short_docstring_tokens: Fills only required nodes for egtests in xctestrun file .
comment: """Fills only required nodes for egtests in xctestrun file.
  
      Returns:
        A node with filled required fields about egtests.
      """$SEP$# Module data specific to EG2 tests$SEP$# Special handling for Xcode10.2$SEP$# Module data specific to EG1 tests