source: skype/t/irssi/skype-msg.test @ 37ae52a

Last change on this file since 37ae52a was 50d453d, checked in by Miklos Vajna <vmiklos@…>, at 2009-02-17T23:38:00Z

add testcase for sending and receiving messages

  • Property mode set to 100644
File size: 605 bytes
RevLine 
[50d453d]1TESTNEEDEDVARS="TEST_SKYPE_ID TEST_SKYPE_PASSWORD"
2TESTDURATION=60
3TESTCHECKRESULT="grep '\[Test Passed\]' status.log"
4TESTLOGIN="$TEST_SKYPE_ID"
5TESTPASSWORD="$TEST_SKYPE_PASSWORD"
6### Test sending and receiving messages
7/expectbee 'Welcome to the BitlBee' -command 'msg $$C register testing'
8/expectbee 'Account successfully created' -command 'msg $$C account add skype @LOGIN@ @PASSWORD@'
9/expectbee 'Account successfully added' -command 'msg $$C account on 0'
10/expectjoin anothr.com -command 'msg $$C anothrcom: ?'
11/expectbee 'To manage, share and read your subscriptions' -command 'quit Test Passed'
Note: See TracBrowser for help on using the repository browser.