Jazyk

CombinatorialDataAttribute Třída

Definice

Poskytuje všechny možné kombinace hodnot pro parametry testovací metody.

[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
Dědičnost
CombinatorialDataAttribute
Atributy
Implementuje

Konstruktory

Name Description
CombinatorialDataAttribute()

Inicializuje novou instanci CombinatorialDataAttribute třídy.

Metody

Name Description
GetData(MethodInfo)

Získá testovací data z vlastního zdroje testovacích dat.

GetDisplayName(MethodInfo, Object[])

Získá zobrazovaný název odpovídající řádku testovacích dat pro zobrazení v TestResults.

Platí pro