| Index: testing/gmock/test/gmock_output_test_.cc
|
| diff --git a/testing/gmock/test/gmock_output_test_.cc b/testing/gmock/test/gmock_output_test_.cc
|
| index 8244f10bf855e3ef24c73ba7d2f6428d71cc4e6f..24c9b383ac32bb226ad542e5396ce7d2a8bf6fb0 100644
|
| --- a/testing/gmock/test/gmock_output_test_.cc
|
| +++ b/testing/gmock/test/gmock_output_test_.cc
|
| @@ -49,9 +49,14 @@ using testing::Sequence;
|
|
|
| class MockFoo {
|
| public:
|
| + MockFoo() {}
|
| +
|
| MOCK_METHOD3(Bar, char(const std::string& s, int i, double x));
|
| MOCK_METHOD2(Bar2, bool(int x, int y));
|
| MOCK_METHOD2(Bar3, void(int x, int y));
|
| +
|
| + private:
|
| + GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFoo);
|
| };
|
|
|
| class GMockOutputTest : public testing::Test {
|
| @@ -161,6 +166,10 @@ TEST_F(GMockOutputTest, UnsatisfiedPrerequisites) {
|
| foo_.Bar2(1, 0);
|
| }
|
|
|
| +TEST_F(GMockOutputTest, UnsatisfiedWith) {
|
| + EXPECT_CALL(foo_, Bar2(_, _)).With(Ge());
|
| +}
|
| +
|
| TEST_F(GMockOutputTest, UnsatisfiedExpectation) {
|
| EXPECT_CALL(foo_, Bar(_, _, _));
|
| EXPECT_CALL(foo_, Bar2(0, _))
|
|
|