I would like to suppress overly verbose "RUN" and "OK" output lines from googletest, while maintaining all other output from the default listener.
http://ift.tt/1UcIYMr describes (1) how to replace the default listener by a custom listener, or (2) how to add an additional listener. Unfortunately, this does not exactly solve my problem. Modification (1) would also suppress other messages, unless I reimplement them. Modification (2) does not overwrite the default methods, but only adds additional output.
For the wanted solution, my listener would inherit from the default listener, and not from EmptyTestEventListener. How to achieve that?
Aucun commentaire:
Enregistrer un commentaire