original_docstring: Writes the service decorder unit tests for functions with extension_flag.
  
         The functions are special in that they need a specific unit test
         baseclass to turn on the extension.
      
docstring: Writes the service decorder unit tests for functions with extension_flag.
  The functions are special in that they need a specific unit test
  baseclass to turn on the extension.
docstring_tokens: Writes the service decorder unit tests for functions with extension_flag . The functions are special in that they need a specific unit test baseclass to turn on the extension .
code: def WriteServiceUnitTestsForExtensions(self, filename):
      """Writes the service decorder unit tests for functions with extension_flag.
  
         The functions are special in that they need a specific unit test
         baseclass to turn on the extension.
      """
      functions = [f for f in self.functions if f.GetInfo('extension_flag')]
      file = CHeaderWriter(
        filename,
        "// It is included by gles2_cmd_decoder_unittest_extensions.cc\n")
      for func in functions:
        if True:
          if func.GetInfo('unit_test') == False:
            file.Write("// TODO(gman): %s\n" % func.name)
          else:
            extension = ToCamelCase(
              ToGLExtensionString(func.GetInfo('extension_flag')))
            func.WriteServiceUnitTest(file, {
              'test_name': 'GLES2DecoderTestWith%s' % extension
            })
  
      file.Close()
      self.generated_cpp_filenames.append(file.filename)
code_tokens: def WriteServiceUnitTestsForExtensions ( self , filename ) : functions = [ f for f in self . functions if f . GetInfo ( 'extension_flag' ) ] file = CHeaderWriter ( filename , "// It is included by gles2_cmd_decoder_unittest_extensions.cc\n" ) for func in functions : if True : if func . GetInfo ( 'unit_test' ) == False : file . Write ( "// TODO(gman): %s\n" % func . name ) else : extension = ToCamelCase ( ToGLExtensionString ( func . GetInfo ( 'extension_flag' ) ) ) func . WriteServiceUnitTest ( file , { 'test_name' : 'GLES2DecoderTestWith%s' % extension } ) file . Close ( ) self . generated_cpp_filenames . append ( file . filename )
short_docstring: Writes the service decorder unit tests for functions with extension_flag.
short_docstring_tokens: Writes the service decorder unit tests for functions with extension_flag .
comment: """Writes the service decorder unit tests for functions with extension_flag.
  
         The functions are special in that they need a specific unit test
         baseclass to turn on the extension.
      """