C# Class PclUnit.Style.Xunit.PropertyDataAttribute

Inheritance: DataAttribute
Afficher le fichier Open project: jbtule/PclUnit

Méthodes publiques

Méthode Description
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/

Method Details

GetData() public méthode

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
Résultat IEnumerable

PropertyDataAttribute() public méthode

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
Résultat System