mirror of
https://github.com/google/googletest.git
synced 2025-12-03 14:27:45 +08:00
Fixes a slew of compiler warnings and turns on "warning as error" in the scons build.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user