Package libxyz :: Package parser :: Module tests :: Class TestRegexp
[hide private]
[frames] | no frames]

Class TestRegexp

source code

unittest.TestCase --+
                    |
                   TestRegexp

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
testCBFailure(self)
Test for callback raising exceptions
source code
 
testCBSuccess(self)
Test for callback success
source code
 
testUnmatched(self)
Test for umatched line
source code

Inherited from unittest.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __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, setUp, shortDescription, tearDown

Inherited from unittest.TestCase (private): _exc_info

Class Variables [hide private]
  res = False
Method Details [hide private]

testCBFailure(self)

source code 

Test for callback raising exceptions

Decorators:
  • @raises(ParseError)

testUnmatched(self)

source code 

Test for umatched line

Decorators:
  • @raises(ParseError)