mirror of
https://github.com/google/googletest.git
synced 2025-03-10 09:16:48 +00:00
Change an example to use 'override' rather than 'virtual'. Add missing headers for 'connect' and 'socket'.
This commit is contained in:
parent
102b50483a
commit
c2101c2877
@ -359,8 +359,8 @@ GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
|
|||||||
//
|
//
|
||||||
// class FooTest : public testing::Test {
|
// class FooTest : public testing::Test {
|
||||||
// protected:
|
// protected:
|
||||||
// virtual void SetUp() { ... }
|
// void SetUp() override { ... }
|
||||||
// virtual void TearDown() { ... }
|
// void TearDown() override { ... }
|
||||||
// ...
|
// ...
|
||||||
// };
|
// };
|
||||||
//
|
//
|
||||||
|
@ -128,6 +128,8 @@
|
|||||||
#if GTEST_CAN_STREAM_RESULTS_
|
#if GTEST_CAN_STREAM_RESULTS_
|
||||||
# include <arpa/inet.h> // NOLINT
|
# include <arpa/inet.h> // NOLINT
|
||||||
# include <netdb.h> // NOLINT
|
# include <netdb.h> // NOLINT
|
||||||
|
# include <sys/socket.h> // NOLINT
|
||||||
|
# include <sys/types.h> // NOLINT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Indicates that this translation unit is part of Google Test's
|
// Indicates that this translation unit is part of Google Test's
|
||||||
|
Loading…
x
Reference in New Issue
Block a user