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
8369b5bb
Commit
8369b5bb
authored
Jan 06, 2019
by
Sal Amato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing build errors for unused parameter
parent
3880b13e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gtest.h
googletest/include/gtest/gtest.h
+6
-6
No files found.
googletest/include/gtest/gtest.h
View file @
8369b5bb
...
...
@@ -1087,11 +1087,11 @@ class TestEventListener {
virtual
void
OnEnvironmentsSetUpEnd
(
const
UnitTest
&
unit_test
)
=
0
;
// Fired before the test suite starts.
virtual
void
OnTestSuiteStart
(
const
TestSuite
&
test_suite
)
{}
virtual
void
OnTestSuiteStart
(
const
TestSuite
&
/*test_suite*/
)
{}
// Legacy API is deprecated but still available
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
virtual
void
OnTestCaseStart
(
const
TestCase
&
test_case
)
{}
virtual
void
OnTestCaseStart
(
const
TestCase
&
/*test_case*/
)
{}
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
// Fired before the test starts.
...
...
@@ -1106,11 +1106,11 @@ class TestEventListener {
virtual
void
OnTestEnd
(
const
TestInfo
&
test_info
)
=
0
;
// Fired after the test suite ends.
virtual
void
OnTestSuiteEnd
(
const
TestSuite
&
test_suite
)
{}
virtual
void
OnTestSuiteEnd
(
const
TestSuite
&
/*test_suite*/
)
{}
// Legacy API is deprecated but still available
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
virtual
void
OnTestCaseEnd
(
const
TestCase
&
test_case
)
{}
virtual
void
OnTestCaseEnd
(
const
TestCase
&
/*test_case*/
)
{}
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
// Fired before environment tear-down for each iteration of tests starts.
...
...
@@ -1142,7 +1142,7 @@ class EmptyTestEventListener : public TestEventListener {
void
OnTestSuiteStart
(
const
TestSuite
&
/*test_suite*/
)
override
{}
// Legacy API is deprecated but still available
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
void
OnTestCaseStart
(
const
TestCase
&
tc
/*test_suit
e*/
)
override
{}
void
OnTestCaseStart
(
const
TestCase
&
/*test_cas
e*/
)
override
{}
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
void
OnTestStart
(
const
TestInfo
&
/*test_info*/
)
override
{}
...
...
@@ -1150,7 +1150,7 @@ class EmptyTestEventListener : public TestEventListener {
void
OnTestEnd
(
const
TestInfo
&
/*test_info*/
)
override
{}
void
OnTestSuiteEnd
(
const
TestSuite
&
/*test_suite*/
)
override
{}
#ifndef GTEST_REMOVE_LEGACY_TEST_CASEAPI_
void
OnTestCaseEnd
(
const
TestCase
&
tc
/*test_suit
e*/
)
override
{}
void
OnTestCaseEnd
(
const
TestCase
&
/*test_cas
e*/
)
override
{}
#endif // GTEST_REMOVE_LEGACY_TEST_CASEAPI_
void
OnEnvironmentsTearDownStart
(
const
UnitTest
&
/*unit_test*/
)
override
{}
...
...
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