Name

TestResult

Synopsis

LZX: TestResult
JavaScript: TestResult
Type: Class
Access: public
Topic: Development.Unit Testing
Declared in: lps/components/lzunit/lzunit.lzx

Description

A TestResult accumulates the results of a test run: the total number of tests run, the number of failures, and the number of errors. A TestResult is automatically created by a TestSuite and included as its first child view so the results of the test suite will be displayed. See the documentation for TestSuite for an example of this tag.

Superclass Chain

node (LzNode) » view (LzView) » DebugObject » TestResult

Known Subclasses

Details

Methods (3)

construct()
<method name="construct" args="parent, args" />
public function construct(parent, args);
_dbg_typename()
<method name="_dbg_typename" />
public function _dbg_typename();
myToString()
<method name="myToString" />
public function myToString();

LZX Synopsis

<class name="TestResult" extends=" DebugObject ">
  <method name=" construct " args="parent, args" />
  <method name=" _dbg_typename " />
  <method name=" myToString " />
</class>

JavaScript Synopsis

public TestResult extends  DebugObject  {
  prototype public function construct (parent, args);
  prototype public function _dbg_typename ();
  prototype public function myToString ();
}