mimic++ v4
Loading...
Searching...
No Matches
Reporter.hpp File Reference
#include "mimic++/Call.hpp"
#include "mimic++/Fwd.hpp"
#include "mimic++/Printer.hpp"
#include "mimic++/Reports.hpp"
#include <algorithm>
#include <cassert>
#include <exception>
#include <functional>
#include <iostream>
#include <memory>
#include <optional>
#include <ranges>
#include <vector>
Include dependency graph for Reporter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mimicpp::IReporter
 The reporter interface. More...
 
class  mimicpp::Error< Data >
 
class  mimicpp::BasicReporter< successReporter, warningReporter, failReporter >
 A reporter, which creates text messages and reports them via the provided callbacks. More...
 
class  mimicpp::DefaultReporter
 The default reporter. More...
 

Namespaces

namespace  mimicpp
 

Typedefs

using mimicpp::UnmatchedCallT = Error<std::tuple<CallReport, std::vector<MatchReport>>>
 
using mimicpp::UnfulfilledExpectationT = Error<ExpectationReport>
 

Functions

template<std::derived_from< IReporter > T, typename... Args>
requires std::constructible_from<T, Args...>
void mimicpp::install_reporter (Args &&... args)
 Replaces the previous reporter with a newly constructed one.