original_docstring: Fills only required nodes for XCTest hosted unit tests in xctestrun file.
  
      Returns:
        A node with filled required fields about tests.
      
docstring: Fills only required nodes for XCTest hosted unit tests in xctestrun file.
docstring_tokens: Fills only required nodes for XCTest hosted unit tests in xctestrun file .
code: def fill_xctestrun_node(self):
      """Fills only required nodes for XCTest hosted unit tests in xctestrun file.
  
      Returns:
        A node with filled required fields about tests.
      """
      xctestrun_data = {
          'TestTargetName': {
              'IsAppHostedTestBundle': True,
              'TestBundlePath': '__TESTHOST__%s' % self._xctest_path(),
              'TestHostBundleIdentifier': get_bundle_id(self.test_app_path),
              'TestHostPath': '%s' % self.test_app_path,
              'TestingEnvironmentVariables': {
                  'DYLD_INSERT_LIBRARIES':
                      '__PLATFORMS__/iPhoneSimulator.platform/Developer/usr/lib/'
                      'libXCTestBundleInject.dylib',
                  'DYLD_LIBRARY_PATH':
                      '__PLATFORMS__/iPhoneSimulator.platform/Developer/Library',
                  'DYLD_FRAMEWORK_PATH':
                      '__PLATFORMS__/iPhoneSimulator.platform/Developer/'
                      'Library/Frameworks',
                  'XCInjectBundleInto':
                      '__TESTHOST__/%s' % self.module_name
              }
          }
      }
  
      if self.env_vars:
        self.xctestrun_data['TestTargetName'].update(
            {'EnvironmentVariables': self.env_vars})
  
      gtest_filter = []
      if self.included_tests:
        gtest_filter = get_gtest_filter(self.included_tests, invert=False)
      elif self.excluded_tests:
        gtest_filter = get_gtest_filter(self.excluded_tests, invert=True)
      if gtest_filter:
        # Removed previous gtest-filter if exists.
        self.test_args = [
            el for el in self.test_args if not el.startswith('--gtest_filter=')
        ]
        self.test_args.append('--gtest_filter=%s' % gtest_filter)
  
      if self.repeat_count > 1:
        self.test_args.append('--gtest_repeat=%s' % self.repeat_count)
  
      self.test_args.append('--gmock_verbose=error')
  
      xctestrun_data['TestTargetName'].update(
          {'CommandLineArguments': self.test_args})
  
      return xctestrun_data
code_tokens: def fill_xctestrun_node ( self ) : xctestrun_data = { 'TestTargetName' : { 'IsAppHostedTestBundle' : True , 'TestBundlePath' : '__TESTHOST__%s' % self . _xctest_path ( ) , 'TestHostBundleIdentifier' : get_bundle_id ( self . test_app_path ) , 'TestHostPath' : '%s' % self . test_app_path , 'TestingEnvironmentVariables' : { 'DYLD_INSERT_LIBRARIES' : '__PLATFORMS__/iPhoneSimulator.platform/Developer/usr/lib/' 'libXCTestBundleInject.dylib' , 'DYLD_LIBRARY_PATH' : '__PLATFORMS__/iPhoneSimulator.platform/Developer/Library' , 'DYLD_FRAMEWORK_PATH' : '__PLATFORMS__/iPhoneSimulator.platform/Developer/' 'Library/Frameworks' , 'XCInjectBundleInto' : '__TESTHOST__/%s' % self . module_name } } } if self . env_vars : self . xctestrun_data [ 'TestTargetName' ] . update ( { 'EnvironmentVariables' : self . env_vars } ) gtest_filter = [ ] if self . included_tests : gtest_filter = get_gtest_filter ( self . included_tests , invert = False ) elif self . excluded_tests : gtest_filter = get_gtest_filter ( self . excluded_tests , invert = True ) if gtest_filter : self . test_args = [ el for el in self . test_args if not el . startswith ( '--gtest_filter=' ) ] self . test_args . append ( '--gtest_filter=%s' % gtest_filter ) if self . repeat_count > 1 : self . test_args . append ( '--gtest_repeat=%s' % self . repeat_count ) self . test_args . append ( '--gmock_verbose=error' ) xctestrun_data [ 'TestTargetName' ] . update ( { 'CommandLineArguments' : self . test_args } ) return xctestrun_data
short_docstring: Fills only required nodes for XCTest hosted unit tests in xctestrun file.
short_docstring_tokens: Fills only required nodes for XCTest hosted unit tests in xctestrun file .
comment: """Fills only required nodes for XCTest hosted unit tests in xctestrun file.
  
      Returns:
        A node with filled required fields about tests.
      """$SEP$# Removed previous gtest-filter if exists.