C# Class UnitTests.InlineAutoNSubstituteMemberDataAttribute

This attribute allows for combining multiple lists of complex input parameters for an xUnit [Theory] while still supporting everything that the [InlineAutoNSubstituteData] attribute supports. For details about how lists can be used to provide complex input parameters for xUnit theories, read up on xUnit's [MemberData] attribute Adapted from http://stackoverflow.com/a/28767887/1999165
Inheritance: Xunit.Sdk.DataAttribute
显示文件 Open project: Illumina/canvas

Public Methods

Method Description
GetData ( MethodInfo methodUnderTest ) : IEnumerable
GetFixture ( ) : IFixture
InlineAutoNSubstituteMemberDataAttribute ( ) : System

Private Methods

Method Description
Combinations ( IEnumerable members ) : IEnumerable
CustomizeAndCreate ( IFixture fixture, ParameterInfo p ) : object
GetAllParameterObjects ( MethodInfo methodUnderTest ) : IEnumerable
GetAllParameterObjects ( string propertyName, MethodInfo methodUnderTest ) : IEnumerable
GetObjects ( object parameterized, ParameterInfo parameters, IFixture fixture ) : object[]

Method Details

GetData() public method

public GetData ( MethodInfo methodUnderTest ) : IEnumerable
methodUnderTest System.Reflection.MethodInfo
return IEnumerable

GetFixture() public static method

public static GetFixture ( ) : IFixture
return IFixture

InlineAutoNSubstituteMemberDataAttribute() public method

public InlineAutoNSubstituteMemberDataAttribute ( ) : System
return System