IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
TestParameters is the abstract base class for all classes that know how to provide data for constructing a test. More...
Public Member Functions | |
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... | |
Properties | |
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... | |
TestParameters is the abstract base class for all classes that know how to provide data for constructing a test.
|
inline |
Default Constructor creates an empty parameter set
|
inline |
Construct a parameter set with a list of arguments
args |
|
inline |
Construct a non-runnable ParameterSet, specifying the provider exception that made it invalid.
References NUnit.Framework.Internal.ExceptionHelper.BuildMessage(), NUnit.Framework.Internal.ExceptionHelper.BuildStackTrace(), NUnit.Framework.Internal.PropertyNames.ProviderStackTrace, and NUnit.Framework.Internal.PropertyNames.SkipReason.
|
inline |
Construct a ParameterSet from an object implementing ITestData
data |
References NUnit.Framework.Interfaces.ITestData.Arguments, NUnit.Framework.Interfaces.ITestData.RunState, and NUnit.Framework.Interfaces.ITestData.TestName.
|
inline |
Applies ParameterSet _values to the test itself.
test | A test. |
Implements NUnit.Framework.Interfaces.IApplyToTest.
References NUnit.Framework.Internal.Test.RunState.
Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.BuildTestMethod().
|
getset |
The RunState for this set of parameters.
|
getset |
The arguments to be used in running the test, which must match the method signature.
Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.BuildTestMethod(), NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.CheckTestMethodSignature(), and NUnit.Framework.TestCaseAttribute.GetParametersForTestCase().
|
getset |
A name to be used for this test case in lieu of the standard generated name containing the argument list.
Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.BuildTestMethod().
|
getprivate set |
Gets the property dictionary for this test
Referenced by NUnit.Framework.TestFixtureSourceAttribute.GetParametersFor(), and NUnit.Framework.TestCaseSourceAttribute.GetTestCasesFor().
|
getprivate set |
The original arguments provided by the user, used for display purposes.
Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.BuildTestMethod().