Make FixtureWrapper class name unique using the preprocessor instead of a specialisations

This commit is contained in:
Phil Nash committed 2011-04-12 18:44:58 +01:00
1 parent b3db552cfa
commit 06134ba167
2 files changed
+11 -10

No files matched your search

+7 -3
View File
@@ -51,7 +51,11 @@ TEST_CASE_METHOD( Fixture, "./succeeding/Fixture/succeedingCase", "A method base
REQUIRE( m_a == 1 );
}
TEST_CASE_METHOD( Fixture, "./failing/Fixture/failingCase", "A method based test run that fails" )
{
REQUIRE( m_a == 2 );
// We should be able to write our tests within a different namespace
namespace Inner
{
TEST_CASE_METHOD( Fixture, "./failing/Fixture/failingCase", "A method based test run that fails" )
{
REQUIRE( m_a == 2 );
}
}