diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-06-09 06:09:53 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-06-09 06:09:53 +0000 |
commit | bf55085d456e3ee55eb234c98c435e54d0a2d5aa (patch) | |
tree | 32d9ace4b2fa991dd2f82f76685cb9eae0b00523 /include/gmock/gmock.h | |
parent | 2661c6821a4d7964697e48747c4d739e1ac3a243 (diff) | |
download | googletest-bf55085d456e3ee55eb234c98c435e54d0a2d5aa.tar.gz googletest-bf55085d456e3ee55eb234c98c435e54d0a2d5aa.tar.bz2 googletest-bf55085d456e3ee55eb234c98c435e54d0a2d5aa.zip |
Implements .With() as a synonym of .WithArguments(); implements AllArgs(m) as a synonym of m; relies on gtest-port to #include tuple; fixes a compatibility with Symbian.
Diffstat (limited to 'include/gmock/gmock.h')
-rw-r--r-- | include/gmock/gmock.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/gmock/gmock.h b/include/gmock/gmock.h index 22e70287..29d9727c 100644 --- a/include/gmock/gmock.h +++ b/include/gmock/gmock.h @@ -39,14 +39,14 @@ // This file implements the following syntax: // // ON_CALL(mock_object.Method(...)) -// .WithArguments(...) ? +// .With(...) ? // .WillByDefault(...); // -// where WithArguments() is optional and WillByDefault() must appear -// exactly once. +// where With() is optional and WillByDefault() must appear exactly +// once. // // EXPECT_CALL(mock_object.Method(...)) -// .WithArguments(...) ? +// .With(...) ? // .Times(...) ? // .InSequence(...) * // .WillOnce(...) * |