Incremental naming for annonymous test cases
This commit is contained in:
1 parent
dd7f13ccbb
commit
2b05dfaf05
3 files changed
+25
-1
No files matched your search
@@ -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 =
|
||||
(
|
||||
|
||||
Reference in new issue
Block a user