Function acquireGeneratorTracker

Synopsis

#include <include/internal/catch_run_context.h>

auto acquireGeneratorTracker(StringRef generatorName, SourceLineInfo const &lineInfo) -> IGeneratorTracker &override

Description

No description yet.

Source

Lines 225-231 in include/internal/catch_run_context.cpp. Line 83 in include/internal/catch_run_context.h.

auto RunContext::acquireGeneratorTracker( StringRef generatorName, SourceLineInfo const& lineInfo ) -> IGeneratorTracker& {
    using namespace Generators;
    GeneratorTracker& tracker = GeneratorTracker::acquire(m_trackerContext,
                                                          TestCaseTracking::NameAndLocation( static_cast<std::string>(generatorName), lineInfo ) );
    m_lastAssertionInfo.lineInfo = lineInfo;
    return tracker;
}





Add Discussion as Guest

Log in