Description
TestCase implements an individual test case.
See the documentation for
TestSuite
for an example of this tag.
Known Subclasses
Known Direct Subclasses: SyncTester
Details
Properties (1)
-
name
-
<attribute name="name" />
Methods (6)
-
construct()
-
<method name="construct" args="parent, args" />
public function construct(parent, args);
-
_dbg_typename()
-
<method name="_dbg_typename" />
public function _dbg_typename();
-
debugFields()
-
<method name="debugFields" />
public function debugFields();
-
run()
-
<method name="run" args="theTestResult, theTestName" />
public function run(theTestResult, theTestName);
Run the setUp, execute the named test case, run tearDown
-
setUp()
-
Set up any framework needed to execute the test case.
Override this method in individual TestCases to provide a
framework.
-
tearDown()
-
<method name="tearDown" />
public function tearDown();
Tear down any framework after the execution of the test case.
Override this method in individual TestCases to dismantle the
framework.
LZX Synopsis
<class name="
TestCase" extends="
Test
">
<attribute name="
name
" />
<method name="
construct
" args="
parent,
args" />
<method name="
run
" args="
theTestResult,
theTestName" />
<method name="
setUp
" />
</class>
JavaScript Synopsis
public
TestCase extends
Test
{
prototype public function
construct
(
parent,
args);
prototype public function
run
(
theTestResult,
theTestName);
prototype public function
setUp
();
}