AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Protected Member Functions | List of all members
EM::Tests::TestCommon Class Reference

#include <TestCommon.h>

Inheritance diagram for EM::Tests::TestCommon:
Inheritance graph
[legend]
Collaboration diagram for EM::Tests::TestCommon:
Collaboration graph
[legend]

Classes

class  DataClass
 

Public Member Functions

 TestCommon (TicketIssueLogic::TicketIssueLogicTestWrapper *ticketIssueLogicTestWrapper)
 
virtual ~TestCommon ()
 
void setUp ()
 
void tearDown ()
 
TicketIssueLogic::TicketIssueLogicTestWrapperGetTicketIssueLogicWrapper ()
 GetTicketIssueLogicWrapper. More...
 
std::string Message (const QString &shortDescription, int returnValue)
 Message. More...
 
long GetTicketPriceFromOutputDataCollection ()
 GetTicketPriceFromOutputCollection. More...
 
long GetTicketDistance ()
 GetTicketDistance. More...
 
bool SetTemporaryTariffSystemSetting (const unsigned long tariffSystemSettingNumber, const long tariffSystemSettingValue)
 
bool SetTemporaryTariffPropertyValue (const unsigned long tariffTicketNumber, const unsigned long tariffPropertyID, const long tariffPropertyValue)
 
bool GetZonesOfPaidTicketSegments (std::list< unsigned long > &paidZones)
 

Protected Member Functions

const QString & GetConfigurationFileName () const
 
void IssueTicketAndWriteStatistic ()
 

Constructor & Destructor Documentation

TestCommon::TestCommon ( TicketIssueLogic::TicketIssueLogicTestWrapper ticketIssueLogicTestWrapper)
TestCommon::~TestCommon ( )
virtual

Member Function Documentation

const QString & TestCommon::GetConfigurationFileName ( ) const
protected
long TestCommon::GetTicketDistance ( )

GetTicketDistance.

Returns

Here is the call graph for this function:

Here is the caller graph for this function:

TicketIssueLogicTestWrapper * TestCommon::GetTicketIssueLogicWrapper ( )

GetTicketIssueLogicWrapper.

Returns
wrapper for ETicketIssueLogic
long TestCommon::GetTicketPriceFromOutputDataCollection ( )

GetTicketPriceFromOutputCollection.

Returns
ticket price

Here is the call graph for this function:

Here is the caller graph for this function:

bool TestCommon::GetZonesOfPaidTicketSegments ( std::list< unsigned long > &  paidZones)

Here is the call graph for this function:

Here is the caller graph for this function:

void TestCommon::IssueTicketAndWriteStatistic ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

std::string TestCommon::Message ( const QString &  shortDescription,
int  returnValue 
)

Message.

Parameters
shortDescriptiondescription of error
returnValue
Returns
string representing error

Here is the caller graph for this function:

bool TestCommon::SetTemporaryTariffPropertyValue ( const unsigned long  tariffTicketNumber,
const unsigned long  tariffPropertyID,
const long  tariffPropertyValue 
)

Here is the caller graph for this function:

bool TestCommon::SetTemporaryTariffSystemSetting ( const unsigned long  tariffSystemSettingNumber,
const long  tariffSystemSettingValue 
)

Here is the caller graph for this function:

void TestCommon::setUp ( )

Here is the caller graph for this function:

void TestCommon::tearDown ( )

Here is the call graph for this function:

Here is the caller graph for this function:


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