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
a66d2090
Commit
a66d2090
authored
Feb 13, 2018
by
Gennadiy Civil
Browse files
clang warning '
https://travis-ci.org/google/googletest/jobs/340987201
'
parent
e76f4ee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
googletest/test/gtest-param-test_test.cc
googletest/test/gtest-param-test_test.cc
+4
-4
No files found.
googletest/test/gtest-param-test_test.cc
View file @
a66d2090
...
@@ -853,8 +853,8 @@ class CustomFunctorNamingTest : public TestWithParam<std::string> {};
...
@@ -853,8 +853,8 @@ class CustomFunctorNamingTest : public TestWithParam<std::string> {};
TEST_P
(
CustomFunctorNamingTest
,
CustomTestNames
)
{}
TEST_P
(
CustomFunctorNamingTest
,
CustomTestNames
)
{}
struct
CustomParamNameFunctor
{
struct
CustomParamNameFunctor
{
std
::
string
operator
()(
const
::
testing
::
TestParamInfo
<
std
::
string
>&
inf
o
)
{
std
::
string
operator
()(
const
::
testing
::
TestParamInfo
<
std
::
string
>&
inf
)
{
return
inf
o
.
param
;
return
inf
.
param
;
}
}
};
};
...
@@ -893,8 +893,8 @@ TEST_P(CustomLambdaNamingTest, CustomTestNames) {}
...
@@ -893,8 +893,8 @@ TEST_P(CustomLambdaNamingTest, CustomTestNames) {}
INSTANTIATE_TEST_CASE_P
(
CustomParamNameLambda
,
INSTANTIATE_TEST_CASE_P
(
CustomParamNameLambda
,
CustomLambdaNamingTest
,
CustomLambdaNamingTest
,
Values
(
std
::
string
(
"LambdaName"
)),
Values
(
std
::
string
(
"LambdaName"
)),
[](
const
::
testing
::
TestParamInfo
<
std
::
string
>&
inf
o
)
{
[](
const
::
testing
::
TestParamInfo
<
std
::
string
>&
inf
)
{
return
inf
o
.
param
;
return
inf
.
param
;
});
});
#endif // GTEST_LANG_CXX11
#endif // GTEST_LANG_CXX11
...
...
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