TestCaseEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TestCaseEventArgs(DataCollectionContext, ITestElement, TcmInformation) |
Initializes a new instance of the TestCaseEventArgs class by using the provided information. |
TestCaseEventArgs(DataCollectionContext, Guid, TcmInformation, String, Boolean) |
Initializes a new instance of the TestCaseEventArgs class by using the given information. |
TestCaseEventArgs(DataCollectionContext, ITestElement, TcmInformation)
Initializes a new instance of the TestCaseEventArgs class by using the provided information.
protected:
TestCaseEventArgs(Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ context, Microsoft::VisualStudio::TestTools::Common::ITestElement ^ testElement, Microsoft::VisualStudio::TestTools::Common::TcmInformation ^ tcmInformation);
protected TestCaseEventArgs (Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext context, Microsoft.VisualStudio.TestTools.Common.ITestElement testElement, Microsoft.VisualStudio.TestTools.Common.TcmInformation tcmInformation);
new Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs : Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext * Microsoft.VisualStudio.TestTools.Common.ITestElement * Microsoft.VisualStudio.TestTools.Common.TcmInformation -> Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
Protected Sub New (context As DataCollectionContext, testElement As ITestElement, tcmInformation As TcmInformation)
Parameters
- context
- DataCollectionContext
A DataCollectionContext object.
- testElement
- ITestElement
The current test element that is represented by a ITestElement object.
- tcmInformation
- TcmInformation
A TcmInformation object that is used to obtain further data about the test from the Test Manager.
Applies to
TestCaseEventArgs(DataCollectionContext, Guid, TcmInformation, String, Boolean)
Initializes a new instance of the TestCaseEventArgs class by using the given information.
protected:
TestCaseEventArgs(Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ context, Guid testCaseId, Microsoft::VisualStudio::TestTools::Common::TcmInformation ^ tcmInformation, System::String ^ testCaseName, bool isChildTestCase);
protected TestCaseEventArgs (Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext context, Guid testCaseId, Microsoft.VisualStudio.TestTools.Common.TcmInformation tcmInformation, string testCaseName, bool isChildTestCase);
new Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs : Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext * Guid * Microsoft.VisualStudio.TestTools.Common.TcmInformation * string * bool -> Microsoft.VisualStudio.TestTools.Execution.TestCaseEventArgs
Protected Sub New (context As DataCollectionContext, testCaseId As Guid, tcmInformation As TcmInformation, testCaseName As String, isChildTestCase As Boolean)
Parameters
- context
- DataCollectionContext
A DataCollectionContext object.
- testCaseId
- Guid
The current test case ID that is represented by an ITestElement object.
- tcmInformation
- TcmInformation
A TcmInformation object that is used to obtain further data about the test from the Test Manager.
- testCaseName
- String
The name of the test case.
- isChildTestCase
- Boolean
true if the current test case is a child of another test case.