Package integration :: Module test_gui_event_integration :: Class TestStatusChange
[hide private]
[frames] | no frames]

Class TestStatusChange

source code


tests gajim.py's incredibly complex handle_event_notify
Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code
 
contact_comes_online(self, account, jid, resource, prio)
a remote contact comes online
source code
 
contact_goes_offline(self, account, jid, resource, prio, still_exists=True)
a remote contact goes offline.
source code
 
user_starts_chatting(self, jid, account, resource=None)
the user opens a chat window and starts talking
source code
 
user_starts_esession(self, jid, resource, account)
the user opens a chat window and starts an encrypted session
source code
 
test_contact_comes_online(self) source code
 
test_contact_goes_offline(self) source code
 
test_two_resources_higher_comes_online(self) source code
 
test_two_resources_higher_goes_offline(self) source code
 
test_two_resources_higher_comes_online_with_esession(self) source code
 
test_two_resources_higher_goes_offline_with_esession(self) source code

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Method Details [hide private]

setUp(self)

source code 
Hook method for setting up the test fixture before exercising it.
Overrides: unittest.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 
Hook method for deconstructing the test fixture after testing it.
Overrides: unittest.TestCase.tearDown
(inherited documentation)

contact_comes_online(self, account, jid, resource, prio)

source code 
a remote contact comes online

contact_goes_offline(self, account, jid, resource, prio, still_exists=True)

source code 
a remote contact goes offline.

user_starts_chatting(self, jid, account, resource=None)

source code 
the user opens a chat window and starts talking

user_starts_esession(self, jid, resource, account)

source code 
the user opens a chat window and starts an encrypted session

test_contact_comes_online(self)

source code 

test_contact_goes_offline(self)

source code 

test_two_resources_higher_comes_online(self)

source code 

test_two_resources_higher_goes_offline(self)

source code 

test_two_resources_higher_comes_online_with_esession(self)

source code 

test_two_resources_higher_goes_offline_with_esession(self)

source code