Cleans up the mock generator script:

- updates the doc string.
- adds a version number.
- fixes the condition for error messages in _GenerateMocks().
This commit is contained in:
zhanyong.wan
2009-05-07 20:38:25 +00:00
parent ce60784fb5
commit 84b8e4c65d
2 changed files with 31 additions and 22 deletions

View File

@@ -14,7 +14,7 @@ to generate a Google Mock class.
Make sure to install the scripts somewhere in your path. Then you can
run the program.
gmock_gen.py header-file.h [ClassName1] [ClassName2] ...
gmock_gen.py header-file.h [ClassName]...
If no ClassNames are specified, all classes in the file are emitted.