Table of Contents

Class OneTimeTearDownCommand

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

OneTimeTearDownCommand performs any teardown actions specified for a suite and calls Dispose on the user test object, if any.

public class OneTimeTearDownCommand : AfterTestCommand
Inheritance
OneTimeTearDownCommand
Inherited Members

Constructors

OneTimeTearDownCommand(TestCommand, SetUpTearDownItem)

Construct a OneTimeTearDownCommand

public OneTimeTearDownCommand(TestCommand innerCommand, SetUpTearDownItem setUpTearDownItem)

Parameters

innerCommand TestCommand

The command wrapped by this command

setUpTearDownItem SetUpTearDownItem

A SetUpTearDownList for use by the command