module documentation
Tests for Perspective Broker module.
TODO: update protocol level tests to use new connection API, leaving only specific tests for old API.
Interface |
|
Interface used for testing util.LocalAsyncForwarder . |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
A server factory which stores the last connection and fires a Deferred on connection made. This factory can handle only one client connection. |
Class |
|
No class docstring; 0/2 instance variable, 1/4 method documented |
Class |
|
Test disconnection callbacks. |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
An IPerspective avatar which will be used in some tests. |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Test implementation of IForwarded . |
Class |
|
Undocumented |
Class |
|
Utility to pump data between clients and servers for protocol testing. |
Class |
|
A realm which hangs onto a reference to the mind object in its logout function. |
Class |
|
Undocumented |
Class |
|
No summary |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Tests to try to trigger memory leaks. |
Class |
|
Tests related to the twisted.cred support in PB. |
Class |
|
Undocumented |
Class |
|
No class docstring; 0/2 instance variable, 3/3 methods documented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
No class docstring; 0/4 instance variable, 5/5 methods documented |
Class |
|
Undocumented |
Class |
|
Tests for authentication against a realm where the IPerspective implementation is not a subclass of Avatar . |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Test pb objects sending data by pages. |
Class |
|
Test security customization. |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
No summary |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Tests for twisted.spread.util . |
Class |
|
A realm which repeatedly gives out a single instance of MyPerspective for non-anonymous logins and which gives out a new instance of Echoer for each anonymous login. |
Class |
|
Undocumented |
Exception |
|
Undocumented |
Function | connected |
Connect a client and server Broker together with an IOPump |
Function | connect |
Create a server and a client and connect the two with an IOPump . |
Function | create |
Factory of SimpleFactoryCopy , getting a created instance given the id found in state. |
Function | finished |
Undocumented |
Variable | big |
Undocumented |
Variable | callback |
Undocumented |
Variable | callback |
Undocumented |
Class | _ |
A fake IConnector that can fire Deferred s when its connect method is called. |
Class | _ |
Manages connection notifications for a _ReconnectingFakeConnector instance. |
Connect a client and server Broker
together with an IOPump
Parameters | |
test | Undocumented |
realm | realm to use, defaulting to a DummyRealm |
Returns | |
a 3-tuple (client, server, pump). |
Create a server and a client and connect the two with an IOPump
.
Parameters | |
test:twisted.trial.unittest.TestCase | the test case where the client and server will be used. |
clienttwisted.spread.pb.PBClientFactory | The factory that creates the client object. |
servertwisted.spread.pb.PBServerFactory | The factory that creates the server object. |
Returns | |
(twisted.spread.pb.Broker , twisted.spread.pb.Broker , IOPump ) | a 3-tuple of (client, server, pump) |