Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package Cheetah :: Package Tests :: Module SyntaxAndOutput :: Class Backslashes |
|
TestCase
--+ |OutputTest
--+ | Backslashes
Method Summary | |
---|---|
Hook method for setting up the test fixture before exercising it. | |
Hook method for deconstructing the test fixture after testing it. | |
a single \ using rawstrings... | |
a single \ using rawstrings and lots of lines... | |
a single \ without using rawstrings... | |
single line from an apache conf file... | |
single line from an apache conf file with many NEWLINES The NEWLINES are used to make sure that MethodCompiler.commitStrConst() is handling long and short strings in the same fashion. | |
test backslash handling in an included file... | |
a single \ without using rawstrings plus many NEWLINES... | |
single line from an apache conf file with single quotes and many NEWLINES... | |
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. | |
| |
| |
| |
| |
| |
Returns a one-line description of the test, or None if no description has been provided. |
Class Variable Summary | |
---|---|
bool |
convertEOLs = False
|
Inherited from OutputTest | |
int |
DEBUGLEV = 0 |
str |
report = '\nTemplate output mismatch: %(notes)s \n\n ...
|
Inherited from TestCase | |
NoneType |
name = None |
Method Details |
---|
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.
|
test1(self)a single \ using rawstrings |
test2(self)a single \ using rawstrings and lots of lines |
test3(self)a single \ without using rawstrings |
test4(self)single line from an apache conf file |
test5(self)single line from an apache conf file with many NEWLINES The NEWLINES are used to make sure that MethodCompiler.commitStrConst() is handling long and short strings in the same fashion. It uses triple-quotes for strings with lots of \n in them and repr(theStr) for shorter strings with only a few newlines. |
test6(self)test backslash handling in an included file |
test7(self)a single \ without using rawstrings plus many NEWLINES |
test8(self)single line from an apache conf file with single quotes and many NEWLINES |
Class Variable Details |
---|
convertEOLs
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:07:46 2003 | http://epydoc.sf.net |