OTest2
A C++ testing framework
Classes | Namespaces | Functions
assertstream.h File Reference
#include <assert.h>
#include <initializer_list>
#include <otest2/assertbufferptr.h>
#include <otest2/reporterattributes.h>
#include <ostream>
#include <tuple>
Include dependency graph for assertstream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OTest2::AssertStream
 Assertion stream. More...
 
class  OTest2::Private::Manipulator< Values_ >
 

Namespaces

 OTest2
 
 OTest2::Private
 

Functions

template<typename... Values_>
std::ostream & OTest2::operator<< (std::ostream &os_, const Private::Manipulator< Values_... > &manip_)
 Application of manipulators. More...
 
Private::Manipulator< Color > OTest2::foreground (Color color_)
 Foreground color manipulator. More...
 
Private::Manipulator< Color > OTest2::background (Color color_)
 Background color manipulator. More...
 
Private::Manipulator< Style > OTest2::textStyle (Style style_)
 Text style manipulator. More...
 
Private::Manipulator OTest2::resetAttrs ()
 Reset color and style attributes - manipulator. More...
 
Private::Manipulator< int > OTest2::assertPar (int index_)
 Print assertion parameter. More...
 
Private::Manipulator OTest2::commitMsg ()
 Commit current assertion message. More...