Package: matlab.unittest.diagnostics
Superclasses: matlab.unittest.diagnostics.Diagnostic
Diagnostic using string
The StringDiagnostic
class provides a diagnostic
result that uses a string. When the diagnostic information is known
at the time of construction, the StringDiagnostic
is
a means to provide quick diagnostic information.
When using matlab.unittest
qualifications,
a string can be supplied directly as a test diagnostic. In this case,
the testing framework automatically creates a StringDiagnostic
object.
StringDiagnostic(
creates
a new diagString
)StringDiagnostic
instance.
|
The string that the |
Handle. To learn how handle classes affect copy operations, see Copying Objects.