What steps will reproduce the problem?
1. Download & build googlemock 1.4.0 on Mac OS X.
2. Use the gtest that's included with gmock.
3. Use a regex matcher such as
EXPECT_THAT(my_string, ContainsRegex("ab*"));
4. Compile fails. There is no ContainsRegex.
Version & OS: 1.4.0, Mac OS X
Please provide any additional information below.
It appears that googletest allows regexes on more platforms, although I haven't
tested it:
In gtest-port.h
#if GTEST_OS_CYGWIN || GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_SYMBIAN || \
GTEST_OS_SOLARIS
#define GTEST_USES_POSIX_RE 1
Original issue reported on code.google.com by utah...@gmail.com on 14 Jan 2010 at 5:16
Original issue reported on code.google.com by
utah...@gmail.com
on 14 Jan 2010 at 5:16