Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
c2101c28
Commit
c2101c28
authored
Jan 08, 2015
by
kosak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change an example to use 'override' rather than 'virtual'. Add missing headers…
Change an example to use 'override' rather than 'virtual'. Add missing headers for 'connect' and 'socket'.
parent
102b5048
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gtest.h
include/gtest/gtest.h
+2
-2
gtest.cc
src/gtest.cc
+2
-0
No files found.
include/gtest/gtest.h
View file @
c2101c28
...
@@ -359,8 +359,8 @@ GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
...
@@ -359,8 +359,8 @@ GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
//
//
// class FooTest : public testing::Test {
// class FooTest : public testing::Test {
// protected:
// protected:
// v
irtual void SetUp()
{ ... }
// v
oid SetUp() override
{ ... }
// v
irtual void TearDown()
{ ... }
// v
oid TearDown() override
{ ... }
// ...
// ...
// };
// };
//
//
...
...
src/gtest.cc
View file @
c2101c28
...
@@ -128,6 +128,8 @@
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment