Software /
code /
prosody
Annotate
spec/scansion/keep_full_sub_req.scs @ 9668:6fbf8fa7ab8e
spec/keep_full_sub_req: Add missing type attribute
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Dec 2018 18:02:58 +0100 |
parent | 9667:e41d8b12cb47 |
child | 9669:8c3ef65ecb40 |
rev | line source |
---|---|
9667
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 # server MUST keep a record of the complete presence stanza comprising the subscription request (#689) |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 [Client] Alice |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 jid: pars-a@localhost |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 password: password |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 [Client] Bob |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 jid: pars-b@localhost |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 password: password |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 --------- |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
13 Alice connects |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
14 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 Alice sends: |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 <presence to="${Bob's JID}" type="subscribe"> |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 <preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" /> |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
18 </presence> |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
19 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 Alice disconnects |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 Bob connects |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 Bob sends: |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
25 <presence/> |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
26 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
27 Bob receives: |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
28 <presence from="${Bob's full JID}"/> |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
29 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
30 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
31 Bob receives: |
9668
6fbf8fa7ab8e
spec/keep_full_sub_req: Add missing type attribute
Kim Alvefur <zash@zash.se>
parents:
9667
diff
changeset
|
32 <presence from="${Alice's JID}" type="subscribe"> |
9667
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
33 <preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" /> |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
34 </presence> |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
35 |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
36 Bob disconnects |
e41d8b12cb47
tests: Add scansion test for #689 about keeping the full subscription request stanza
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
37 |