Horizon
Public Member Functions | Friends | List of all members
Catch::ReporterSpec Class Reference

Structured reporter spec that a reporter can be created from. More...

#include <catch_amalgamated.hpp>

Public Member Functions

 ReporterSpec (std::string name, Optional< std::string > outputFileName, Optional< ColourMode > colourMode, std::map< std::string, std::string > customOptions)
 
std::string const & name () const
 
Optional< std::string > const & outputFile () const
 
Optional< ColourMode > const & colourMode () const
 
std::map< std::string, std::string > const & customOptions () const
 

Friends

bool operator== (ReporterSpec const &lhs, ReporterSpec const &rhs)
 
bool operator!= (ReporterSpec const &lhs, ReporterSpec const &rhs)
 

Detailed Description

Structured reporter spec that a reporter can be created from.

Parsing has been validated, but semantics have not. This means e.g. that the colour mode is known to Catch2, but it might not be compiled into the binary, and the output filename might not be openable.


The documentation for this class was generated from the following files: