IBaseAdapter.Run - метод
Вызывается для выполнения тестового случая.
Пространство имен: Microsoft.VisualStudio.TestTools.Execution
Сборка: Microsoft.VisualStudio.QualityTools.ExecutionCommon (в Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Синтаксис
'Декларация
Sub Run ( _
testElement As ITestElement, _
testContext As ITestContext _
)
void Run(
ITestElement testElement,
ITestContext testContext
)
void Run(
ITestElement^ testElement,
ITestContext^ testContext
)
abstract Run :
testElement:ITestElement *
testContext:ITestContext -> unit
function Run(
testElement : ITestElement,
testContext : ITestContext
)
Параметры
testElement
Тип: Microsoft.VisualStudio.TestTools.Common.ITestElementЭлемент теста, описывающий, какой адаптер следует загрузить.
testContext
Тип: Microsoft.VisualStudio.TestTools.Execution.ITestContextКонтекст для адаптера.
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Для получения дополнительной информации см. Использование библиотек из не вполне надежного кода.
См. также
Ссылки
Microsoft.VisualStudio.TestTools.Execution - пространство имен