TestFixtureParameters
The TestCaseParameters class encapsulates method arguments and
other selected parameters needed for constructing
a parameterized test case.
using NUnit.Framework.Interfaces;
using System;
using System.Runtime.CompilerServices;
namespace NUnit.Framework.Internal
{
public class TestFixtureParameters : TestParameters, ITestFixtureData, ITestData
{
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
[field: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
public Type[] TypeArgs {
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
get;
}
public TestFixtureParameters()
{
}
[System.Runtime.CompilerServices.NullableContext(1)]
public TestFixtureParameters(Exception exception)
: base(exception)
{
}
public TestFixtureParameters([System.Runtime.CompilerServices.Nullable(new byte[] {
1,
2
})] params object[] args)
: base(args)
{
}
[System.Runtime.CompilerServices.NullableContext(1)]
public TestFixtureParameters(ITestFixtureData data)
: base(data)
{
TypeArgs = data.TypeArgs;
}
}
}