IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
The TestFixtureData class represents a set of arguments and other parameter info to be used for a parameterized fixture. It is derived from TestFixtureParameters and adds a fluent syntax for use in initializing the fixture. More...
Public Member Functions | |
TestFixtureData (params object[] args) | |
Initializes a new instance of the TestFixtureData class. More... | |
TestFixtureData (object arg) | |
Initializes a new instance of the TestFixtureData class. More... | |
TestFixtureData (object arg1, object arg2) | |
Initializes a new instance of the TestFixtureData class. More... | |
TestFixtureData (object arg1, object arg2, object arg3) | |
Initializes a new instance of the TestFixtureData class. More... | |
TestFixtureData | Explicit () |
Marks the test fixture as explicit. More... | |
TestFixtureData | Explicit (string reason) |
Marks the test fixture as explicit, specifying the reason. More... | |
TestFixtureData | Ignore (string reason) |
Ignores this TestFixture, specifying the reason. More... | |
![]() | |
TestFixtureParameters () | |
Default Constructor creates an empty parameter set More... | |
TestFixtureParameters (Exception exception) | |
Construct a non-runnable ParameterSet, specifying the provider exception that made it invalid. More... | |
TestFixtureParameters (params object[] args) | |
Construct a parameter set with a list of arguments More... | |
TestFixtureParameters (ITestFixtureData data) | |
Construct a ParameterSet from an object implementing ITestCaseData More... | |
![]() | |
TestParameters () | |
Default Constructor creates an empty parameter set More... | |
TestParameters (object[] args) | |
Construct a parameter set with a list of arguments More... | |
TestParameters (Exception exception) | |
Construct a non-runnable ParameterSet, specifying the provider exception that made it invalid. More... | |
TestParameters (ITestData data) | |
Construct a ParameterSet from an object implementing ITestData More... | |
void | ApplyToTest (Test test) |
Applies ParameterSet _values to the test itself. More... | |
Additional Inherited Members | |
![]() | |
Type[] | TypeArgs [get, set] |
Type arguments used to create a generic fixture instance More... | |
![]() | |
RunState | RunState [get, set] |
The RunState for this set of parameters. More... | |
object[] | Arguments [get, set] |
The arguments to be used in running the test, which must match the method signature. More... | |
string | TestName [get, set] |
A name to be used for this test case in lieu of the standard generated name containing the argument list. More... | |
IPropertyBag | Properties [get, private set] |
Gets the property dictionary for this test More... | |
object[] | OriginalArguments [get, private set] |
The original arguments provided by the user, used for display purposes. More... | |
![]() | |
string | TestName [get] |
Gets the name to be used for the test More... | |
RunState | RunState [get] |
Gets the RunState for this test case. More... | |
object[] | Arguments [get] |
Gets the argument list to be provided to the test More... | |
IPropertyBag | Properties [get] |
Gets the property dictionary for the test case More... | |
![]() | |
Type[] | TypeArgs [get] |
Get the TypeArgs if separately set More... | |
The TestFixtureData class represents a set of arguments and other parameter info to be used for a parameterized fixture. It is derived from TestFixtureParameters and adds a fluent syntax for use in initializing the fixture.
|
inline |
Initializes a new instance of the TestFixtureData class.
args | The arguments. |
|
inline |
Initializes a new instance of the TestFixtureData class.
arg | The argument. |
|
inline |
Initializes a new instance of the TestFixtureData class.
arg1 | The first argument. |
arg2 | The second argument. |
|
inline |
Initializes a new instance of the TestFixtureData class.
arg1 | The first argument. |
arg2 | The second argument. |
arg3 | The third argument. |
|
inline |
Marks the test fixture as explicit.
References NUnit.Framework.TestFixtureData.Explicit().
Referenced by NUnit.Framework.TestFixtureData.Explicit().
|
inline |
Marks the test fixture as explicit, specifying the reason.
References NUnit.Framework.TestFixtureData.Explicit(), and NUnit.Framework.Internal.PropertyNames.SkipReason.
|
inline |
Ignores this TestFixture, specifying the reason.
reason | The reason. |
References NUnit.Framework.Internal.PropertyNames.SkipReason.