Home | Trees | Index | Help |
---|
Package svnmailer :: Package _test :: Package suite :: Module struct :: Class RegexSetterTestCase |
|
object
--+ |TestCase
--+ |structTestBase
--+ | RegexSetterTestCase
Method Summary | |
---|---|
_getRegexSetter returns a function reference | |
Regex setter accepts strings, unicode and regexps | |
Regex setter rejects foreign types | |
Regex setter converts strings to unicode | |
Regex setter passes unicode strings through | |
Regex setter raises ValueError on invalid regexps | |
Inherited from structTestBase | |
import the struct module | |
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 their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
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 their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
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... | |
| |
Fail immediately, with the given message. | |
Fail the test if the expression is true. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
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 their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
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. | |
Hook method for deconstructing the test fixture after testing it. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... |
Method Details |
---|
test00LambdaReturn(self)_getRegexSetter returns a function reference |
test01ValidSetting(self)Regex setter accepts strings, unicode and regexps |
test02InvalidSetting(self)Regex setter rejects foreign types |
test03Conversion(self)Regex setter converts strings to unicode |
test04Unicode(self)Regex setter passes unicode strings through |
test05ValueError(self)Regex setter raises ValueError on invalid regexps |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Feb 14 16:49:17 2005 | http://epydoc.sf.net |