Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package Cheetah :: Package Tests :: Module SyntaxAndOutput :: Class IfDirective |
|
TestCase
--+ |OutputTest
--+ | IfDirective
IfDirective_MacEOL
,
IfDirective_Win32EOL
Method Summary | |
---|---|
simple #if block... | |
#if block using $*emptyString... | |
#if block using $*5*emptyString... | |
#if ... | |
#if# ... | |
#if <condition> then <true> else <false>... | |
#if <condition> then <true> else <false>... | |
simple #if block, with WS... | |
simple #if block, with WS and explicit closures... | |
#if block using $numOne... | |
#if block using $zero... | |
#if block using $emptyString... | |
#if ... | |
#if ... | |
#if 'not' test, with #slurp... | |
Inherited from OutputTest | |
| |
| |
| |
| |
| |
| |
| |
Inherited from TestCase | |
Create an instance of the class that will use the named test method when executed. | |
| |
| |
| |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by the '!=' operator. | |
Fail if the two objects are unequal as determined by the '!=' operator. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
| |
Run the test without collecting errors in a TestResult... | |
| |
Returns a one-line description of the test, or None if no description has been provided. | |
| |
Fail immediately, with the given message. | |
Fail the test if the expression is true. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by the '!=' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
| |
| |
| |
| |
| |
Hook method for setting up the test fixture before exercising it. | |
Returns a one-line description of the test, or None if no description has been provided. | |
Hook method for deconstructing the test fixture after testing it. | |
Setup the default meta data for the test case:... | |
|
Class Variable Summary | |
---|---|
Inherited from OutputTest | |
bool |
convertEOLs = True
|
int |
DEBUGLEV = 0 |
str |
report = '\nTemplate output mismatch: %(notes)s \n\n ...
|
list |
_searchList = [{'strip1': ' \t strippable whitespace ...
|
dict |
_templateSettings = {}
|
Inherited from TestCase | |
NoneType |
name = None |
Method Details |
---|
test1(self)simple #if block |
test10(self)#if block using $*emptyString Cache tokens are ignored unless they are on top-level placeholders |
test11(self)#if block using $*5*emptyString |
test12(self)#if ... #else if ... #else ... block using a $emptyString Same as test 8 but using else if instead of elif |
test13(self)#if# ... #else # ... block using a $emptyString with |
test14(self)#if <condition> then <true> else <false> |
test15(self)#if <condition> then <true> else <false> |
test2(self)simple #if block, with WS |
test3(self)simple #if block, with WS and explicit closures |
test4(self)#if block using $numOne |
test5(self)#if block using $zero |
test6(self)#if block using $emptyString |
test7(self)#if ... #else ... block using a $emptyString |
test8(self)#if ... #elif ... #else ... block using a $emptyString |
test9(self)#if 'not' test, with #slurp |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:07:49 2003 | http://epydoc.sf.net |