Function captureValue

Synopsis

#include <include/internal/catch_message.h>

void captureValue(size_t index, std::string const &value)

Description

No description yet.

Source

Lines 135-140 in include/internal/catch_message.cpp. Line 83 in include/internal/catch_message.h.

void Capturer::captureValue( size_t index, std::string const& value ) {
    assert( index < m_messages.size() );
    m_messages[index].message += value;
    m_resultCapture.pushScopedMessage( m_messages[index] );
    m_captured++;
}





Add Discussion as Guest

Log in