Test Namespace Reference


Detailed Description

This namespace holds all the test vectors declaration and engine.


Classes

struct  LineDelimiter
struct  Unit
class  UnitImpl0
 Unit test for no parameter. More...
class  UnitImpl1
 Unit test for 1 parameter. More...
class  UnitImpl2
 Unit test for 2 parameters. More...
class  UnitImpl3
 Unit test for 3 parameters. More...
class  UnitImpl4
 Unit test for 4 parameters. More...
class  UnitImpl5
 Unit test for 4 parameters. More...
class  Vector
 Implement testing vectors of code (called Unit tests) Typical usage is like:. More...

Functions

LineDelimiterMakeLineDelimiter (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 > * 
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 > * 
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 > * 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 > * 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 > * MakeUnitTest (const String &name, T &object, const U &func, const P1 &p1)
template<typename T, typename U>
UnitImpl0< T, U > * MakeUnitTest (const String &name, T &object, const U &func)
static bool OutputTestName ()


Function Documentation

LineDelimiter* Test::MakeLineDelimiter ( const String &  name  )  [inline]

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 
) [inline]

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 
) [inline]

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 
) [inline]

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 
) [inline]

template<typename T, typename U, typename P1>
UnitImpl1<T, U, P1>* Test::MakeUnitTest ( const String &  name,
T &  object,
const U &  func,
const P1 &  p1 
) [inline]

template<typename T, typename U>
UnitImpl0<T, U>* Test::MakeUnitTest ( const String &  name,
T &  object,
const U &  func 
) [inline]

static bool Test::OutputTestName (  )  [static]


(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is