diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-05-29 19:50:06 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-05-29 19:50:06 +0000 |
commit | 9413f2ff615ae1b933580576183d316c4cb6376c (patch) | |
tree | e5ef88b0191fa3296a34c793a17a16427a041fdf /include/gmock/internal/gmock-internal-utils.h | |
parent | 16cf473930c01cd7a1a51dff65f22c541fbad5b8 (diff) | |
download | googletest-9413f2ff615ae1b933580576183d316c4cb6376c.tar.gz googletest-9413f2ff615ae1b933580576183d316c4cb6376c.tar.bz2 googletest-9413f2ff615ae1b933580576183d316c4cb6376c.zip |
Avoids unnecessary printing of call into to internal buffers;
Made the universal value printer safer when printing char[];
Removed duplicated code in InvokeWith;
Improved gmock_doctor.py.
Diffstat (limited to 'include/gmock/internal/gmock-internal-utils.h')
-rw-r--r-- | include/gmock/internal/gmock-internal-utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gmock/internal/gmock-internal-utils.h b/include/gmock/internal/gmock-internal-utils.h index b02682f8..b5e38db3 100644 --- a/include/gmock/internal/gmock-internal-utils.h +++ b/include/gmock/internal/gmock-internal-utils.h @@ -438,6 +438,10 @@ const char kWarningVerbosity[] = "warning"; // No logs are printed. const char kErrorVerbosity[] = "error"; +// Returns true iff a log with the given severity is visible according +// to the --gmock_verbose flag. +bool LogIsVisible(LogSeverity severity); + // Prints the given message to stdout iff 'severity' >= the level // specified by the --gmock_verbose flag. If stack_frames_to_skip >= // 0, also prints the stack trace excluding the top |