Commit Graph

17 Commits

Author SHA1 Message Date
Harald Welte fe6ef13a9a fix MTP3 eunit test case DPC/OPC switch
Following-up to 0402b8f1ac where OPC/DPC
parsing was fixed, we also need to fix our broken teset case...
2013-09-05 23:16:11 +02:00
Harald Welte 231ae0b993 M2UA Codec: Use generic xUA codec instead 2012-05-05 23:58:21 +02:00
Harald Welte 92e783d109 rename sua_codec to generic xua_codec
SUA/M3UA/M2UA/M2PA actaully all uses almost the same message format,
so it makes sense to write one generic xua_codec and derive from that.

The current SUA implementation didn't actually contain anything SUA
specific, so we can just rename it and use xua_codec directly from the
users.
2012-04-01 19:54:20 +02:00
Harald Welte 1a82d20b59 sccp_codec: Adapt eunit test case to recent code changes
In commit 2c67ac00cc we removed
the 'encoding' parameter from the sccp_gt record.
2012-02-13 14:39:13 +01:00
Harald Welte 4e159db4a5 sua_codec: Adapt test to recent code changes
In 4d6109983b we removed a length field
from the sua_msg record, the eunit test case has to be adapted
2012-02-13 14:35:04 +01:00
Harald Welte d36ad227d9 mtp3_codec: update eunit test with recent code change
Fixes in the mtp3 parser introduced in
092443629b have to be reflected in the
test case.
2012-02-13 14:33:07 +01:00
Harald Welte 6b77daa026 add very basic sua decode / re-encode test 2012-01-18 00:29:56 +01:00
Harald Welte 1156577e8d SCCP: Make protocol_class proplist item a tuple of {Class, Options} 2011-04-15 10:37:57 +02:00
Harald Welte 2cefa1c6f9 M3UA: Add eunit tests for codec 2011-04-03 01:54:32 +02:00
Harald Welte 9586f95efb MTP3: Add field where M3UA msg can store the message priority.
Normal MTP3 headers don't have this, but for the sake of consistency
we need to store the M3UA specific MP somewhere...
2011-04-03 01:43:38 +02:00
Harald Welte c5a102cfbb GTT: Add EUNIT test cases 2011-04-02 18:15:42 +02:00
Harald Welte eba9e2527d EPCAP: return number of processed packets 2011-03-11 18:21:53 +01:00
Harald Welte 43d134c1f9 ISUP: Add test that parses, re-encodes and compares ISUP messages
This works by putting a PCAP file to ./priv/isup.pcap
2011-03-11 17:00:16 +01:00
Harald Welte fe27ae5524 ISUP: Add eunit test for IAM message 2011-03-10 10:33:59 +01:00
Harald Welte b41fd1712f add some first ISUP tests 2011-03-10 10:28:36 +01:00
Harald Welte 3cedc913c7 add eunit tests for sccp_codec and osmo_util modules 2011-03-08 19:10:52 +01:00
Harald Welte 62b5d5777f add eunit unit tests for M2UA and MTP3 codec 2011-03-08 19:02:29 +01:00