Język

CombinatorialDataAttribute Klasa

Definicja

Zapewnia każdą możliwą kombinację wartości dla parametrów metody testowej.

[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
Dziedziczenie
CombinatorialDataAttribute
Atrybuty
Implementuje

Konstruktory

Nazwa Opis
CombinatorialDataAttribute()

Inicjuje nowe wystąpienie klasy CombinatorialDataAttribute.

Metody

Nazwa Opis
GetData(MethodInfo)

Pobiera dane testowe z niestandardowego źródła danych testowych.

GetDisplayName(MethodInfo, Object[])

Pobiera nazwę wyświetlaną odpowiadającą wierszowi danych testowych do wyświetlania w poleceniu TestResults.

Dotyczy