Incremental naming for annonymous test cases

This commit is contained in:
Phil Nash committed 2011-01-18 20:09:21 +00:00
1 parent dd7f13ccbb
commit 2b05dfaf05
3 files changed
+25 -1

No files matched your search

+12
View File
@@ -53,6 +53,18 @@ namespace Catch
{
}
///////////////////////////////////////////////////////////////////////
TestCaseInfo
(
const TestCaseInfo& other,
const std::string& name
)
: m_test( other.m_test->clone() ),
m_name( name ),
m_description( other.m_description )
{
}
///////////////////////////////////////////////////////////////////////
TestCaseInfo& operator =
(