C# 클래스 PclUnit.Style.Xunit.PropertyDataAttribute

상속: DataAttribute
파일 보기 프로젝트 열기: jbtule/PclUnit

공개 메소드들

메소드 설명
GetData ( MethodInfo methodUnderTest, Type parameterTypes ) : IEnumerable

Returns the data to be used to test the theory.

PropertyDataAttribute ( string propertyName ) : System

Creates a new instance of PropertyDataAttribute/

메소드 상세

GetData() 공개 메소드

Returns the data to be used to test the theory.
public GetData ( MethodInfo methodUnderTest, Type parameterTypes ) : IEnumerable
methodUnderTest System.Reflection.MethodInfo The method that is being tested
parameterTypes System.Type The types of the parameters for the test method
리턴 IEnumerable

PropertyDataAttribute() 공개 메소드

Creates a new instance of PropertyDataAttribute/
public PropertyDataAttribute ( string propertyName ) : System
propertyName string The name of the public static property on the test class that will provide the test data
리턴 System