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

Module lemon.external.Cheetah.Tests.CheetahWrapper

Tests for the 'cheetah' command.

Besides unittest usage, recognizes the following command-line options:
    --list CheetahWrapper.py
        List all scenarios that are tested.  The argument is the path
        of this script.
     --nodelete
        Don't delete scratch directory at end.
     --output
        Show the output of each subcommand.  (Normally suppressed.)

Meta-Data
================================================================================
Author: Mike Orr <iron@mso.oz.net>,
Version: $Revision: 1.1 $
Start Date: 2001/10/01
Last Revision Date: $Date: 2003/08/12 09:17:11 $

Classes
CFBase Base class for "cheetah compile" and "cheetah fill" unit tests.
CFIdirBase Subclass for tests with --idir.
Flat  
FlatRecurseCollision  
IdirFlatRecurseCollision  
IdirOdirRecurse  
IdirRecurse  
MyOptionParser Disable the standard --help and --verbose options since --help is used for another purpose.
NoBackup Run the command twice each time and verify a backup file is *not* created.
OneFile  
OneFileNoExtension  
OneFileWithOdir  
RecurseExplicit  
RecurseExplicitWIthOdir  
RecurseImplicit  
SplatTmpl  
SplatTmplWithSubdirectories  
ThreeFilesWithSubdirectories  
ThreeFilesWithSubdirectoriesNoExtension  
VarietyWithOdir  

Function Summary
  listTests(cheetahWrapperFile)
cheetahWrapperFile, string, path of this script.
  main()
  warn(msg)

Variable Summary
str __author__ = 'Mike Orr <iron@mso.oz.net>'
str __revision__ = '1.1'
str BACKUP_SUFFIX = '_bak'

Function Details

listTests(cheetahWrapperFile)

cheetahWrapperFile, string, path of this script.

XXX TODO: don't print test where expectError is true.

Variable Details

__author__

Type:
str
Value:
'Mike Orr <iron@mso.oz.net>'                                           

__revision__

Type:
str
Value:
'1.1'                                                                  

BACKUP_SUFFIX

Type:
str
Value:
'_bak'                                                                 

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