aboutsummaryrefslogtreecommitdiffstats
path: root/library/Osmocom_Types.ttcn
AgeCommit message (Collapse)AuthorFilesLines
2019-05-30bts: move f_pad_oct() to Osmocom_Types as it's generally usefulHarald Welte1-0/+8
Change-Id: I4df99e5612c67006eb2998529425956fb4a664af
2019-05-27cosmetic: Update copyright statement, license notice and SPDXHarald Welte1-0/+10
Some of our files didn't have a copyright notice at all, let's add it. Also, update the notices in other files and ensure a SPDX identifier is present in all but the most trivial files. Change-Id: If7fa19ce484b415bc645e39b3d0d666b44b5f0fd
2019-05-02move imsi_hex2oct to Osmocom_Types.ttcnHarald Welte1-0/+19
This function is required not only for the MSC_Tests, but also for the upcoming Iu related SGSN tests Change-Id: Ic23669671ce79151046f2330726bb68542faeb0e
2018-07-24library: Ensure setverdict(fail) is followed by mtc.stopDaniel Willmann1-2/+0
This will prevent subsequent failures from overwriting the verdict so we can easily see the root cause of the test failure. Using testcase.stop instead for errors internal to our test infrastructure to mark them as test errors instead of failed. Change-Id: Idc6819aaf0b01e70c38fad828dd44dcec6bdd778
2018-03-12gprs_gb: working UL TBF with segmentationHarald Welte1-0/+9
Change-Id: I0f93246f02e1bee2e1e9db62af5e1e3559c415e9
2018-02-27Add new f_timer_safe_restart() function for warning-safe restartHarald Welte1-0/+8
TITAN will print warnings if a still-running timer is res-started. It will also warn if a not-started timer is stopped, so we need a conditional stop + start if we want to avoid any warnings in a convenient way. Change-Id: Iee83b4905cce3a84eb007ffd189b55f4b54f7cb6
2018-02-25Helper functions in GSM_Tyes and Osmocom_TypesHarald Welte1-0/+19
Change-Id: Ibd8f215a7cd4564126503c3552bbcceb6d31c779
2018-02-25Osmocom_Types: Add c_UINT16_MAX / c_UINT32_MAXHarald Welte1-0/+4
Change-Id: I99f3b08b07a46042a8c1e13a420743c58e94603b
2018-02-16bool2bit_tmpl(): Print unsupported template in failure caseHarald Welte1-1/+1
Change-Id: I53c65e3a2b71e4c9b6691969d50def69b25ddfd0
2018-02-16bool2bit_tmpl(): Fix for '?' template caseHarald Welte1-0/+1
Change-Id: I6dd3c4afdf61689a23aefc277a70cf298cb24c96
2018-02-16Osmocom_Types: Add bool2bit() and bool2bit_templ()Harald Welte1-0/+29
Those can be very handy to convert boolean values and templates to the BIT1 type that is used a lot in Ericsson code. Change-Id: I137595edabd2bbf5e6cf8bf9bdb73b3589c94c64
2018-01-26msc: Move f_sleep() to common Osmocom_Types.ttcnHarald Welte1-0/+6
Change-Id: Ic748e1dfe002cb6ee4d785e9b7f8dca34873e504
2018-01-26ggsn: Move random number helpers to Osmocom_Types.ttcnHarald Welte1-0/+33
Change-Id: I141289cbf1807e81d72f07ac1183fa48b2dc54af
2017-07-28library: Initial work on GPRS RLC/MAC encoder/decoderHarald Welte1-0/+1
For Downlink and Uplink RLC/MAC Control blocks this is already working quite nicely. Data blocks is not working, as their encoding cannot be expressed in TTCN-3 RAW syntax, and a mixture of C++/native and RAW-generated coder will be required.
2017-07-19Introduce 'library' directory for modules shared by multiple test casesHarald Welte1-0/+29