Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TestSupport.cxx File Reference
#include "ROOT/TestSupport.hxx"
#include "gtest/gtest.h"
#include <algorithm>
#include <cstring>
#include <iostream>
#include <iomanip>

Classes

struct  ROOT::TestSupport::ForbidDiagnostics
 Error handler for gtests that generates failures for every received diagnostic > kInfo when this file is linked to. More...

Namespaces

namespace  ROOT
namespace  ROOT::TestSupport

Functions

std::ostream & ROOT::TestSupport::operator<< (std::ostream &stream, CheckDiagsRAII::Diag_t const &diag)

Variables

static struct ROOT::TestSupport::ForbidDiagnostics ROOT::TestSupport::noDiagCheckerInstance

Detailed Description

This file contains a specialised ROOT message handler to test for diagnostic in unit tests.

Author
Stephan Hageboeck steph.nosp@m.an.h.nosp@m.agebo.nosp@m.eck@.nosp@m.cern..nosp@m.ch

Definition in file TestSupport.cxx.