Part of nevow.livetrial.testcase View Source View In Hierarchy
Server-side component of a Nevow Interactive Test.
TestCases areathena.LiveFragments
which correspond to one or more test methods which will be invoked on the
client. They are responsible for specifying a JavaScript widget class
which defines the client portion of this set of tests, specifying a
document which will be rendered for that JavaScript widget, and defining
any methods which the client may need to invoke during the test.
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 22 | Method | render_liveTest | Undocumented |
| 31 | Method | render_testWidget | Undocumented |
| 38 | Method | getWidgetTag | Return a Nevow tag object which will be used as the top-level widget |
| 48 | Method | getTestContainer | Return a Nevow DOM object (generally a tag) with a widget
slot in
|
| 59 | Method | getWidgetDocument | Retrieve a Nevow DOM object (generally a tag) which will be placed |
| 69 | Method | head | Return objects that should be rendered inside the <head> tag of the |
| 79 | Method | __repr__ | Undocumented |
Inherited from LiveFragment:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 1381 | Method | __init__ | Undocumented |
Inherited from Fragment (via LiveFragment):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 384 | Method | get | Return the data |
| 387 | Method | rend | Turn this instance into stan suitable for displaying it in a web page. |
| 432 | Method | remember | Remember an object for an interface on new PageContexts which are |
| 443 | Method | rememberStuff | Undocumented |
Inherited from DataFactory (via LiveFragment, Fragment):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 120 | Method | child | Return a conceptual child; an attribute, or a key, |
Inherited from RenderFactory (via LiveFragment, Fragment):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 60 | Method | renderer | Return a renderer with the given name. |
Inherited from MacroFactory (via LiveFragment, Fragment):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 90 | Method | macro | Return a macro with the given name. |
Inherited from ConfigurableMixin (via LiveFragment, Fragment):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 193 | Method | getBindingNames | Expose bind_* methods and attributes on this class. |
| 200 | Method | getBinding | Massage bind_* methods and attributes into an |
| 223 | Method | getDefault | Get a default value for a given binding. If the |
| 235 | Method | postForm | Accept a form post to the given bindingName. |
Inherited from TestCase:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 448 | Method | __init__ | Construct an asynchronous test case for methodName.
|
| 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
|
| 725 | Method | run | Run the test case, storing the results in result.
|
| 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 |
| 1381 | Method | __init__ | Undocumented |
| 448 | Method | __init__ | Construct an asynchronous test case for methodName.
|
| 79 | Method | __repr__ | Undocumented |
| 120 | Method | child | Return a conceptual child; an attribute, or a key, |
| 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. |
| 384 | Method | get | Return the data |
| 200 | Method | getBinding | Massage bind_* methods and attributes into an |
| 193 | Method | getBindingNames | Expose bind_* methods and attributes on this class. |
| 223 | Method | getDefault | Get a default value for a given binding. If the |
| 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 |
| 48 | Method | getTestContainer | Return a Nevow DOM object (generally a tag) with a widget
slot in
|
| 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
|
| 59 | Method | getWidgetDocument | Retrieve a Nevow DOM object (generally a tag) which will be placed |
| 38 | Method | getWidgetTag | Return a Nevow tag object which will be used as the top-level widget |
| 69 | Method | head | Return objects that should be rendered inside the <head> tag of the |
| 90 | Method | macro | Return a macro with the given name. |
| 852 | Method | mktemp | Returns a unique name that may be used as either a temporary |
| 235 | Method | postForm | Accept a form post to the given bindingName. |
| 432 | Method | remember | Remember an object for an interface on new PageContexts which are |
| 443 | Method | rememberStuff | Undocumented |
| 387 | Method | rend | Turn this instance into stan suitable for displaying it in a web page. |
| 22 | Method | render_liveTest | Undocumented |
| 31 | Method | render_testWidget | Undocumented |
| 60 | Method | renderer | Return a renderer with the given name. |
| 725 | 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.
|
Return a Nevow tag object which will be used as the top-level widget node for this test case.
Subclasses may want to override this.Return a Nevow DOM object (generally a tag) with a widget
slot in it. This will be used as the top-level DOM for this test case,
and the actual widget will be used to fill the widget
slot.
Retrieve a Nevow DOM object (generally a tag) which will be placed inside this TestCase's widget node.
Subclasses may want to override this.Return objects that should be rendered inside the <head> tag of
the document for the test suite that this test case belongs to. Typically
instances of tags from nevow.tags.