Comparison

spec/scansion/extdisco.scs @ 13405:c8f3cfe59e90

scansion: Use captures or wildcards instead of mocking time > Mockery is one of the things I hold dear! And he's making a mockery of it!! -- Belkar Bitterleaf
author Kim Alvefur <zash@zash.se>
date Sun, 17 Dec 2023 16:29:03 +0100
parent 11753:c4599a7c534c
comparison
equal deleted inserted replaced
13404:034c7af177f0 13405:c8f3cfe59e90
15 15
16 Romeo receives: 16 Romeo receives:
17 <iq type='result' id='lx2' from='localhost'> 17 <iq type='result' id='lx2' from='localhost'>
18 <services xmlns='urn:xmpp:extdisco:2'> 18 <services xmlns='urn:xmpp:extdisco:2'>
19 <service host='default.example' transport='udp' port='9876' type='stun'/> 19 <service host='default.example' transport='udp' port='9876' type='stun'/>
20 <service port='9876' type='turn' restricted='1' password='yHYYBDN7M3mdlug0LTdJbW0GvvQ=' transport='udp' host='default.example' username='1219525744'/> 20 <service port='9876' type='turn' restricted='1' password='{scansion:any}' transport='udp' host='default.example' username='{scansion:any}'/>
21 <service port='9876' type='turn' restricted='1' password='1Uc6QfrDhIlbK97rGCUQ/cUICxs=' transport='udp' host='default.example' username='1219525744'/> 21 <service port='9876' type='turn' restricted='1' password='{scansion:any}' transport='udp' host='default.example' username='{scansion:any}'/>
22 <service port='2121' type='ftp' restricted='1' password='password' transport='tcp' host='default.example' username='john'/> 22 <service port='2121' type='ftp' restricted='1' password='password' transport='tcp' host='default.example' username='john'/>
23 <service port='21' type='ftp' restricted='1' password='password' transport='tcp' host='ftp.example.com' username='john'/> 23 <service port='21' type='ftp' restricted='1' password='password' transport='tcp' host='ftp.example.com' username='john'/>
24 </services> 24 </services>
25 </iq> 25 </iq>
26 26
45 </iq> 45 </iq>
46 46
47 Romeo receives: 47 Romeo receives:
48 <iq type='result' id='lx4' from='localhost'> 48 <iq type='result' id='lx4' from='localhost'>
49 <credentials xmlns='urn:xmpp:extdisco:2'> 49 <credentials xmlns='urn:xmpp:extdisco:2'>
50 <service port='9876' type='turn' restricted='1' password='yHYYBDN7M3mdlug0LTdJbW0GvvQ=' transport='udp' host='default.example' username='1219525744'/> 50 <service port='9876' type='turn' restricted='1' password='{scansion:any}' transport='udp' host='default.example' username='{scansion:any}'/>
51 <service port='9876' type='turn' restricted='1' password='1Uc6QfrDhIlbK97rGCUQ/cUICxs=' transport='udp' host='default.example' username='1219525744'/> 51 <service port='9876' type='turn' restricted='1' password='{scansion:any}' transport='udp' host='default.example' username='{scansion:any}'/>
52 </credentials> 52 </credentials>
53 </iq> 53 </iq>
54 54
55 Romeo sends: 55 Romeo sends:
56 <iq type='get' xml:lang='sv' id='lx5' to='localhost'> 56 <iq type='get' xml:lang='sv' id='lx5' to='localhost'>