aboutsummaryrefslogtreecommitdiffstats
path: root/skype/t/irssi/skype-call.test
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2010-12-13 04:37:30 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2010-12-13 04:37:30 +0100
commita618ea653d159324a9691af06d3da42373f27be9 (patch)
tree9e7272a7297a79803ede1eb8a93110711a8d593b /skype/t/irssi/skype-call.test
parent451f1210e64b9e2a8e606dc3103d73d15b89ca8e (diff)
new testcase
Diffstat (limited to 'skype/t/irssi/skype-call.test')
-rw-r--r--skype/t/irssi/skype-call.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/skype/t/irssi/skype-call.test b/skype/t/irssi/skype-call.test
new file mode 100644
index 00000000..8f502a59
--- /dev/null
+++ b/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'