|
AppCore
|
TestCardStatistic - try to issue ticket from card and check result in statistic. Checked items: More...
#include <TestCardStatistic.h>


Public Member Functions | |
| TestCardStatistic () | |
| virtual | ~TestCardStatistic () |
| void | setUp () |
| void | CheckCardStatisticVAT () |
| void | CheckNumberOfKilometersForNonCombinedTicket () |
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 () |
TestCardStatistic - try to issue ticket from card and check result in statistic. Checked items:
Testcases:
1) trip 2/1, bus stops 0-1
2) trip 2/1, bus stops 0-4
3) trip 100001/1, bus stops 0-3
| TestCardStatistic::TestCardStatistic | ( | ) |
|
virtual |
| void TestCardStatistic::CheckCardStatisticVAT | ( | ) |

| void TestCardStatistic::CheckNumberOfKilometersForNonCombinedTicket | ( | ) |

| void TestCardStatistic::setUp | ( | ) |

1.8.8