Class Section

Synopsis

#include <include/internal/catch_section.h>

class Section : NonCopyable

Description

No description yet.

Mentioned in

Inheritance

Ancestors: NonCopyable

Methods

Section
~Section
operator bool

Source

Lines 20-35 in include/internal/catch_section.h.

class Section : NonCopyable {
public:
    Section( SectionInfo const& info );
    ~Section();
    // This indicates whether the section should be executed or not
    explicit operator bool() const;
private:
    SectionInfo m_info;
    std::string m_name;
    Counts m_assertions;
    bool m_sectionIncluded;
    Timer m_timer;
};





Add Discussion as Guest

Log in