getPreDescriptionString

Class: matlab.unittest.diagnostics.ConstraintDiagnostic
Package: matlab.unittest.diagnostics

Returns text to be displayed prior to description

Syntax

str = getPreDescriptionString(constDiag)

Description

str = getPreDescriptionString(constDiag) returns text to be displayed prior to the description. This method can be overridden to inject character vectors prior to displaying the Description property of the ConstraintDiagnostic. The location of this text is tied to the Description property. Its placement relative to other fields is not guaranteed.

Input Arguments

constDiag

matlab.unittest.diagnostics.ConstraintDiagnostic instance.