TestCaseEvent Class
Describes the common properties of a test case event.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
Microsoft.VisualStudio.IntelliTrace.TestCaseEvent
Microsoft.VisualStudio.IntelliTrace.TestCaseEndEvent
Microsoft.VisualStudio.IntelliTrace.TestCasePauseEvent
Microsoft.VisualStudio.IntelliTrace.TestCaseResetEvent
Microsoft.VisualStudio.IntelliTrace.TestCaseResumeEvent
Microsoft.VisualStudio.IntelliTrace.TestCaseStartEvent
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
‘선언
Public MustInherit Class TestCaseEvent _
Inherits OrdinalEvent
public abstract class TestCaseEvent : OrdinalEvent
public ref class TestCaseEvent abstract : public OrdinalEvent
[<AbstractClass>]
type TestCaseEvent =
class
inherit OrdinalEvent
end
public abstract class TestCaseEvent extends OrdinalEvent
The TestCaseEvent type exposes the following members.
Properties
Name | Description | |
---|---|---|
EventTime | Gets the time of the event by using the high resolution counter, which is retrieved from QueryPerformanceCounter. | |
IsChildTestCase | Gets a flag that determines whether this test case is a child of a test case. | |
Ordinal | Gets or sets the ordinal value. (Inherited from OrdinalEvent.) | |
SessionId | Gets the test session ID, which identifies the test session. | |
TestCaseId | Gets the test case ID, which identifies this test case. | |
TestCaseManagerId | Gets the test case manager ID, which identifies the test case in Team Foundation Server. | |
TestCaseName | Gets the name of the test case. | |
TestExecutionId | Gets the test execution ID, which identifies this test instance. |
Top
Methods
Name | Description | |
---|---|---|
Compare | Compares one instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same sort position order as the other instance. (Inherited from OrdinalEvent.) | |
CompareTo(Object) | Compares the current instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same position in the sort order as the other instance. (Inherited from OrdinalEvent.) | |
CompareTo(OrdinalEvent) | Compares the current instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same sort position as the other instance. (Inherited from OrdinalEvent.) | |
Equals(Object) | Determines whether the specified object is equal to the current OrdinalEvent. (Inherited from OrdinalEvent.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets a hash code for this OrdinalEvent. (Inherited from OrdinalEvent.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
The common properties of the test step events: TestCaseStartEvent, TestCaseEndEvent, TestCasePauseEvent, TestCaseResumeEvent, and TestCaseResetEvent.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.