次の方法で共有


TestCase class

This interface provides access to the TestCase elements of an AssessmentResult.

When to implement

Never. This interface is implemented by Axe and provided to the assessment.

TestCase has these types of members:

Methods

The TestCase class has these methods.

Method Description
~TestCase Destructor method.
AddIssue Creates and adds an Issue to the TestCase.
AddMetricThreshold Creates and adds a MetricThreshold to the TestCase.
AddMetricValue Overloaded. Creates and adds a MetricValue to the TestCase.
AddParent Adds a parent to the TestCase.
DeleteSubject Deletes the Subject from the TestCase.
GetActivityReference Returns the activity reference of the TestCase.
GetCompositeKeyActivityClass Returns the composite key activity class of the TestCase.
GetCompositeKeyActivityInstance Returns the composite key activity instance of the TestCase.
GetCompositeKeySubjectClass Returns the composite key subject class of the TestCase.
GetCompositeKeySubjectClassDisplayName Returns the composite key subject class display name of the TestCase.
GetCompositeKeySubjectInstance Returns the composite key subject instance of the TestCase.
GetCompositeKeySubjectInstanceDisplayName Returns the composite key subject instance display name of the TestCase.
GetIssues Returns the IssueCollection for the TestCase.
GetKey Returns the key of the TestCase.
GetMetricThresholds Returns the MetricThresholdCollection for the TestCase.
GetMetricValues Returns the MetricValueCollection of the TestCase.
GetName Returns the name of the TestCase.
GetParents Returns the ParentCollection of the TestCase.
GetSubject Returns the Subject of the TestCase.
GetToolTip Returns the tooltip of the TestCase.
SetActivityReference Sets the activity reference of the TestCase.
SetCompositeKeyActivityClass Sets the composite key activity class of the TestCase.
SetCompositeKeyActivityInstance Sets the composite key activity instance of the TestCase.
SetCompositeKeySubjectClass Sets the composite key subject class of the TestCase.
SetCompositeKeySubjectClassDisplayName Sets the composite key subject class display name of the TestCase.
SetCompositeKeySubjectInstance Sets the composite key subject instance of the TestCase.
SetCompositeKeySubjectInstanceDisplayName Sets the composite key subject instance display name of the TestCase.
SetKey Sets the key of the TestCase.
SetName Sets the name of the TestCase.
SetSubject Overloaded. Sets the Subject of the TestCase.
SetToolTip Sets the tooltip of the TestCase.

Remarks

The TestCase objects hold information from the Iteration/TestCases/TestCase elements.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll