Class org.as2lib.test.unit.LoggerTestListener

Implemented Interfaces

ProcessStartListener ProcessErrorListener ProcessFinishListener ProcessPauseListener ProcessResumeListener ProcessUpdateListener

Description

LoggerTestListener is the default listener for Tests. Listener as default logger for the Testrunner. To be used as standard outwriter for the TestRunner.

See Also

Field Index

Inherited from LogSupport

Method Index

getInstance(), onProcessError(), onProcessFinish(), onProcessPause(), onProcessResume(), onProcessStart(), onProcessUpdate()

Inherited from LogSupport

Inherited from BasicClass

Method Detail

getInstance

static public function getInstance(Void):LoggerTestListener

Returns a instance of LoggerTestListener

Return

Instance of LoggerTestListener

onProcessStart

public function onProcessStart(process:Process):Void

Start event, fired by start of a TestRunner.

Parameters

Specified By

onProcessStart() in org.as2lib.app.exec.ProcessStartListener

onProcessUpdate

public function onProcessUpdate(process:Process):Void

Progress event, fired after each executed method within a TestRunner.

Parameters

Specified By

onProcessUpdate() in org.as2lib.app.exec.ProcessUpdateListener

onProcessFinish

public function onProcessFinish(process:Process):Void

Redirects the string representation of the testrunner to the logger

Parameters

Specified By

onProcessFinish() in org.as2lib.app.exec.ProcessFinishListener

onProcessPause

public function onProcessPause(process:Process):Void

Pause event, fired after by pausing the execution of a TestRunner.

Parameters

Specified By

onProcessPause() in org.as2lib.app.exec.ProcessPauseListener

onProcessResume

public function onProcessResume(process:Process):Void

Pause event, fired after by resuming the execution of a TestRunner.

Parameters

Specified By

onProcessResume() in org.as2lib.app.exec.ProcessResumeListener

onProcessError

public function onProcessError(process:Process, error):Boolean

Executed if a Exeception was thrown during the execution

Parameters

processwhere the execution paused.
errorError that occured.

Specified By

onProcessError() in org.as2lib.app.exec.ProcessErrorListener