aboutsummaryrefslogtreecommitdiffstats
path: root/Tests.st
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-27 17:48:02 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-27 17:48:02 +0200
commit9b0a1c23d0c9fa1fe666dd7863c79ecebbc4ee3b (patch)
tree1411629fa9ba139a8df7e43c9520be3c3dd12d93 /Tests.st
parent73dbc2941c25cd8899f5770369c39cd14a69b738 (diff)
gsm: Fully parse the GSM48 Channel Mode Modify message
Add the element id for the MultiRate Configuration to fully parse this message.
Diffstat (limited to 'Tests.st')
-rw-r--r--Tests.st7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests.st b/Tests.st
index 6d336da..a9c54d3 100644
--- a/Tests.st
+++ b/Tests.st
@@ -447,6 +447,13 @@ TestCase subclass: GSM48Test [
dec := GSM48MSG decode: inp readStream.
self assert: dec toMessage asByteArray = inp.
]
+
+ testChannelModeModify [
+ | dec inp |
+ inp := #(16r06 16r10 16r12 16rE3 16r69 16r41 16r03 16r02 16r28 16r04) asByteArray.
+ dec := GSM48MSG decode: inp readStream.
+ self assert: dec toMessage asByteArray = inp.
+ ]
]
SCCPHandler subclass: TestSCCPHandler [