diff options
Diffstat (limited to 'vendor/bandit/bandit/reporters/reporters.h')
-rw-r--r-- | vendor/bandit/bandit/reporters/reporters.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vendor/bandit/bandit/reporters/reporters.h b/vendor/bandit/bandit/reporters/reporters.h new file mode 100644 index 00000000..1a9a761a --- /dev/null +++ b/vendor/bandit/bandit/reporters/reporters.h @@ -0,0 +1,28 @@ +#ifndef BANDIT_REPORTERS_H +#define BANDIT_REPORTERS_H + +#include <bandit/reporters/colorizer.h> +#include <bandit/reporters/progress_reporter.h> +#include <bandit/reporters/test_run_summary.h> +#include <bandit/reporters/dots_reporter.h> +#include <bandit/reporters/single_line_reporter.h> +#include <bandit/reporters/xunit_reporter.h> +#include <bandit/reporters/spec_reporter.h> + +namespace bandit { namespace detail { + + inline listener& registered_listener(listener* reporter = NULL) + { + static struct listener* reporter_; + + if(reporter) + { + reporter_ = reporter; + } + + return *reporter_; + } + +}} + +#endif |