aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2009-02-18 00:38:00 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2009-02-18 00:38:00 +0100
commit50d453d4405d52edb1405928286ae9a251518dea (patch)
treea303a191aafbfa11a38a34aec00b8c76fc013eb0
parent25a7eb88368deebb9a595d983570a149e93881dd (diff)
add testcase for sending and receiving messages
-rw-r--r--skype/t/irssi/skype-msg.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/skype/t/irssi/skype-msg.test b/skype/t/irssi/skype-msg.test
new file mode 100644
index 00000000..afb49a7b
--- /dev/null
+++ b/skype/t/irssi/skype-msg.test
@@ -0,0 +1,11 @@
+TESTNEEDEDVARS="TEST_SKYPE_ID TEST_SKYPE_PASSWORD"
+TESTDURATION=60
+TESTCHECKRESULT="grep '\[Test Passed\]' status.log"
+TESTLOGIN="$TEST_SKYPE_ID"
+TESTPASSWORD="$TEST_SKYPE_PASSWORD"
+### Test sending and receiving messages
+/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 on 0'
+/expectjoin anothr.com -command 'msg $$C anothrcom: ?'
+/expectbee 'To manage, share and read your subscriptions' -command 'quit Test Passed'