mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added test for BOOST_PP_COMMA() in MOCK_BASE_CLASS
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@506 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
5c254d4cbc
commit
7e4eb18cb0
1 changed files with 9 additions and 0 deletions
|
|
@ -595,3 +595,12 @@ BOOST_AUTO_TEST_CASE( resetting_self_referenced_mock_class_does_not_crash )
|
||||||
}
|
}
|
||||||
mock::reset();
|
mock::reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace
|
||||||
|
{
|
||||||
|
template< typename T1, typename T2 >
|
||||||
|
struct my_base
|
||||||
|
{};
|
||||||
|
MOCK_BASE_CLASS( my_comma_mock, my_base< int BOOST_PP_COMMA() int > )
|
||||||
|
{};
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue