Description
A TestSuite is a view with any number of children. The children
that are TestCases will have all their test... methods run when the
TestSuite is displayed.
The TestSuite creates a TestResult as its first child, uses it to
accumulate the results of running the TestCases, and finally to
display the results of the tests.
Details
Methods (4)
-
addTest()
-
<method name="addTest" args="theTest" />
public function addTest(theTest);
Manually add a TestCase to the TestSuite.
-
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();
Events (5)
-
onsuitefinish
-
<attribute name="onsuitefinish" />
public event onsuitefinish;
-
onsuitestart
-
<attribute name="onsuitestart" />
public event onsuitestart;
-
ontestfail
-
<attribute name="ontestfail" />
-
ontestfinish
-
<attribute name="ontestfinish" />
public event ontestfinish;
-
onteststart
-
<attribute name="onteststart" />
public event onteststart;
LZX Synopsis
<class name="
TestSuite" extends="
Test
">
<method name="
addTest
" args="
theTest" />
<method name="
construct
" args="
parent,
args" />
</class>
JavaScript Synopsis
public
TestSuite extends
Test
{
prototype public function
addTest
(
theTest);
prototype public function
construct
(
parent,
args);
}