Class org.as2lib.app.conf.UnitTestExecution

org.as2lib.app.exec.AbstractProcess
   +--org.as2lib.app.conf.UnitTestExecution

Implemented Interfaces

Process

Description

Prepared configuration to execute Testcases.

Use this class to simplify your configuration for the execution of Testcases.

As common for as2lib configuration you can use this configuration within your application execution to start and configure a TestSystem. Example: import org.as2lib.app.conf.AbstractConfiguration; import com.domain.test.* class main.Configuration extends AbstractConfiguration { public static function init(Void):Void { init(UnitTestExecution); } public function setReferences(Void):Void { use(MyTestCase); use(MyTestCase2); use(MyTestCase3); } }

Method Index

run()

Inherited from AbstractProcess

addAllProcessListeners(), addProcessListener(), getAllProcessListeners(), getParentProcess(), getPercentage(), hasFinished(), hasStarted(), isPaused(), isRunning(), onFinishProcess(), onPauseProcess(), onProcessError(), onResumeProcess(), onStartProcess(), onUpdateProcess(), pause(), removeAllProcessListeners(), removeProcessListener(), resume(), setParentProcess(), start(), startSubProcess()

Method Detail

run

public function run(Void):Void

Runs all available Testcases.