#include "../Strings/BString.hpp"
#include "../Tree/FIFO.hpp"
#include "../Types/ByRef.hpp"
Go to the source code of this file.
Namespaces | |
namespace | Test |
Classes | |
struct | Test::LineDelimiter |
struct | Test::Unit |
class | Test::UnitImpl0< T, U > |
Unit test for no parameter. More... | |
class | Test::UnitImpl1< T, U, P1 > |
Unit test for 1 parameter. More... | |
class | Test::UnitImpl2< T, U, P1, P2 > |
Unit test for 2 parameters. More... | |
class | Test::UnitImpl3< T, U, P1, P2, P3 > |
Unit test for 3 parameters. More... | |
class | Test::UnitImpl4< T, U, P1, P2, P3, P4 > |
Unit test for 4 parameters. More... | |
class | Test::UnitImpl5< T, U, P1, P2, P3, P4, P5 > |
Unit test for 4 parameters. More... | |
class | Test::Vector |
Implement testing vectors of code (called Unit tests) Typical usage is like:. More... | |
Defines | |
#define | MakeTestName(X) String(__FILE__) + "(" + String().Format("%d", __LINE__) + ") : " + String( X ) |
Functions | |
LineDelimiter * | Test::MakeLineDelimiter (const String &name) |
template<typename T, typename U, typename P1, typename P2, typename P3, typename P4, typename P5> | |
UnitImpl5< T, U, P1, P2, P3, P4, P5 > * | Test::MakeUnitTest (const String &name, T &object, const U &func, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, const P5 &p5) |
template<typename T, typename U, typename P1, typename P2, typename P3, typename P4> | |
UnitImpl4< T, U, P1, P2, P3, P4 > * | Test::MakeUnitTest (const String &name, T &object, const U &func, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4) |
template<typename T, typename U, typename P1, typename P2, typename P3> | |
UnitImpl3< T, U, P1, P2, P3 > * | Test::MakeUnitTest (const String &name, T &object, const U &func, const P1 &p1, const P2 &p2, const P3 &p3) |
template<typename T, typename U, typename P1, typename P2> | |
UnitImpl2< T, U, P1, P2 > * | Test::MakeUnitTest (const String &name, T &object, const U &func, const P1 &p1, const P2 &p2) |
template<typename T, typename U, typename P1> | |
UnitImpl1< T, U, P1 > * | Test::MakeUnitTest (const String &name, T &object, const U &func, const P1 &p1) |
template<typename T, typename U> | |
UnitImpl0< T, U > * | Test::MakeUnitTest (const String &name, T &object, const U &func) |
static bool | Test::OutputTestName () |
#define MakeTestName | ( | X | ) | String(__FILE__) + "(" + String().Format("%d", __LINE__) + ") : " + String( X ) |