summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-07-24 11:50:45 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-07-24 11:50:45 +0200
commit61a7928236efef5c31a597d663f25bfca25cc740 (patch)
tree224e5623e85ccb3b28c8b0320992579235e121de
parent54d9f2059ba57c3c90c1b27b11128b8a0b1b0b55 (diff)
cseq: Use asString for portability with pharo
-rw-r--r--callagent/tests/SIPCallAgentTest.st8
-rw-r--r--callagent/tests/SIPRegisterTransactionTest.st4
2 files changed, 6 insertions, 6 deletions
diff --git a/callagent/tests/SIPCallAgentTest.st b/callagent/tests/SIPCallAgentTest.st
index b95db35..6e56fd4 100644
--- a/callagent/tests/SIPCallAgentTest.st
+++ b/callagent/tests/SIPCallAgentTest.st
@@ -26,7 +26,7 @@ TestCase subclass: SIPCallAgentTest [
nextPutAll: 'BYE sip:127.0.0.1 SIP/2.0'; cr; nl;
nextPutAll: 'Via: SIP/2.0/UDP 127.0.0.1:5060;branch='; nextPutAll: aBranch; cr; nl;
nextPutAll: 'Max-Forwards: 70'; cr; nl;
- nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' BYE'; cr; nl;
+ nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' BYE'; cr; nl;
nextPutAll: 'Call-Id: '; nextPutAll: aCallId; cr; nl;
nextPutAll: 'To: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
nextPutAll: 'From: <sip:st@127.0.0.1>;tag=123'; cr; nl;
@@ -69,7 +69,7 @@ TestCase subclass: SIPCallAgentTest [
nextPutAll: 'SIP/2.0 200 OK'; cr; nl;
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
nextPutAll: 'Content-Length: 0'; cr; nl;
- nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' INVITE'; cr; nl;
+ nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' INVITE'; cr; nl;
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
nextPutAll: 'To: <sip:st@127.0.0.1>;tag=123'; cr; nl;
nextPutAll: 'Via: SIP/2.0/UDP 127.0.0.1:5060;branch='; nextPutAll: aBranch; cr; nl;
@@ -104,7 +104,7 @@ TestCase subclass: SIPCallAgentTest [
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
nextPutAll: 'To: <sip:st@127.0.0.1>'; cr; nl;
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
- nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' INVITE'; cr; nl;
+ nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' INVITE'; cr; nl;
nextPutAll: 'WWW-Authenticate: Digest realm="Yate", nonce="373ef30b297545cbce99fad09f1409cb.1392124197", stale=TRUE, algorithm=MD5'; cr; nl;
nextPutAll: 'Server: YATE/5.1.0'; cr; nl;
nextPutAll: 'Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER'; cr; nl;
@@ -121,7 +121,7 @@ TestCase subclass: SIPCallAgentTest [
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
nextPutAll: 'To: <sip:st@127.0.0.1>'; cr; nl;
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
- nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' INVITE'; cr; nl;
+ nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' INVITE'; cr; nl;
nextPutAll: 'Server: YATE/5.1.0'; cr; nl;
nextPutAll: 'Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER'; cr; nl;
nextPutAll: 'Content-Length: 0'; cr; nl;
diff --git a/callagent/tests/SIPRegisterTransactionTest.st b/callagent/tests/SIPRegisterTransactionTest.st
index fcc239b..1a6cee9 100644
--- a/callagent/tests/SIPRegisterTransactionTest.st
+++ b/callagent/tests/SIPRegisterTransactionTest.st
@@ -27,7 +27,7 @@ TestCase subclass: SIPRegisterTransactionTest [
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
nextPutAll: 'To: <sip:st@127.0.0.1>'; cr; nl;
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
- nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' REGISTER'; cr; nl;
+ nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' REGISTER'; cr; nl;
nextPutAll: 'WWW-Authenticate: Digest realm="Yate", nonce="2ea525666844d310cd6d23cd6869b8fd.1393336640", stale=FALSE, algorithm=MD5'; cr; nl;
nextPutAll: 'Server: YATE/5.1.0'; cr; nl;
nextPutAll: 'Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO'; cr; nl;
@@ -43,7 +43,7 @@ TestCase subclass: SIPRegisterTransactionTest [
nextPutAll: 'From: <sip:st@127.0.0.1>;tag='; nextPutAll: aTag; cr; nl;
nextPutAll: 'To: <sip:st@127.0.0.1>'; cr; nl;
nextPutAll: 'Call-ID: '; nextPutAll: aCallId; cr; nl;
- nextPutAll: 'CSeq: '; nextPutAll: aCseq displayString; nextPutAll: ' REGISTER'; cr; nl;
+ nextPutAll: 'CSeq: '; nextPutAll: aCseq asString; nextPutAll: ' REGISTER'; cr; nl;
nextPutAll: 'WWW-Authenticate: Digest realm="Yate", nonce="2ea525666844d310cd6d23cd6869b8fd.1393336640", stale=FALSE, algorithm=MD5'; cr; nl;
nextPutAll: 'Server: YATE/5.1.0'; cr; nl;
nextPutAll: 'Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO'; cr; nl;