Test cases for twisted.protocols.basic.
| Class | FlippingLineTester | A line receiver that flips between line and raw data modes after one byte. |
| Class | LineTester | A line receiver that parses data received and make actions on some tokens. |
| Class | LineOnlyTester | A buffering line only receiver. |
| Class | LineReceiverTests | Test twisted.protocols.basic.LineReceiver,
using the LineTester wrapper. |
| Class | ExcessivelyLargeLineCatcher | Helper for LineReceiverLineLengthExceededTests. |
| Class | LineReceiverLineLengthExceededTests | Tests for twisted.protocols.basic.LineReceiver.lineLengthExceeded. |
| Class | LineOnlyReceiverTests | Tests for twisted.protocols.basic.LineOnlyReceiver. |
| Class | TestMixin | Undocumented |
| Class | TestNetstring | Undocumented |
| Class | LPTestCaseMixin | No class docstring; 2/2 methods documented |
| Class | NetstringReceiverTests | Tests for twisted.protocols.basic.NetstringReceiver. |
| Class | IntNTestCaseMixin | TestCase mixin for int-prefixed protocols. |
| Class | RecvdAttributeMixin | Mixin defining tests for string receiving protocols with a
recvd attribute which should be settable by application code,
to be combined with IntNTestCaseMixin
on a TestCase
subclass |
| Class | TestInt32 | A basic.Int32StringReceiver
storing received strings in an array. |
| Class | Int32Tests | Test case for int32-prefixed protocol |
| Class | TestInt16 | A basic.Int16StringReceiver
storing received strings in an array. |
| Class | Int16Tests | Test case for int16-prefixed protocol |
| Class | NewStyleTestInt16 | A new-style class version of TestInt16 |
| Class | NewStyleInt16Tests | This test case verifies that IntNStringReceiver still works when inherited by a new-style class. |
| Class | TestInt8 | A basic.Int8StringReceiver
storing received strings in an array. |
| Class | Int8Tests | Test case for int8-prefixed protocol |
| Class | OnlyProducerTransport | Transport which isn't really a transport, just looks like one to someone not looking very hard. |
| Class | ConsumingProtocol | Protocol that really, really doesn't want any more bytes. |
| Class | ProducerTests | Tests for basic._PausableMixin and
basic.LineReceiver.paused. |
| Class | FileSenderTests | Tests for basic.FileSender. |