mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-01 17:37:57 +00:00
Renamed TestCaseInfo -> TestCase
This commit is contained in:
parent
37f3820747
commit
06a671a349
21 changed files with 146 additions and 95 deletions
|
@ -82,13 +82,13 @@ namespace Catch {
|
|||
closeLabel( recordSections, sectionName );
|
||||
}
|
||||
|
||||
virtual void StartTestCase( const TestCaseInfo& testInfo ) {
|
||||
virtual void StartTestCase( const TestCase& testInfo ) {
|
||||
openLabel( recordTestCases, testInfo.getName() );
|
||||
}
|
||||
|
||||
virtual void Aborted(){}
|
||||
|
||||
virtual void EndTestCase( const TestCaseInfo& testInfo,
|
||||
virtual void EndTestCase( const TestCase& testInfo,
|
||||
const Totals&,
|
||||
const std::string&,
|
||||
const std::string& ) {
|
||||
|
@ -153,7 +153,7 @@ namespace Catch {
|
|||
MetaTestRunner( expectedResult ) );
|
||||
}
|
||||
|
||||
void operator()( const TestCaseInfo& testCase ) {
|
||||
void operator()( const TestCase& testCase ) {
|
||||
EmbeddedRunner runner;
|
||||
Totals totals = runner.runMatching( testCase.getName() );
|
||||
switch( m_expectedResult ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue