class documentation

Mixin defining tests for different stream implementations.

Method doTest Undocumented
Method setUp Undocumented
Method test_attributesWithNamespaces Attributes with namespace are parsed without Exception. (https://twistedmatrix.com/trac/ticket/9730 regression test)
Method test_namespaceReuse Test that reuse of namespaces does affect an element's serialization.
Method testBasic Undocumented
Method testChildDefaultNS Undocumented
Method testChildPrefix Undocumented
Method testEmptyChildNS Undocumented
Method testHarness Undocumented
Method testNoDefaultNS Undocumented
Method testNoRootNS Undocumented
Method testUnclosedElement Undocumented
Instance Variable doc_ended Undocumented
Instance Variable doc_started Undocumented
Instance Variable elements Undocumented
Instance Variable root Undocumented
Instance Variable stream Undocumented
Instance Variable streamClass A no-argument callable which will be used to create an XML parser which can produce a stream of elements from incremental input.
Method _docEnded Undocumented
Method _docStarted Undocumented
def doTest(self, xml): (source)

Undocumented

def setUp(self): (source)

Undocumented

def test_attributesWithNamespaces(self): (source)

Attributes with namespace are parsed without Exception. (https://twistedmatrix.com/trac/ticket/9730 regression test)

def test_namespaceReuse(self): (source)

Test that reuse of namespaces does affect an element's serialization.

When one element uses a prefix for a certain namespace, this is stored in the localPrefixes attribute of the element. We want to make sure that elements created after such use, won't have this prefix end up in their localPrefixes attribute, too.

def testBasic(self): (source)

Undocumented

def testChildDefaultNS(self): (source)

Undocumented

def testChildPrefix(self): (source)

Undocumented

def testEmptyChildNS(self): (source)

Undocumented

def testHarness(self): (source)

Undocumented

def testNoDefaultNS(self): (source)

Undocumented

def testNoRootNS(self): (source)

Undocumented

def testUnclosedElement(self): (source)

Undocumented

doc_ended: bool = (source)

Undocumented

doc_started: bool = (source)

Undocumented

elements: list = (source)

Undocumented

Undocumented

Undocumented

streamClass = (source)

A no-argument callable which will be used to create an XML parser which can produce a stream of elements from incremental input.

def _docEnded(self): (source)

Undocumented

def _docStarted(self, root): (source)

Undocumented