wibble 1.1
Public Member Functions | Public Attributes | List of all members
wibble::tests::TestContains Struct Reference

#include <tests.h>

Public Member Functions

 TestContains (const std::string &actual, const std::string &expected, bool inverted=false)
 
TestContains operator! ()
 
void check (WIBBLE_TEST_LOCPRM) const
 

Public Attributes

std::string actual
 
std::string expected
 
bool inverted
 

Constructor & Destructor Documentation

◆ TestContains()

wibble::tests::TestContains::TestContains ( const std::string &  actual,
const std::string &  expected,
bool  inverted = false 
)
inline

Member Function Documentation

◆ check()

void wibble::tests::TestContains::check ( WIBBLE_TEST_LOCPRM  ) const

◆ operator!()

TestContains wibble::tests::TestContains::operator! ( )
inline

References actual, expected, and inverted.

Member Data Documentation

◆ actual

std::string wibble::tests::TestContains::actual

Referenced by check(), and operator!().

◆ expected

std::string wibble::tests::TestContains::expected

Referenced by check(), and operator!().

◆ inverted

bool wibble::tests::TestContains::inverted

Referenced by check(), and operator!().


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