TestCaseEventArgs Конструкторы

Определение

Перегрузки

TestCaseEventArgs(DataCollectionContext, ITestElement, TcmInformation)

Инициализирует новый экземпляр класса TestCaseEventArgs, используя предоставленные сведения.

TestCaseEventArgs(DataCollectionContext, Guid, TcmInformation, String, Boolean)

Инициализирует новый экземпляр класса TestCaseEventArgs, используя предоставленные сведения.

TestCaseEventArgs(DataCollectionContext, ITestElement, TcmInformation)

Инициализирует новый экземпляр класса TestCaseEventArgs, используя предоставленные сведения.

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)

Параметры

testElement
ITestElement

Текущий элемент теста, представленный объектом ITestElement.

tcmInformation
TcmInformation

TcmInformationОбъект, который используется для получения дополнительных данных о тесте из Test Manager.

Применяется к

TestCaseEventArgs(DataCollectionContext, Guid, TcmInformation, String, Boolean)

Инициализирует новый экземпляр класса TestCaseEventArgs, используя предоставленные сведения.

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)

Параметры

testCaseId
Guid

Идентификатор текущего тестового случая, представленный объектом ITestElement.

tcmInformation
TcmInformation

TcmInformationОбъект, который используется для получения дополнительных данных о тесте из Test Manager.

testCaseName
String

Имя тестового случая.

isChildTestCase
Boolean

значение true, если текущий тестовый случай является дочерним по отношению к другому тестовому случаю.

Применяется к