Package lemon :: Package external :: Package Cheetah :: Package Tests :: Module CheetahWrapper :: Class CFIdirBase
[show private | hide private]
[frames | no frames]

Class CFIdirBase

TestCase --+    
           |    
      CFBase --+
               |
              CFIdirBase

Known Subclasses:
IdirFlatRecurseCollision, IdirOdirRecurse, IdirRecurse

Subclass for tests with --idir.

Method Summary
    Inherited from CFBase
  checkCompile(self, path)
  checkFill(self, path)
  checkNoBackup(self, path)
Verify 'path' does not exist.
  checkSubdirPyInit(self, path)
Verify a destination subdirectory exists and contains an __init__.py file.
  go(self, cmd, expectedStatus, expectedOutputSubstring)
Run a "cheetah compile" or "cheetah fill" subcommand.
  goExpectError(self, cmd)
Run a subcommand and expect it to fail.
  inform(self, message)
  setUp(self)
Create the top-level directories, subdirectories and .tmpl files.
  tearDown(self)
Hook method for deconstructing the test fixture after testing it.
    Inherited from TestCase
  __init__(self, methodName)
Create an instance of the class that will use the named test method when executed.
  __call__(self, result)
  __repr__(self)
  __str__(self)
  assert_(self, expr, msg)
Fail the test unless the expression is true.
  assertEqual(self, first, second, msg)
Fail if the two objects are unequal as determined by the '!=' operator.
  assertEquals(self, first, second, msg)
Fail if the two objects are unequal as determined by the '!=' operator.
  assertNotEqual(self, first, second, msg)
Fail if the two objects are equal as determined by the '==' operator.
  assertNotEquals(self, first, second, msg)
Fail if the two objects are equal as determined by the '==' operator.
  assertRaises(self, excClass, callableObj, *args, **kwargs)
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs.
  countTestCases(self)
  debug(self)
Run the test without collecting errors in a TestResult...
  defaultTestResult(self)
  describe(self)
Returns a one-line description of the test, or None if no description has been provided.
  explain(self)
  fail(self, msg)
Fail immediately, with the given message.
  failIf(self, expr, msg)
Fail the test if the expression is true.
  failIfEqual(self, first, second, msg)
Fail if the two objects are equal as determined by the '==' operator.
  failUnless(self, expr, msg)
Fail the test unless the expression is true.
  failUnlessEqual(self, first, second, msg)
Fail if the two objects are unequal as determined by the '!=' operator.
  failUnlessRaises(self, excClass, callableObj, *args, **kwargs)
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs.
  id(self)
  run(self, result)
  setDescription(self, descr)
  setExplanation(self, expln)
  setId(self, id)
  shortDescription(self)
Returns a one-line description of the test, or None if no description has been provided.

Class Variable Summary
str srcDir = 'SRC'
tuple srcFiles = ('SRC/a.tmpl', 'SRC/child/a.tmpl', 'SRC/child...
tuple subdirs = ('SRC/child', 'SRC/child/grandkid')
    Inherited from CFBase
bool expectError = False
    Inherited from TestCase
NoneType name = None                                                                  

Class Variable Details

srcDir

Type:
str
Value:
'SRC'                                                                  

srcFiles

Type:
tuple
Value:
('SRC/a.tmpl', 'SRC/child/a.tmpl', 'SRC/child/grandkid/a.tmpl')        

subdirs

Type:
tuple
Value:
('SRC/child', 'SRC/child/grandkid')                                    

Generated by Epydoc 2.0 on Mon Nov 10 15:08:02 2003 http://epydoc.sf.net