Exposes SkipPrefix s.t. it can be used by gmock (by Vlad Losev).

This commit is contained in:
zhanyong.wan
2009-12-01 19:39:52 +00:00
parent 2e075a7f60
commit 891b3716c4
2 changed files with 17 additions and 12 deletions

View File

@@ -604,6 +604,11 @@ TestInfo* MakeAndRegisterTestInfo(
TearDownTestCaseFunc tear_down_tc,
TestFactoryBase* factory);
// If *pstr starts with the given prefix, modifies *pstr to be right
// past the prefix and returns true; otherwise leaves *pstr unchanged
// and returns false. None of pstr, *pstr, and prefix can be NULL.
bool SkipPrefix(const char* prefix, const char** pstr);
#if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P
// State of the definition of a type-parameterized test case.