aboutsummaryrefslogtreecommitdiffstats
path: root/include/gmock/internal/gmock-internal-utils.h
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-02-12 01:34:27 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-02-12 01:34:27 +0000
commitce198ff8997775d63b802615ee0cea5886ab82ab (patch)
tree36b65dc5a69bf2df77d7102657755b3ec2e7dfd8 /include/gmock/internal/gmock-internal-utils.h
parent2f0849fef4883a9cb9e785ae0f90a6d0d00d2959 (diff)
downloadgoogletest-ce198ff8997775d63b802615ee0cea5886ab82ab.tar.gz
googletest-ce198ff8997775d63b802615ee0cea5886ab82ab.tar.bz2
googletest-ce198ff8997775d63b802615ee0cea5886ab82ab.zip
Implements the MATCHER* macros.
Diffstat (limited to 'include/gmock/internal/gmock-internal-utils.h')
-rw-r--r--include/gmock/internal/gmock-internal-utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gmock/internal/gmock-internal-utils.h b/include/gmock/internal/gmock-internal-utils.h
index bdc82882..9a74d546 100644
--- a/include/gmock/internal/gmock-internal-utils.h
+++ b/include/gmock/internal/gmock-internal-utils.h
@@ -63,6 +63,12 @@ namespace proto2 { class Message; }
namespace testing {
namespace internal {
+// Converts an identifier name to a space-separated list of lower-case
+// words. Each maximum substring of the form [A-Za-z][a-z]*|\d+ is
+// treated as one word. For example, both "FooBar123" and
+// "foo_bar_123" are converted to "foo bar 123".
+string ConvertIdentifierNameToWords(const char* id_name);
+
// Defining a variable of type CompileAssertTypesEqual<T1, T2> will cause a
// compiler error iff T1 and T2 are different types.
template <typename T1, typename T2>