mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-03 02:17:54 +00:00
Renamed TestCaseInfo -> TestCase
This commit is contained in:
parent
37f3820747
commit
06a671a349
21 changed files with 146 additions and 95 deletions
|
@ -24,7 +24,7 @@ namespace Catch {
|
|||
};
|
||||
|
||||
public:
|
||||
explicit RunningTest( const TestCaseInfo* info = NULL )
|
||||
explicit RunningTest( const TestCase* info = NULL )
|
||||
: m_info( info ),
|
||||
m_runStatus( RanAtLeastOneSection ),
|
||||
m_currentSection( &m_rootSection ),
|
||||
|
@ -97,7 +97,7 @@ namespace Catch {
|
|||
m_currentSection = m_currentSection->getParent();
|
||||
}
|
||||
|
||||
const TestCaseInfo& getTestCaseInfo() const {
|
||||
const TestCase& getTestCase() const {
|
||||
return *m_info;
|
||||
}
|
||||
|
||||
|
@ -107,7 +107,7 @@ namespace Catch {
|
|||
}
|
||||
|
||||
private:
|
||||
const TestCaseInfo* m_info;
|
||||
const TestCase* m_info;
|
||||
RunStatus m_runStatus;
|
||||
SectionInfo m_rootSection;
|
||||
SectionInfo* m_currentSection;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue