mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[auto-clear] Make test more future-proof with GoogleTest
This commit is contained in:
parent
982cf86deb
commit
e5378b2048
@ -156,11 +156,15 @@ TEST_P(AutoClearTest, DoesAutoClear) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef INSTANTIATE_TEST_SUITE_P
|
||||||
// Silence "no previous declaration for" which is treated as error, due to -Werror
|
// Silence "no previous declaration for" which is treated as error, due to -Werror
|
||||||
testing::internal::ParamGenerator<TestCase*> gtest_InstantiationAutoClearTestAutoClearTest_EvalGenerator_();
|
testing::internal::ParamGenerator<TestCase*> gtest_InstantiationAutoClearTestAutoClearTest_EvalGenerator_();
|
||||||
std::string gtest_InstantiationAutoClearTestAutoClearTest_EvalGenerateName_(const testing::TestParamInfo<TestCase*>&);
|
std::string gtest_InstantiationAutoClearTestAutoClearTest_EvalGenerateName_(const testing::TestParamInfo<TestCase*>&);
|
||||||
|
|
||||||
INSTANTIATE_TEST_CASE_P(
|
INSTANTIATE_TEST_CASE_P(
|
||||||
|
#else // INSTANTIATE_TEST_SUITE_P
|
||||||
|
INSTANTIATE_TEST_SUITE_P(
|
||||||
|
#endif // INSTANTIATE_TEST_SUITE_P
|
||||||
InstantiationAutoClearTest,
|
InstantiationAutoClearTest,
|
||||||
AutoClearTest,
|
AutoClearTest,
|
||||||
::testing::Values(
|
::testing::Values(
|
||||||
|
Loading…
Reference in New Issue
Block a user