Idioma

CombinatorialDataAttribute Classe

Definição

Fornece todas as combinações possíveis de valores para os parâmetros de um método de teste.

[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
Herança
CombinatorialDataAttribute
Atributos
Implementações

Construtores

Nome Description
CombinatorialDataAttribute()

Inicializa uma nova instância da classe CombinatorialDataAttribute.

Métodos

Nome Description
GetData(MethodInfo)

Obtém os dados de teste da fonte de dados de teste personalizada.

GetDisplayName(MethodInfo, Object[])

Obtém o nome de exibição correspondente à linha de dados de teste para exibição em TestResults.

Aplica-se a