MoSync 3.3
Testify Namespace Reference

MoSync test framework. More...

Classes

class  Functor
 A function or method wrapper, possibly along with its parameters. It can conveniently be called without having to care about it's details. More...
class  DefaultListener
 The default listener. Prints everything out to stdout. More...
class  IDEListener
 The MoSync IDE listener. Prints everything out to the log. More...
class  ListenerHook
 A hook for adding a listener to test run. It uses global constructors to add the listener to the test manager. More...
class  Test
 A base class for all tests. It is wrapped by TestCase and TestFunction to handle the different cases. More...
class  TestCase
 A test case. This class should be overloaded to handle test cases. More...
class  TestFunction
 A wrapper for a test function. It's main reason for existing is to provide homogeneous interface without special cases. More...
class  TestHook
 A hook used to add a test or a collection of tests. It uses global constructors to add the actual tests to the test manager. More...
class  TestListener
 A callback interface for listening to events. More...
class  TestManager
 The Testify test manager. More...

Functions

template<typename R , typename CLASS >
Functorbind (R(CLASS::*m)(void), CLASS *o)
template<typename R , typename CLASS , typename T0 >
Functorbind (R(CLASS::*m)(T0), CLASS *o, T0 p0)
template<typename R , typename CLASS , typename T0 , typename T1 >
Functorbind (R(CLASS::*m)(T0, T1), CLASS *o, T0 p0, T1 p1)
template<typename R , typename CLASS , typename T0 , typename T1 , typename T2 >
Functorbind (R(CLASS::*m)(T0, T1, T2), CLASS *o, T0 p0, T1 p1, T2 p2)
template<typename R , typename CLASS , typename T0 , typename T1 , typename T2 , typename T3 >
Functorbind (R(CLASS::*m)(T0, T1, T2, T3), CLASS *o, T0 p0, T1 p1, T2 p2, T3 p3)
template<typename R >
Functorbind (R(*f)(void))
template<typename R , typename T0 >
Functorbind (R(*f)(T0), T0 p0)
template<typename R , typename T0 , typename T1 >
Functorbind (R(*f)(T0, T1), T0 p0, T1 p1)
template<typename R , typename T0 , typename T1 , typename T2 >
Functorbind (R(*f)(T0, T1, T2), T0 p0, T1 p1, T2 p2)
template<typename R , typename T0 , typename T1 , typename T2 , typename T3 >
Functorbind (R(*f)(T0, T1, T2, T3), T0 p0, T1 p1, T2 p2, T3 p3)

Detailed Description

MoSync test framework.


Function Documentation

template<typename R , typename CLASS >
Functor* Testify::bind ( R(CLASS::*)(void)  m,
CLASS *  o 
)
template<typename R , typename CLASS , typename T0 >
Functor* Testify::bind ( R(CLASS::*)(T0)  m,
CLASS *  o,
T0  p0 
)
template<typename R , typename CLASS , typename T0 , typename T1 >
Functor* Testify::bind ( R(CLASS::*)(T0, T1)  m,
CLASS *  o,
T0  p0,
T1  p1 
)
template<typename R , typename CLASS , typename T0 , typename T1 , typename T2 >
Functor* Testify::bind ( R(CLASS::*)(T0, T1, T2)  m,
CLASS *  o,
T0  p0,
T1  p1,
T2  p2 
)
template<typename R , typename CLASS , typename T0 , typename T1 , typename T2 , typename T3 >
Functor* Testify::bind ( R(CLASS::*)(T0, T1, T2, T3)  m,
CLASS *  o,
T0  p0,
T1  p1,
T2  p2,
T3  p3 
)
template<typename R >
Functor* Testify::bind ( R(*)(void)  f)
template<typename R , typename T0 >
Functor* Testify::bind ( R(*)(T0)  f,
T0  p0 
)
template<typename R , typename T0 , typename T1 >
Functor* Testify::bind ( R(*)(T0, T1)  f,
T0  p0,
T1  p1 
)
template<typename R , typename T0 , typename T1 , typename T2 >
Functor* Testify::bind ( R(*)(T0, T1, T2)  f,
T0  p0,
T1  p1,
T2  p2 
)
template<typename R , typename T0 , typename T1 , typename T2 , typename T3 >
Functor* Testify::bind ( R(*)(T0, T1, T2, T3)  f,
T0  p0,
T1  p1,
T2  p2,
T3  p3 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines