diff --git a/mod_mix/tests/mix.scs b/mod_mix/tests/mix.scs new file mode 100644 index 0000000..4cbc871 --- /dev/null +++ b/mod_mix/tests/mix.scs @@ -0,0 +1,99 @@ +# MIX test suite for creating, joining and deleting a channel +[Client] Romeo + jid: testuser1@test.polynom.me + password: abc123 + connect_host: 244.1.0.2 + connect_port: 5222 + +--------- + +Romeo connects + +# Create a channel +Romeo sends: + + + + +Romeo receives: + + + + +# Join the channel without assist of MIX-PAM +Romeo sends: + + + + + + + third witch + + + +# Since we only implement MIX-CORE, only :messages, :participants and +# :info should be returned +Romeo receives: + + + + + + third witch + + + +# Change the nickname +Romeo sends: + + + THE third witch + + + +Romeo receives: + + + THE third witch + + + +# Attempt to join a second time +Romeo sends: + + + + + + + THE third witch + + + +Romeo receives: + + + + + + +# Leave the channel without assist of MIX-PAM +Romeo sends: + + + + +Romeo receives: + + + + +# Destroy the newly created channel +Romeo sends: + + + + +Romeo receives: +