Home | Trees | Indices | Help |
---|
|
object --+ | extension.Extension --+ | runnable.Runnable --+ | resource.Resource --+ | ResourceAdapter
A 'ResourceAdapter' converts test classes to resource classes.
If 'C' is a test class, then a class derived from 'ResourceAdapter' and 'C' (in that order!) will be a resource class. The resource class 'Setup' method is equivalent to the 'Test' class 'Run' method. The 'CleanUp' action is empty.
|
|||
Inherited from Inherited from |
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Set up the resource. 'context' -- A 'Context' giving run-time parameters to the resource. The resource may place additional variables into the 'context'; these variables will be visible to tests that depend on the resource. 'result' -- A 'Result' object. The outcome will be 'Result.PASS' when this method is called. The 'result' may be modified by this method to indicate outcomes other than 'Result.PASS' or to add annotations. This method should not return a value. Derived classes must override this method.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:41 2011 | http://epydoc.sourceforge.net |