VerificationProgressListener

public abstract class VerificationProgressListener

Provides callbacks to monitor the state of the verification.

Constructors

VerificationProgressListener

public VerificationProgressListener(APIClient client)

VerificationProgressListener

protected VerificationProgressListener(APIClient client, long objectId)

Internal constructor

Methods

finalize

protected void finalize()

getObjectId

public long getObjectId()

Internal method

getOrCreate

public static VerificationProgressListener getOrCreate(APIClient client, long objectId)

Internal method

verificationFinished

public abstract void verificationFinished(io.cocotec.coco.platform.coco.VerificationAssertion assertion)

Verification of the specified assertion finished. The assertion will have already been updated with results.

verificationFinishedAll

public abstract void verificationFinishedAll()

Verification of all assertions has finished.

verificationLogMessage

public abstract void verificationLogMessage(io.cocotec.coco.platform.coco.VerificationAssertion assertion, String message)

Outputs a log message for the given assertion. This will only be called between verification_started and verification_finished.

verificationStarted

public abstract void verificationStarted(io.cocotec.coco.platform.coco.VerificationAssertion assertion)

Verification of the specified assertion started.

verificationStatisticsUpdated

public abstract void verificationStatisticsUpdated(io.cocotec.coco.platform.coco.VerificationAssertion assertion)

Called whenever the verification’s statistics have been updated. This will only be called between verification_started and verification_finished.

verificationStatusUpdated

public abstract void verificationStatusUpdated(io.cocotec.coco.platform.coco.VerificationAssertion assertion)

The status of the assertion has changed.