IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.TestFixtureData Class Reference

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...

+ Inheritance diagram for NUnit.Framework.TestFixtureData:
+ Collaboration diagram for NUnit.Framework.TestFixtureData:

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...
 
- Public Member Functions inherited from NUnit.Framework.Internal.TestFixtureParameters
 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...
 
- Public Member Functions inherited from NUnit.Framework.Internal.TestParameters
 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

- Properties inherited from NUnit.Framework.Internal.TestFixtureParameters
Type[] TypeArgs [get, set]
 Type arguments used to create a generic fixture instance More...
 
- Properties inherited from NUnit.Framework.Internal.TestParameters
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...
 
- Properties inherited from NUnit.Framework.Interfaces.ITestData
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...
 
- Properties inherited from NUnit.Framework.Interfaces.ITestFixtureData
Type[] TypeArgs [get]
 Get the TypeArgs if separately set More...
 

Detailed Description

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.

Constructor & Destructor Documentation

NUnit.Framework.TestFixtureData.TestFixtureData ( params object[]  args)
inline

Initializes a new instance of the TestFixtureData class.

Parameters
argsThe arguments.
NUnit.Framework.TestFixtureData.TestFixtureData ( object  arg)
inline

Initializes a new instance of the TestFixtureData class.

Parameters
argThe argument.
NUnit.Framework.TestFixtureData.TestFixtureData ( object  arg1,
object  arg2 
)
inline

Initializes a new instance of the TestFixtureData class.

Parameters
arg1The first argument.
arg2The second argument.
NUnit.Framework.TestFixtureData.TestFixtureData ( object  arg1,
object  arg2,
object  arg3 
)
inline

Initializes a new instance of the TestFixtureData class.

Parameters
arg1The first argument.
arg2The second argument.
arg3The third argument.

Member Function Documentation

TestFixtureData NUnit.Framework.TestFixtureData.Explicit ( )
inline

Marks the test fixture as explicit.

References NUnit.Framework.TestFixtureData.Explicit().

Referenced by NUnit.Framework.TestFixtureData.Explicit().

TestFixtureData NUnit.Framework.TestFixtureData.Explicit ( string  reason)
inline

Marks the test fixture as explicit, specifying the reason.

References NUnit.Framework.TestFixtureData.Explicit(), and NUnit.Framework.Internal.PropertyNames.SkipReason.

TestFixtureData NUnit.Framework.TestFixtureData.Ignore ( string  reason)
inline

Ignores this TestFixture, specifying the reason.

Parameters
reasonThe reason.
Returns

References NUnit.Framework.Internal.PropertyNames.SkipReason.


The documentation for this class was generated from the following file: