C# Класс 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
Наследование: Xunit.Sdk.DataAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
GetData ( MethodInfo methodUnderTest ) : IEnumerable
GetFixture ( ) : IFixture
InlineAutoNSubstituteMemberDataAttribute ( ) : System

Приватные методы

Метод Описание
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[]

Описание методов

GetData() публичный Метод

public GetData ( MethodInfo methodUnderTest ) : IEnumerable
methodUnderTest System.Reflection.MethodInfo
Результат IEnumerable

GetFixture() публичный статический Метод

public static GetFixture ( ) : IFixture
Результат IFixture

InlineAutoNSubstituteMemberDataAttribute() публичный Метод

public InlineAutoNSubstituteMemberDataAttribute ( ) : System
Результат System