Public Member Functions | Public Attributes | List of all members
OperationsFixture Class Reference

#include <operations_fixture.hpp>

Inheritance diagram for OperationsFixture:
Inheritance graph
[legend]

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 * returnAddressOf (int &i)
 
const void * returnAddressOfConst (const int &i)
 
int sleepAndIncrement (int seconds)
 
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

OperationsFixture::OperationsFixture ( )

Definition at line 94 of file operations_fixture.cpp.

OperationsFixture::~OperationsFixture ( )

Definition at line 106 of file operations_fixture.cpp.

Member Function Documentation

bool OperationsFixture::assertBool ( bool  b)
inline

Definition at line 82 of file operations_fixture.hpp.

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

Definition at line 92 of file operations_fixture.hpp.

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

Definition at line 100 of file operations_fixture.hpp.

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

Definition at line 46 of file operations_fixture.hpp.

void OperationsFixture::createOperationCallerFactories ( TaskContext target)

Definition at line 113 of file operations_fixture.cpp.

void OperationsFixture::createOperationCallerFactories0 ( TaskContext target)

Definition at line 35 of file operations_fixture0.cpp.

void OperationsFixture::createOperationCallerFactories1 ( TaskContext target)

Definition at line 35 of file operations_fixture1.cpp.

void OperationsFixture::createOperationCallerFactories2 ( TaskContext target)

Definition at line 35 of file operations_fixture2.cpp.

void OperationsFixture::createOperationCallerFactories3 ( TaskContext target)

Definition at line 35 of file operations_fixture3.cpp.

void OperationsFixture::createOperationCallerFactories4 ( TaskContext target)

Definition at line 35 of file operations_fixture4.cpp.

void OperationsFixture::createOperationCallerFactories5 ( TaskContext target)

Definition at line 35 of file operations_fixture5.cpp.

void OperationsFixture::createOperationCallerFactories6 ( TaskContext target)

Definition at line 35 of file operations_fixture6.cpp.

void OperationsFixture::createOperationCallerFactories7 ( TaskContext target)

Definition at line 35 of file operations_fixture7.cpp.

bool OperationsFixture::fail ( )
inline

Definition at line 73 of file operations_fixture.hpp.

int OperationsFixture::getI ( ) const
inline

Definition at line 110 of file operations_fixture.hpp.

bool OperationsFixture::good ( )
inline

Definition at line 78 of file operations_fixture.hpp.

int OperationsFixture::increase ( )
inline

Definition at line 107 of file operations_fixture.hpp.

bool OperationsFixture::isTrue ( bool  b)
inline

Definition at line 88 of file operations_fixture.hpp.

double OperationsFixture::m0 ( void  )
inline

Definition at line 53 of file operations_fixture.hpp.

const double& OperationsFixture::m0cr ( )
inline

Definition at line 43 of file operations_fixture.hpp.

void OperationsFixture::m0except ( void  )
inline

Definition at line 68 of file operations_fixture.hpp.

double& OperationsFixture::m0r ( )
inline

Definition at line 42 of file operations_fixture.hpp.

double OperationsFixture::m1 ( int  i)
inline

Definition at line 54 of file operations_fixture.hpp.

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

Definition at line 49 of file operations_fixture.hpp.

double OperationsFixture::m1r ( double &  a)
inline

Definition at line 48 of file operations_fixture.hpp.

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

Definition at line 55 of file operations_fixture.hpp.

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

Definition at line 56 of file operations_fixture.hpp.

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

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 70 of file operations_fixture.hpp.

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

Definition at line 71 of file operations_fixture.hpp.

void OperationsFixture::resetI ( )
inline

Definition at line 109 of file operations_fixture.hpp.

void* OperationsFixture::returnAddressOf ( int &  i)
inline

Definition at line 62 of file operations_fixture.hpp.

const void* OperationsFixture::returnAddressOfConst ( const int &  i)
inline

Definition at line 63 of file operations_fixture.hpp.

int OperationsFixture::sleepAndIncrement ( int  seconds)
inline

Definition at line 65 of file operations_fixture.hpp.

void OperationsFixture::vm0 ( void  )
inline

Definition at line 52 of file operations_fixture.hpp.

Member Data Documentation

TaskContext * OperationsFixture::caller

Definition at line 38 of file operations_fixture.hpp.

int OperationsFixture::i

Definition at line 111 of file operations_fixture.hpp.

double OperationsFixture::ret

Definition at line 41 of file operations_fixture.hpp.

TaskContext* OperationsFixture::tc

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 Tue Jun 25 2019 19:33:40