本文整理汇总了C#中TestMethod.MakeTestCommand方法的典型用法代码示例。如果您正苦于以下问题:C# TestMethod.MakeTestCommand方法的具体用法?C# TestMethod.MakeTestCommand怎么用?C# TestMethod.MakeTestCommand使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TestMethod
的用法示例。
在下文中一共展示了TestMethod.MakeTestCommand方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: SimpleWorkItem
/// <summary>
/// Construct a simple work item for a test.
/// </summary>
/// <param name="test">The test to be executed</param>
public SimpleWorkItem(TestMethod test, FinallyDelegate fd) : base(test, fd)
{
_command = test.MakeTestCommand();
}
示例2: SimpleWorkItem
/// <summary>
/// Construct a simple work item for a test.
/// </summary>
/// <param name="test">The test to be executed</param>
/// <param name="context">The execution context to be used</param>
public SimpleWorkItem(TestMethod test, TestExecutionContext context) : base(test, context)
{
_command = test.MakeTestCommand();
}
示例3: SimpleWorkItem
/// <summary>
/// Construct a simple work item for a test.
/// </summary>
/// <param name="test">The test to be executed</param>
public SimpleWorkItem(TestMethod test) : base(test)
{
_command = test.MakeTestCommand();
}