ParameterizedFixtureSuite
ParameterizedFixtureSuite serves as a container for the set of test
fixtures created from a given Type using various parameters.
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal
{
public class ParameterizedFixtureSuite : TestSuite
{
private bool _genericFixture;
public override string TestType {
get {
if (!_genericFixture)
return "ParameterizedFixture";
return "GenericFixture";
}
}
public ParameterizedFixtureSuite(ITypeInfo typeInfo)
: base(typeInfo.Namespace, typeInfo.GetDisplayName())
{
_genericFixture = typeInfo.ContainsGenericParameters;
}
}
}