Name

SyncTester

Synopsis

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

Superclass Chain

node (LzNode) » view (LzView) » DebugObject » Test » TestCase » SyncTester

Known Subclasses

Details

Properties (2)

current_method
<attribute name="current_method" value="${cur_meth.xpathQuery('@name')}" />
public read-only var current_method;
Helps keep track of currently executed method
tested_object
<attribute name="tested_object" type="expression" />
public var tested_object : Object;
Refers to object to be tested; this is dependent on specific test run

Methods (1)

inspect()
<method name="inspect" args="res" />
public function inspect(res);
Override this method with your specific test logic

LZX Synopsis

<class name="SyncTester" extends=" TestCase ">
  <attribute name=" current_method " value="${cur_meth.xpathQuery('@name')}" />
  <attribute name=" tested_object " type="expression" />
  <method name=" inspect " args="res" />
</class>

JavaScript Synopsis

public SyncTester extends  TestCase  {
  public read-only var current_method ;
  public var tested_object  : Object;
  prototype public function inspect (res);
}