Package:matlab.unittest.diagnostics
Fundamental interface class formatlab.unittest
diagnostics
TheDiagnostic
interface class is the means by which thematlab.unittest
framework and its clients package diagnostic information. All diagnostics are derived fromDiagnostic
, whether they are user-supplied test diagnostics for an individual comparison or diagnostics associated with theConstraint
used in the comparison.
Classes which derive fromDiagnostic
encode the diagnostic actions to be performed. They produce a diagnostic result that is displayed appropriately by the test running framework. In exchange for meeting this requirement, anyDiagnostic
implementation can be used directly withmatlab.unittest
qualifications. These qualifications execute the diagnostic action and store the result for the test running framework to use.
方便,框架创建appropriate diagnostic instances for arrays of character vectors, strings, and function handles when they are user supplied test diagnostics. To retain good performance, these values are only converted intoDiagnostic
instances when a qualification failure occurs or when the test running framework is explicitly observing passing qualifications. The default test runner does not explicitly observe passing qualifications.
|
The artifacts produced during the last diagnostic evaluation, returned as an array of artifacts. |
|
The |
Handle. To learn how handle classes affect copy operations, seeCopying Objects.