aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2009-02-18 01:01:09 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2009-02-18 01:01:09 +0100
commitacfa364dc48d343822d66da252b43d678943f82b (patch)
tree48e51340620ebf679aad27fb9f9ac3335549b9f5
parentfbd6c6932312b8ed926e82dddd972beb2fbc0760 (diff)
add test for the info command
-rw-r--r--skype/t/irssi/skype-info.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/skype/t/irssi/skype-info.test b/skype/t/irssi/skype-info.test
new file mode 100644
index 00000000..0884a89d
--- /dev/null
+++ b/skype/t/irssi/skype-info.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 receiving info 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 on 0'
+/expectjoin anothr.com -command 'msg $$C info anothrcom'
+/expectbee 'Full Name: Anothr RSS Bot' -command 'quit Test Passed'