Package ldaptor :: Package test :: Module test_pureber :: Class BERBaseEquality
[show private | hide private]
[frames | no frames]

Type BERBaseEquality

    object --+        
             |        
object --+   |        
         |   |        
  TestCase --+        
             |        
   _Assertions --+    
                 |    
          TestCase --+
                     |
                    BERBaseEquality


Method Summary
  testBERBaseEquality(self)
BER objects equal BER objects with same type and content
  testBERBaseInEquality(self)
BER objects do not equal BER objects with different type or content
    Inherited from TestCase
  __init__(self, methodName)
Create an instance of the class that will use the named test method when executed.
  __call__(self, *args, **kwargs)
  deferSetUp(self, ignored, result)
  deferSetUpClass(self, result)
  deferTearDown(self, ignored, result)
  deferTearDownClass(self, ignored, result)
  deferTestMethod(self, ignored, result)
  getSkip(self)
  getSuppress(self)
  getTimeout(self)
  getTodo(self)
  mktemp(self)
will return a unique name that may be used as either a temporary directory or filename
  run(self, result)
  shortDescription(self)
Returns a one-line description of the test, or None if no description has been provided.
  visit(self, visitor)
Call visitor.visitCase(self).
    Inherited from TestCase
  __repr__(self)
  __str__(self)
  countTestCases(self)
  debug(self)
Run the test without collecting errors in a TestResult
  defaultTestResult(self)
  id(self)
  setUp(self)
Hook method for setting up the test fixture before exercising it.
  tearDown(self)
Hook method for deconstructing the test fixture after testing it.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Class Variable Summary
tuple valuesToTest = ((<class ldaptor.protocols.pureber.BERInt...
    Inherited from TestCase
Implements __implemented__ = <implementedBy twisted.trial.unittest....
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from TestCase
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Instance Method Details

testBERBaseEquality(self)

BER objects equal BER objects with same type and content

testBERBaseInEquality(self)

BER objects do not equal BER objects with different type or content

Class Variable Details

valuesToTest

Type:
tuple
Value:
((<class ldaptor.protocols.pureber.BERInteger at 0x4056089c>, [0]),
 (<class ldaptor.protocols.pureber.BERInteger at 0x4056089c>, [1]),
 (<class ldaptor.protocols.pureber.BERInteger at 0x4056089c>, [4000]),
 (<class ldaptor.protocols.pureber.BERSequence at 0x4056098c>,
  [[BERInteger(value=1000), BERInteger(value=2000)]]),
 (<class ldaptor.protocols.pureber.BERSequence at 0x4056098c>,
  [[BERInteger(value=2000), BERInteger(value=1000)]]),
 (<class ldaptor.protocols.pureber.BEROctetString at 0x405608cc>, ['fo\
...                                                                    

Generated by Epydoc 2.1 on Wed May 3 13:51:14 2006 http://epydoc.sf.net