MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / open

Method open

extlibs/catch/include/catch/catch.hpp:15568–15583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15566 }
15567
15568 void open() {
15569 if (!m_isOpen) {
15570 m_isOpen = true;
15571 *this << RowBreak();
15572
15573 Columns headerCols;
15574 Spacer spacer(2);
15575 for (auto const& info : m_columnInfos) {
15576 headerCols += Column(info.name).width(static_cast<std::size_t>(info.width - 2));
15577 headerCols += spacer;
15578 }
15579 m_os << headerCols << "\n";
15580
15581 m_os << Catch::getLineOfChars<'-'>() << "\n";
15582 }
15583 }
15584 void close() {
15585 if (m_isOpen) {
15586 *this << RowBreak();

Callers

nothing calls this directly

Calls 3

RowBreakClass · 0.85
ColumnClass · 0.85
widthMethod · 0.45

Tested by

no test coverage detected