Package sqlite3 :: Package test :: Module hooks :: Class CollationTests
[hide private]
[frames] | no frames]

type CollationTests

       object --+    
                |    
unittest.TestCase --+
                    |
                   CollationTests

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
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.
 
CheckCreateCollationNotCallable(self)
 
CheckCreateCollationNotAscii(self)
 
CheckCollationIsUsed(self)
 
CheckCollationRegisterTwice(self)
Register two different collation functions under the same name.
 
CheckDeregisterCollation(self)
Register a collation, then deregister it.

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Method Details [hide private]

setUp(self)

 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.TestCase.setUp
(inherited documentation)

tearDown(self)

 

Hook method for deconstructing the test fixture after testing it.

Overrides: unittest.TestCase.tearDown
(inherited documentation)

CheckCollationRegisterTwice(self)

 

Register two different collation functions under the same name. Verify that the last one is actually used.

CheckDeregisterCollation(self)

 

Register a collation, then deregister it. Make sure an error is raised if we try to use it.