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

Class BERBaseEquality

TestCase --+
           |
          BERBaseEquality


Method Summary
  testBERBaseEquality(self)
BER objects equal BER objects with same type and content
  testBERBaseInEquality(self)
BER objects and not equal to BER objects with different type or content
    Inherited from TestCase
  assert_(self, condition, message)
  assertApproximates(self, first, second, tolerance, msg)
  assertEqual(self, first, second, msg)
  assertEquals(self, first, second, msg)
  assertIdentical(self, first, second, msg)
  assertIn(self, containee, container, msg)
  assertNotEqual(self, first, second, msg)
  assertNotEquals(self, first, second, msg)
  assertNotIdentical(self, first, second, msg)
  assertNotIn(self, containee, container, msg)
  assertRaises(self, exception, f, *args, **kwargs)
  fail(self, message)
  failIf(self, condition, message)
  failIfEqual(self, first, second, msg)
  failIfEquals(self, first, second, msg)
  failIfIdentical(self, first, second, msg)
  failIfIn(self, containee, container, msg)
  failUnless(self, condition, message)
  failUnlessEqual(self, first, second, msg)
  failUnlessIdentical(self, first, second, msg)
  failUnlessIn(self, containee, container, msg)
  failUnlessRaises(self, exception, f, *args, **kwargs)
  mktemp(self)
  runReactor(self, timesOrSeconds, seconds)
I'll iterate the reactor for a while.
  setUp(self)
  setUpClass(self)
  tearDown(self)
  tearDownClass(self)

Class Variable Summary
tuple valuesToTest = ((<class ldaptor.protocols.pureber.BERInt...
    Inherited from TestCase
NoneType expectedAssertions = None                                                                  

Method Details

testBERBaseEquality(self)

BER objects equal BER objects with same type and content

testBERBaseInEquality(self)

BER objects and not equal to BER objects with different type or content

Class Variable Details

valuesToTest

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

Generated by Epydoc 2.0 on Fri Mar 12 17:21:11 2004 http://epydoc.sf.net