Part of nevow.testutil View Source View In Hierarchy
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 324 | Method | __init__ | Construct an asynchronous test case for methodName.
|
| 329 | Method | checkDependencies | Check that all the dependencies of the test are satisfied. |
| 352 | Method | createSource | Return a string of JavaScript source code which, when executed, will |
| 372 | Method | makeScript | Write JavaScript source for executing the JavaScript unit tests in |
| 400 | Method | run | Run the test case, storing the results in result.
|
Inherited from TestCase:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 530 | Method | shortDescription | Undocumented |
| 536 | Method | __call__ | Undocumented |
| 539 | Method | deferSetUpClass | Undocumented |
| 562 | Method | deferSetUp | Undocumented |
| 578 | Method | deferTestMethod | Undocumented |
| 609 | Method | deferTearDown | Undocumented |
| 621 | Method | deferTearDownClass | Undocumented |
| 703 | Method | flushLoggedErrors | Remove stored errors received from the log. |
| 718 | Method | runTest | If no methodName argument is passed to the constructor,
run
will
|
| 785 | Method | getSkip | Return the skip reason set on this test, if any is set. Checks on the |
| 795 | Method | getTodo | Return a Todo object if the test is marked todo. Checks
on the
|
| 808 | Method | getTimeout | Returns the timeout value set on this test. Checks on the instance |
| 829 | Method | getSuppress | Returns any warning suppressions set for this test. Checks on the |
| 840 | Method | visit | Visit this test case. Call visitor with self
as a parameter.
|
| 852 | Method | mktemp | Returns a unique name that may be used as either a temporary |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 536 | Method | __call__ | Undocumented |
| 324 | Method | __init__ | Construct an asynchronous test case for methodName.
|
| 329 | Method | checkDependencies | Check that all the dependencies of the test are satisfied. |
| 352 | Method | createSource | Return a string of JavaScript source code which, when executed, will |
| 562 | Method | deferSetUp | Undocumented |
| 539 | Method | deferSetUpClass | Undocumented |
| 609 | Method | deferTearDown | Undocumented |
| 621 | Method | deferTearDownClass | Undocumented |
| 578 | Method | deferTestMethod | Undocumented |
| 703 | Method | flushLoggedErrors | Remove stored errors received from the log. |
| 785 | Method | getSkip | Return the skip reason set on this test, if any is set. Checks on the |
| 829 | Method | getSuppress | Returns any warning suppressions set for this test. Checks on the |
| 808 | Method | getTimeout | Returns the timeout value set on this test. Checks on the instance |
| 795 | Method | getTodo | Return a Todo object if the test is marked todo. Checks
on the
|
| 372 | Method | makeScript | Write JavaScript source for executing the JavaScript unit tests in |
| 852 | Method | mktemp | Returns a unique name that may be used as either a temporary |
| 400 | Method | run | Run the test case, storing the results in result.
|
| 718 | Method | runTest | If no methodName argument is passed to the constructor,
run
will
|
| 530 | Method | shortDescription | Undocumented |
| 840 | Method | visit | Visit this test case. Call visitor with self
as a parameter.
|
methodName.
| Parameters | methodName | The name of a method on self. This method should be a
unit test. That is, it should be a short method that calls some of the
assert* methods. If methodName is unspecified,
runTest will be used as the test method. This is mostly
useful for testing Trial.
|
| Raises | NotSupported | If any one of the dependencies is not satisfied. |
| Parameters | testModule | The JavaScript module name which contains the tests to run.
(type: str
) |
| Returns | (type: str
) | |
| Parameters | testModule | The JavaScript module name which contains the tests to run.
(type: str
) |
| Returns | (type: str
) | |
Run the test case, storing the results in result.
setUp on self, then runs the test method
(defined in the constructor), then runs tearDown. Any of
these may return Deferreds. After they complete, does some
reactor cleanup.
| Parameters | result | A TestResult object.
|