matlab.automation.diagnostics.DiagnosticResult Class
Namespace: matlab.automation.diagnostics
Result of a diagnosed Diagnostic
instance
Renamed from matlab.unittest.diagnostics.DiagnosticResult
in R2023a
Description
A DiagnosticResult
object captures the result of a diagnosed Diagnostic
instance. It is safer to work with
DiagnosticResult
instances than to work directly with the Diagnostic
instances.
Only an automation framework, such as the unit testing framework, creates instances of
this class. The testing framework assigns property values to a
DiagnosticResult
instance from the property values of objects of the
QualificationEventData
, LoggedDiagnosticEventData
,
QualificationDiagnosticRecord
, and
LoggedDiagnosticRecord
classes.