aboutsummaryrefslogtreecommitdiffstats
path: root/Tests.st
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-04-01 15:00:25 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-04-01 15:01:05 +0200
commit34230394067cc8a7e2f940d5adc204a7fcdffbdb (patch)
tree7db7bd136c246b67cb4d2cf5b06f3187a564545d /Tests.st
parenta0257331f3c602e61c7584b8295e5aa2f58c910c (diff)
sccp: Fix the SCCPHelper>>#createRLSD.. invocation
This was spotted by the code critics of Pharo. Use the right class selector to create a Connection Released 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 f2d8dab..472f832 100644
--- a/Tests.st
+++ b/Tests.st
@@ -112,6 +112,13 @@ TestCase subclass: SCCPTests [
self assert: rlsd toMessage asByteArray = target.
]
+ testCreateRLSD [
+ | target rlsd |
+ target := #(4 154 2 0 66 5 5 0 1 0 ) asByteArray.
+ rlsd := SCCPHelper createRLSD: 16r50542 dest: 16r0029A cause: 0.
+ self assert: rlsd asByteArray = target.
+ ]
+
testRlc [
| target rlc |