Lumiera  0.pre.03
»edit your freedom«
suite.cpp File Reference

Go to the source code of this file.

Description

Implementation of a simple test runner / test suite framework for unit testing.

Definition in file suite.cpp.

#include "include/logging.h"
#include "lib/hash-standard.hpp"
#include "lib/format-cout.hpp"
#include "lib/test/suite.hpp"
#include "lib/test/run.hpp"
#include "lib/cmdline.hpp"
#include "lib/error.hpp"
#include "lib/util.hpp"
#include <boost/algorithm/string.hpp>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include <map>

Classes

class  Registry
 helper to collect and manage the test cases. More...
 

Typedefs

typedef map< string, PTestMap > GroupMap
 
typedef shared_ptr< TestMap > PTestMap
 
typedef map< string, Launcher * > TestMap
 

Macros

#define IS_VALID(test, testID)   ASSERT ((test), "NULL testcase launcher for test '%s' found in testsuite '%s'", groupID_.c_str(),testID.c_str());
 

Functions

int invokeTestCase (Test &theTest, Arg cmdline)
 

Variables

Registry testcases
 

Namespaces