Public Member Functions | Public Attributes
OperationsFixture Class Reference

#include <operations_fixture.hpp>

Inheritance diagram for OperationsFixture:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool assertBool (bool b)
bool assertEqual (int a, int b)
bool assertMsg (bool b, const std::string &msg)
bool comstr (const std::string &cs)
void createOperationCallerFactories (TaskContext *target)
void createOperationCallerFactories0 (TaskContext *target)
void createOperationCallerFactories1 (TaskContext *target)
void createOperationCallerFactories2 (TaskContext *target)
void createOperationCallerFactories3 (TaskContext *target)
void createOperationCallerFactories4 (TaskContext *target)
void createOperationCallerFactories5 (TaskContext *target)
void createOperationCallerFactories6 (TaskContext *target)
void createOperationCallerFactories7 (TaskContext *target)
bool fail ()
int getI () const
bool good ()
int increase ()
bool isTrue (bool b)
double m0 (void)
const double & m0cr ()
void m0except (void)
double & m0r ()
double m1 (int i)
double m1cr (const double &a)
double m1r (double &a)
double m2 (int i, double d)
double m3 (int i, double d, bool c)
double m4 (int i, double d, bool c, std::string s)
double m5 (int i, double d, bool c, std::string s, float f)
double m6 (int i, double d, bool c, std::string s, float f, char h)
double m7 (int i, double d, bool c, std::string s, float f, char h, unsigned int st)
 OperationsFixture ()
void print (const std::string &what)
void printNumber (const std::string &what, int n)
void resetI ()
void vm0 (void)
 ~OperationsFixture ()

Public Attributes

TaskContextcaller
int i
double ret
TaskContexttc

Detailed Description

A test fixture that registers some operations to a tc and provides also a caller tc.

Definition at line 34 of file operations_fixture.hpp.


Constructor & Destructor Documentation

Definition at line 35 of file operations_fixture.cpp.

Definition at line 47 of file operations_fixture.cpp.


Member Function Documentation

bool OperationsFixture::assertBool ( bool  b) [inline]

Reimplemented in CorbaTest.

Definition at line 77 of file operations_fixture.hpp.

bool OperationsFixture::assertEqual ( int  a,
int  b 
) [inline]

Definition at line 86 of file operations_fixture.hpp.

bool OperationsFixture::assertMsg ( bool  b,
const std::string &  msg 
) [inline]

Definition at line 94 of file operations_fixture.hpp.

bool OperationsFixture::comstr ( const std::string &  cs) [inline]

Reimplemented in CorbaTest.

Definition at line 46 of file operations_fixture.hpp.

Definition at line 54 of file operations_fixture.cpp.

Definition at line 35 of file operations_fixture0.cpp.

Definition at line 35 of file operations_fixture1.cpp.

Definition at line 35 of file operations_fixture2.cpp.

Definition at line 35 of file operations_fixture3.cpp.

Definition at line 35 of file operations_fixture4.cpp.

Definition at line 35 of file operations_fixture5.cpp.

Definition at line 35 of file operations_fixture6.cpp.

Definition at line 35 of file operations_fixture7.cpp.

bool OperationsFixture::fail ( ) [inline]

Definition at line 68 of file operations_fixture.hpp.

int OperationsFixture::getI ( ) const [inline]

Definition at line 103 of file operations_fixture.hpp.

bool OperationsFixture::good ( ) [inline]

Definition at line 73 of file operations_fixture.hpp.

int OperationsFixture::increase ( ) [inline]

Definition at line 101 of file operations_fixture.hpp.

bool OperationsFixture::isTrue ( bool  b) [inline]

Definition at line 82 of file operations_fixture.hpp.

double OperationsFixture::m0 ( void  ) [inline]

Reimplemented in CorbaTest.

Definition at line 53 of file operations_fixture.hpp.

const double& OperationsFixture::m0cr ( ) [inline]

Reimplemented in CorbaTest.

Definition at line 43 of file operations_fixture.hpp.

void OperationsFixture::m0except ( void  ) [inline]

Definition at line 63 of file operations_fixture.hpp.

double& OperationsFixture::m0r ( ) [inline]

Reimplemented in CorbaTest.

Definition at line 42 of file operations_fixture.hpp.

double OperationsFixture::m1 ( int  i) [inline]

Reimplemented in CorbaTest.

Definition at line 54 of file operations_fixture.hpp.

double OperationsFixture::m1cr ( const double &  a) [inline]

Reimplemented in CorbaTest.

Definition at line 49 of file operations_fixture.hpp.

double OperationsFixture::m1r ( double &  a) [inline]

Reimplemented in CorbaTest.

Definition at line 48 of file operations_fixture.hpp.

double OperationsFixture::m2 ( int  i,
double  d 
) [inline]

Reimplemented in CorbaTest.

Definition at line 55 of file operations_fixture.hpp.

double OperationsFixture::m3 ( int  i,
double  d,
bool  c 
) [inline]

Reimplemented in CorbaTest.

Definition at line 56 of file operations_fixture.hpp.

double OperationsFixture::m4 ( int  i,
double  d,
bool  c,
std::string  s 
) [inline]

Reimplemented in CorbaTest.

Definition at line 57 of file operations_fixture.hpp.

double OperationsFixture::m5 ( int  i,
double  d,
bool  c,
std::string  s,
float  f 
) [inline]

Definition at line 58 of file operations_fixture.hpp.

double OperationsFixture::m6 ( int  i,
double  d,
bool  c,
std::string  s,
float  f,
char  h 
) [inline]

Definition at line 59 of file operations_fixture.hpp.

double OperationsFixture::m7 ( int  i,
double  d,
bool  c,
std::string  s,
float  f,
char  h,
unsigned int  st 
) [inline]

Definition at line 60 of file operations_fixture.hpp.

void OperationsFixture::print ( const std::string &  what) [inline]

Definition at line 65 of file operations_fixture.hpp.

void OperationsFixture::printNumber ( const std::string &  what,
int  n 
) [inline]

Definition at line 66 of file operations_fixture.hpp.

void OperationsFixture::resetI ( ) [inline]

Definition at line 102 of file operations_fixture.hpp.

void OperationsFixture::vm0 ( void  ) [inline]

Reimplemented in CorbaTest.

Definition at line 52 of file operations_fixture.hpp.


Member Data Documentation

Definition at line 38 of file operations_fixture.hpp.

Definition at line 104 of file operations_fixture.hpp.

Reimplemented in CorbaTest.

Definition at line 41 of file operations_fixture.hpp.

Reimplemented in CorbaTest.

Definition at line 38 of file operations_fixture.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Wed Aug 26 2015 16:16:22