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

Class BERBaseEquality

source code

                    object --+            
                             |            
             unittest.TestCase --+        
                                 |        
                        object --+        
                                 |        
twisted.trial.unittest._Assertions --+    
                                     |    
       twisted.trial.unittest.TestCase --+
                                         |
                                        BERBaseEquality

Instance Methods [hide private]
 
testBERBaseEquality(self)
BER objects equal BER objects with same type and content
source code
 
testBERBaseInEquality(self)
BER objects do not equal BER objects with different type or content
source code

Inherited from twisted.trial.unittest.TestCase: __call__, __init__, deferSetUp, deferSetUpClass, deferTearDown, deferTearDownClass, deferTestMethod, flushLoggedErrors, getSkip, getSuppress, getTimeout, getTodo, mktemp, run, runTest, shortDescription, visit

Inherited from twisted.trial.unittest.TestCase (private): _cbDeferTestMethod, _classCleanUp, _cleanUp, _deprecateReactor, _ebDeferSetUp, _ebDeferSetUpClass, _ebDeferTearDown, _ebDeferTestMethod, _ebTearDownClass, _getReason, _installObserver, _isFirst, _isLast, _makeReactorMethod, _prepareClassFixture, _removeObserver, _run, _undeprecateReactor, _wait

Inherited from twisted.trial.unittest._Assertions: assertAlmostEqual, assertAlmostEquals, assertApproximates, assertEqual, assertEquals, assertFailure, assertFalse, assertIdentical, assertIn, assertNot, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIdentical, assertNotIn, assertNotSubstring, assertRaises, assertSubstring, assertTrue, assert_, fail, failIf, failIfAlmostEqual, failIfAlmostEquals, failIfEqual, failIfEquals, failIfIdentical, failIfIn, failIfSubstring, failUnless, failUnlessAlmostEqual, failUnlessAlmostEquals, failUnlessApproximates, failUnlessEqual, failUnlessEquals, failUnlessFailure, failUnlessFalse, failUnlessIdentical, failUnlessIn, failUnlessRaises, failUnlessSubstring, failUnlessTrue

Inherited from unittest.TestCase: __providedBy__, __repr__, __str__, countTestCases, debug, defaultTestResult, id, setUp, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from twisted.trial.unittest.TestCase (private): _initInstances

Class Variables [hide private]
  valuesToTest = ((<class ldaptor.protocols.pureber.BERInteger a...

Inherited from twisted.trial.unittest.TestCase: __implemented__, __provides__

Instance Variables [hide private]

Inherited from twisted.trial.unittest.TestCase: failureException, forceGarbageCollection, skip, suppress, timeout, todo

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

valuesToTest

Value:
pureber.BERInteger, [0], (pureber.BERInteger, [1]), (pureber.BERIntege\
r, [4000]), (pureber.BERSequence, [[pureber.BERInteger(1000), pureber.\
BERInteger(2000)]]), (pureber.BERSequence, [[pureber.BERInteger(2000),\
 pureber.BERInteger(1000)]]), (pureber.BEROctetString, ["foo"]), (pure\
ber.BEROctetString, ["b"+ chr(0xe4)+ chr(0xe4)]),