AppCore
Loading...
Searching...
No Matches
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.
 
std::string Message (const QString &shortDescription, int returnValue)
 Message.
 
long GetTicketPriceFromOutputDataCollection ()
 GetTicketPriceFromOutputCollection.
 
long GetTicketDistance ()
 GetTicketDistance.
 
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::TestCommon ( TicketIssueLogic::TicketIssueLogicTestWrapper ticketIssueLogicTestWrapper)

◆ ~TestCommon()

TestCommon::~TestCommon ( )
virtual

Member Function Documentation

◆ GetConfigurationFileName()

const QString & TestCommon::GetConfigurationFileName ( ) const
protected

◆ GetTicketDistance()

long TestCommon::GetTicketDistance ( )

GetTicketDistance.

Returns
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTicketIssueLogicWrapper()

TicketIssueLogicTestWrapper * TestCommon::GetTicketIssueLogicWrapper ( )

GetTicketIssueLogicWrapper.

Returns
wrapper for ETicketIssueLogic

◆ GetTicketPriceFromOutputDataCollection()

long TestCommon::GetTicketPriceFromOutputDataCollection ( )

GetTicketPriceFromOutputCollection.

Returns
ticket price
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetZonesOfPaidTicketSegments()

bool TestCommon::GetZonesOfPaidTicketSegments ( std::list< unsigned long > &  paidZones)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IssueTicketAndWriteStatistic()

void TestCommon::IssueTicketAndWriteStatistic ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Message()

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:

◆ SetTemporaryTariffPropertyValue()

bool TestCommon::SetTemporaryTariffPropertyValue ( const unsigned long  tariffTicketNumber,
const unsigned long  tariffPropertyID,
const long  tariffPropertyValue 
)
Here is the caller graph for this function:

◆ SetTemporaryTariffSystemSetting()

bool TestCommon::SetTemporaryTariffSystemSetting ( const unsigned long  tariffSystemSettingNumber,
const long  tariffSystemSettingValue 
)
Here is the caller graph for this function:

◆ setUp()

void TestCommon::setUp ( )
Here is the caller graph for this function:

◆ tearDown()

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: