Author: jerome
Date: 2009-12-04 11:03:01 +0100 (Fri, 04 Dec 2009)
New Revision: 5931
Modified:
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/tests/AsyncTests.py
Log:
* Added contacts status changes to the test.
Modified:
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/tests/AsyncTests.py
===================================================================
---
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/tests/AsyncTests.py
2009-12-03 13:51:26 UTC (rev 5930)
+++
software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/tests/AsyncTests.py
2009-12-04 10:03:01 UTC (rev 5931)
@@ -97,6 +97,11 @@
'''
print 'Your outgoing call with %s has just finished' % contactHandle
+
+def onContactChanged(User, Status):
+ '''
+ '''
+ print '%s has gone %s' % (User, Status)
def start():
'''
@@ -118,6 +123,8 @@
asynchronious.OnOutgoingCall = onOutgoingCall
asynchronious.OnOutgoingFinished = onOutgoingFinished
+ asynchronious.OnlineContactStatusChanged = onContactChanged
+
synchronious = SynchroniousCommands(SkypeConnection)
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn