mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-03 02:17:54 +00:00
Completed NoAssertions warning implementation
This commit is contained in:
parent
55764c8d47
commit
a70fbe3c1a
12 changed files with 668 additions and 513 deletions
|
@ -36,6 +36,17 @@ namespace Catch {
|
|||
m_runStatus == RanToCompletionWithSections;
|
||||
}
|
||||
|
||||
bool isBranchSection() const {
|
||||
return m_currentSection &&
|
||||
m_currentSection->isBranch();
|
||||
}
|
||||
|
||||
bool hasSections() const {
|
||||
return m_runStatus == RanAtLeastOneSection ||
|
||||
m_runStatus == RanToCompletionWithSections ||
|
||||
m_runStatus == EncounteredASection;
|
||||
}
|
||||
|
||||
void reset() {
|
||||
m_runStatus = NothingRun;
|
||||
m_changed = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue