|
AppCore
|
TestCardFellowTravellerIssue - test for selling fellow traveller tickets to card. More...
#include <TestCardFellowTravellerIssue.h>


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::TicketIssueLogicTestWrapper * | GetTicketIssueLogicWrapper () |
| 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 () |
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.
| INTERNAL TestCardFellowTravellerIssue::TestCardFellowTravellerIssue | ( | ) |
|
virtual |
| 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).

| 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.

| void TestCardFellowTravellerIssue::CheckFellowTravellerStatisticFlagforNonCombinedTicket | ( | ) |

| void TestCardFellowTravellerIssue::setUp | ( | ) |

1.8.8