|
AppCore
|
TestCardByway - tieto testy kontroluju vydavanie listkov do zon, pokial je/nie je na karte platny casovy listok. Vsetky testcas-y sa vykonavaju nad spojom 102418/13. Kontroluje sa cena vydaneho listka, zony a zaplatena vzdialenost. More...
#include <TestCardByway.h>


Public Member Functions | |
| TestCardByway () | |
| ~TestCardByway () | |
| void | setUp () |
| void | BywayTest () |
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 () |
TestCardByway - tieto testy kontroluju vydavanie listkov do zon, pokial je/nie je na karte platny casovy listok. Vsetky testcas-y sa vykonavaju nad spojom 102418/13. Kontroluje sa cena vydaneho listka, zony a zaplatena vzdialenost.
2015/001 BID III.A etapa http://redmine.transdata.sk/issues/4326 = valid time ticket
$ section paid, no valid time ticket
o section paid/free depends on trip input data settings
Distance in km |—2—|—0—|—5—|—0—|—5—|—1—|—0—|—4—|—0—|—1—|—3—|—1—|
Zones |-----—245-----—|---—255---—|-------—260-------—|-------------—255-------------—|
tariff number of bus stop 42 43-44 45 46 47 48 49-50 51 52 53 54 55-60 61
|----—|----—|----—|----—|----—|----—|----—|----—|----—|----—|----—|----—|
CI - check in CO - check out (CI-CO) | STANDARD SECTION | BYWAY SECTION | STANDARD SECTION |
Byway01- zone ticket 245,255,260 (42-61) |===============================================================================================|
Nastavenie TS:
Vseobecne pravidlo pre Byway 13, 16:
| TestCardByway::TestCardByway | ( | ) |
| TestCardByway::~TestCardByway | ( | ) |
| void TestCardByway::BywayTest | ( | ) |

| void TestCardByway::setUp | ( | ) |

1.8.8