Table of Contents

Class ParameterizedMethodSuite

Namespace
NUnit.Framework.Internal
Assembly
nunit.framework.dll

ParameterizedMethodSuite holds a collection of individual TestMethods with their arguments applied.

public class ParameterizedMethodSuite : TestSuite, ITest, IXmlNodeBuilder, IComparable, IComparable<Test>
Inheritance
ParameterizedMethodSuite
Implements
Inherited Members

Constructors

ParameterizedMethodSuite(IMethodInfo)

Initializes a new instance of the ParameterizedMethodSuite class.

public ParameterizedMethodSuite(IMethodInfo method)

Parameters

method IMethodInfo

ParameterizedMethodSuite(ParameterizedMethodSuite, ITestFilter)

Creates a copy of the given suite with only the descendants that pass the specified filter.

public ParameterizedMethodSuite(ParameterizedMethodSuite suite, ITestFilter filter)

Parameters

suite ParameterizedMethodSuite

The ParameterizedMethodSuite to copy.

filter ITestFilter

Determines which descendants are copied.

Properties

Method

Gets a MethodInfo for the method implementing this test.

public IMethodInfo Method { get; }

Property Value

IMethodInfo

TestType

Gets a string representing the type of test

public override string TestType { get; }

Property Value

string

Methods

Copy(ITestFilter)

Creates a filtered copy of the test suite.

public override TestSuite Copy(ITestFilter filter)

Parameters

filter ITestFilter

Determines which descendants are copied.

Returns

TestSuite