From 9413f2ff615ae1b933580576183d316c4cb6376c Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Fri, 29 May 2009 19:50:06 +0000 Subject: 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. --- include/gmock/internal/gmock-internal-utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/gmock/internal/gmock-internal-utils.h') 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 -- cgit v1.2.3