Warning, /JETSCAPE/external_packages/googletest/googlemock/scripts/generator/README is written in an unsupported language. File is not indexed.
0001
0002 The Google Mock class generator is an application that is part of cppclean.
0003 For more information about cppclean, see the README.cppclean file or
0004 visit http://code.google.com/p/cppclean/
0005
0006 cppclean requires Python 2.3.5 or later. If you don't have Python installed
0007 on your system, you will also need to install it. You can download Python
0008 from: http://www.python.org/download/releases/
0009
0010 To use the Google Mock class generator, you need to call it
0011 on the command line passing the header file and class for which you want
0012 to generate a Google Mock class.
0013
0014 Make sure to install the scripts somewhere in your path. Then you can
0015 run the program.
0016
0017 gmock_gen.py header-file.h [ClassName]...
0018
0019 If no ClassNames are specified, all classes in the file are emitted.
0020
0021 To change the indentation from the default of 2, set INDENT in
0022 the environment. For example to use an indent of 4 spaces:
0023
0024 INDENT=4 gmock_gen.py header-file.h ClassName
0025
0026 This version was made from SVN revision 281 in the cppclean repository.
0027
0028 Known Limitations
0029 -----------------
0030 Not all code will be generated properly. For example, when mocking templated
0031 classes, the template information is lost. You will need to add the template
0032 information manually.
0033
0034 Not all permutations of using multiple pointers/references will be rendered
0035 properly. These will also have to be fixed manually.