Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
8369b5bb
"vscode:/vscode.git/clone" did not exist on "5af948b30eea9879d6ea7391b335b8ab3fa8ce75"
Commit
8369b5bb
authored
Jan 06, 2019
by
Sal Amato
Browse files
fixing build errors for unused parameter
parent
3880b13e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
googletest/include/gtest/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