언어

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
특성
구현

생성자

Name Description
CombinatorialDataAttribute()

CombinatorialDataAttribute 클래스의 새 인스턴스를 초기화합니다.

메서드

Name Description
GetData(MethodInfo)

사용자 지정 테스트 데이터 원본에서 테스트 데이터를 가져옵니다.

GetDisplayName(MethodInfo, Object[])

TestResults에 표시할 테스트 데이터 행에 해당하는 표시 이름을 가져옵니다.

적용 대상