diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-04-12 02:10:57 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-04-12 02:10:57 +0200 |
commit | 43b1cd7ac2a55145f9a80c5af505308c788f4b90 (patch) | |
tree | 8bc68ee925f13e8aa0c013eee855eebb811980d5 /protocols/skype/t/irssi/skype-call.test | |
parent | 6220254c1ecebce81ab765260ec0af3c3818f9a6 (diff) | |
parent | 9c97a03e2ec68559c21f319caca5cee94133f6b7 (diff) |
Merge bitlbee-skype into bitlbee
Diffstat (limited to 'protocols/skype/t/irssi/skype-call.test')
-rw-r--r-- | protocols/skype/t/irssi/skype-call.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/protocols/skype/t/irssi/skype-call.test b/protocols/skype/t/irssi/skype-call.test new file mode 100644 index 00000000..8f502a59 --- /dev/null +++ b/protocols/skype/t/irssi/skype-call.test @@ -0,0 +1,13 @@ +TESTNEEDEDVARS="TEST_SKYPE_ID TEST_SKYPE_PASSWORD" +TESTDURATION=60 +TESTCHECKRESULT="grep '\[Test Passed\]' status.log" +TESTLOGIN="$TEST_SKYPE_ID" +TESTPASSWORD="$TEST_SKYPE_PASSWORD" +### Test receiving call output +/expectbee 'Welcome to the BitlBee' -command 'msg $$C register testing' +/expectbee 'Account successfully created' -command 'msg $$C account add skype @LOGIN@ @PASSWORD@' +/expectbee 'Account successfully added' -command 'msg $$C account 0 set test_join true' +/expectbee 'test_join' -command 'msg $$C account 0 on' +/expectjoin echo123 -command 'ctcp echo123 call' +/expectbee 'You are currently ringing the user' -command 'ctcp echo123 hangup' +/expectbee '(You cancelled the call|You finished the call)' -command 'quit Test Passed' |