Language

CombinatorialDataAttribute クラス

定義

テスト メソッドのパラメーターに使用可能なすべての値の組み合わせを提供します。

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class CombinatorialDataAttribute : Attribute, Microsoft.VisualStudio.TestTools.UnitTesting.ITestDataSource
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type CombinatorialDataAttribute = class
    inherit Attribute
    interface ITestDataSource
Public NotInheritable Class CombinatorialDataAttribute
Inherits Attribute
Implements ITestDataSource
継承
CombinatorialDataAttribute
属性
実装

コンストラクター

名前 説明
CombinatorialDataAttribute()

CombinatorialDataAttribute クラスの新しいインスタンスを初期化します。

メソッド

名前 説明
GetData(MethodInfo)

カスタム テスト データ ソースからテスト データを取得します。

GetDisplayName(MethodInfo, Object[])

TestResults で表示するテスト データ行に対応する表示名を取得します。

適用対象