From 7e4eb18cb0343794848788cea17be4c84b752c14 Mon Sep 17 00:00:00 2001 From: mat007 Date: Sun, 22 Jul 2012 07:11:25 +0000 Subject: [PATCH] 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 --- test/test_integration.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/test_integration.cpp b/test/test_integration.cpp index f484dc7..7740412 100644 --- a/test/test_integration.cpp +++ b/test/test_integration.cpp @@ -595,3 +595,12 @@ BOOST_AUTO_TEST_CASE( resetting_self_referenced_mock_class_does_not_crash ) } mock::reset(); } + +namespace +{ + template< typename T1, typename T2 > + struct my_base + {}; + MOCK_BASE_CLASS( my_comma_mock, my_base< int BOOST_PP_COMMA() int > ) + {}; +}