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

TestCardFellowTravellerIssue - test for selling fellow traveller tickets to card. More...

#include <TestCardFellowTravellerIssue.h>

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

Public Member Functions

 TestCardFellowTravellerIssue ()
 
virtual ~TestCardFellowTravellerIssue ()
 
void setUp ()
 
void CheckFellowTravellerStatisticFlagforNonCombinedTicket ()
 
void CheckFellowTravellerIssueWithSeparateInterchangeForFellows ()
 CheckFellowTravellerIssueWithSeparateInterchangeForFellows Buy ticket for fellow traveller when TS setting 62 (DokupPrestupListok) is "1" (separate transfer for owner and every fellow). Every fellow traveller ticket should be written to separate ticketIndex on card (tickets with same tariff should not be merged to one ticketIndex). More...
 
void CheckFellowTravellerIssueWithSimultaneousInterchangeForFellows ()
 CheckFellowTravellerIssueWithSimultaneousInterchangeForFellows Buy ticket for fellow traveller when TS setting 62 (DokupPrestupListok) is "2" (interchange for owner and fellows in single step). Fellow traveller tickets with same tariffs should be merged into single ticketIndex with increased ticketCount. More...
 
- Public Member Functions inherited from EM::Tests::TestVehicle
 TestVehicle (TicketIssueLogic::TicketIssueLogicTestWrapper *ticketIssueLogicTestWrapper)
 
virtual ~TestVehicle ()
 
void setUp ()
 
void tearDown ()
 
- Public Member Functions inherited from EM::Tests::TestCommon
 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)
 
- Public Member Functions inherited from EM::Tests::TestCard
 TestCard ()
 
virtual ~TestCard ()
 
bool PrepareCardFacadeForTest ()
 
bool PrepareCardFacadeForTest (QString &inputCardDataFilePath)
 
void SimulateCardWrite ()
 
bool CheckWritingFacade ()
 
bool CheckWritingFacade (QString &resultCardDataFilePath)
 

Additional Inherited Members

- Static Public Member Functions inherited from EM::Tests::TestCard
static void SetOneWayTicketsValidity (const unsigned long validityStartTime, const unsigned long validityEndTime)
 
- Protected Member Functions inherited from EM::Tests::TestCommon
const QString & GetConfigurationFileName () const
 
void IssueTicketAndWriteStatistic ()
 

Detailed Description

TestCardFellowTravellerIssue - test for selling fellow traveller tickets to card.

Line/trip: 506401/1

Testcases:
1) Fellow traveller issue, card has owner ticket.
2) Fellow traveller issue, card has owner ticket and one fellow traveller's ticket.
3) Fellow traveller issue, card has owner ticket and two fellow travellers' tickets.

Constructor & Destructor Documentation

INTERNAL TestCardFellowTravellerIssue::TestCardFellowTravellerIssue ( )
TestCardFellowTravellerIssue::~TestCardFellowTravellerIssue ( )
virtual

Member Function Documentation

void TestCardFellowTravellerIssue::CheckFellowTravellerIssueWithSeparateInterchangeForFellows ( )

CheckFellowTravellerIssueWithSeparateInterchangeForFellows Buy ticket for fellow traveller when TS setting 62 (DokupPrestupListok) is "1" (separate transfer for owner and every fellow). Every fellow traveller ticket should be written to separate ticketIndex on card (tickets with same tariff should not be merged to one ticketIndex).

Here is the call graph for this function:

void TestCardFellowTravellerIssue::CheckFellowTravellerIssueWithSimultaneousInterchangeForFellows ( )

CheckFellowTravellerIssueWithSimultaneousInterchangeForFellows Buy ticket for fellow traveller when TS setting 62 (DokupPrestupListok) is "2" (interchange for owner and fellows in single step). Fellow traveller tickets with same tariffs should be merged into single ticketIndex with increased ticketCount.

Here is the call graph for this function:

void TestCardFellowTravellerIssue::CheckFellowTravellerStatisticFlagforNonCombinedTicket ( )

Here is the call graph for this function:

void TestCardFellowTravellerIssue::setUp ( )

Here is the call graph for this function:


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