aboutsummaryrefslogtreecommitdiffstats
path: root/remsim/RemsimBankd_Tests.ttcn
AgeCommit message (Collapse)AuthorFilesLines
2021-02-28remsim: add the guard timeout to all test casesVadim Yanitskiy1-0/+12
As can be seen [1], it happens quite often that a test case gets stuck and runs forever. Most of the existing test suites have the guard timeout to prevent this. Let's make use of it here too. [1] https://jenkins.osmocom.org/jenkins/view/TTCN3/job/ttcn3-remsim-test-latest/190/ Build has been executing for 1 day 23 hr! Change-Id: I3897efd2a97c3e0d487057aa7bdc2967f3424dd8
2020-05-18library/IPA: use tr_ASP_IPA_EV instead of inline templatesVadim Yanitskiy1-3/+3
This way we can easily add new parameters to ASP_IPA_Event. Change-Id: Icc37286fcb4d43836d56a26424ecb9dcba58d1f1
2020-02-17remsim: Integrate VPCD test port into RemsimBankd_Tests.ttcnHarald Welte1-2/+38
VPCD (specifically ifd-vpcd) is an ifd-handler (reader driver) for a virtual smart card reader integrated with pcsc-lite. It is part of the virtualsmartcard project. Using this ifd-vpcd, we can implementa virtual smart card reader beneath osmo-remsim-bankd, which allows us to implement both the smart card [reader] below osmo-remsim-bankd as well as the osmo-remsim-server + client above osmo-remsim-bankd - in other words a fully virtualized test fixture for bankd. Change-Id: I967f2d526f4ef1278bd2ac1d590a8dce732379d5
2019-12-04remsim: Two new bankd test cases about slotmap re-creationHarald Welte1-0/+84
If a slotmap is re-created with identical client+bankd, we expect no change and the client-bankd connection to persist. If a slotmap is overwritten with a create for a different client than the currently connected one, we expect the client connection to be closed. Change-Id: If81e1511521fe478d2367104cd1c7eba254d6450 Related: OS#4278
2019-12-04resmim: Adjust TC_createMapping_busySlot to current bankd codeHarald Welte1-1/+3
Since osmo-remsim Change-Id I83e319d22896b881c0d882542842f500075aa546 createMapping will overwrite any existing mappings that may already exist for that bank-slot. We need to adjust our test expectations accordingly. Change-Id: Ia8de9edd7edb0437cd783b7d045571ff69820c42 Related: OS#4278
2019-12-04remsim: Reset the bankd-side state at start of testHarald Welte1-0/+9
In general we don't want that bankd retains state from one test case to another. Let's issue the new RSPRO ResetStateReq at the start of each relevant test Change-Id: If810ccbbc848dd2448a4eaea20c80f60f15a2e84
2019-09-13Initial TTCN-3 test suite for osmo-remsimHarald Welte1-0/+298
This adds shared infrastructure and initial test suites for osmo-remsim-{server,client,bankd}. Change-Id: I00034d3a991f0f881cfd8ff0bfc4557113daf830