Table of Contents

Module: test_toc Twisted-0.17.4/twisted/test/test_toc.py
Imported modules   
import StringIO
from pyunit import unittest
from struct import pack, unpack
from twisted.protocols import toc, protocol
Functions   
flap
readFlap
testSuite
  flap 
flap ( type,  data )

  readFlap 
readFlap ( data )

  testSuite 
testSuite ()

Classes   
DummyTOC

used to override authentication, now overrides printing.

StringIOWithoutClosing
TOCGeneralTestCase

general testing of TOC functions.

TOCMultiPacketTestCase

i saw this problem when using GAIM. It only read the flaps onces per dataReceived, and would basically block if it ever received two packets together in one dataReceived. this tests for that occurance.

TOCPrivacyTestCase
TOCSavedValuesTestCase

Table of Contents

This document was automatically generated on Sat Apr 20 01:31:40 2002 by HappyDoc version 2.0