MCPcopy Create free account
hub / github.com/apache/trafficserver / open

Method open

lib/catch2/catch.hpp:16384–16399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16382 }
16383
16384 void open() {
16385 if (!m_isOpen) {
16386 m_isOpen = true;
16387 *this << RowBreak();
16388
16389 Columns headerCols;
16390 Spacer spacer(2);
16391 for (auto const& info : m_columnInfos) {
16392 headerCols += Column(info.name).width(static_cast<std::size_t>(info.width - 2));
16393 headerCols += spacer;
16394 }
16395 m_os << headerCols << '\n';
16396
16397 m_os << Catch::getLineOfChars<'-'>() << '\n';
16398 }
16399 }
16400 void close() {
16401 if (m_isOpen) {
16402 *this << RowBreak();

Callers

nothing calls this directly

Calls 3

RowBreakClass · 0.85
ColumnClass · 0.70
widthMethod · 0.45

Tested by

no test coverage detected