Lenguaje

CombinatorialDataAttribute Clase

Definición

Proporciona todas las combinaciones de valores posibles para los parámetros de un método de prueba.

[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
Herencia
CombinatorialDataAttribute
Atributos
Implementaciones

Constructores

Nombre Description
CombinatorialDataAttribute()

Inicializa una nueva instancia de la clase CombinatorialDataAttribute.

Métodos

Nombre Description
GetData(MethodInfo)

Obtiene los datos de prueba del origen de datos de prueba personalizado.

GetDisplayName(MethodInfo, Object[])

Obtiene el nombre para mostrar correspondiente a la fila de datos de prueba para mostrar en TestResults.

Se aplica a