Table of Contents

Class TheoryResultCommand

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

TheoryResultCommand adjusts the result of a Theory so that it fails if all the results were inconclusive.

public class TheoryResultCommand : DelegatingTestCommand
Inheritance
TheoryResultCommand
Inherited Members

Constructors

TheoryResultCommand(TestCommand)

Constructs a TheoryResultCommand

public TheoryResultCommand(TestCommand command)

Parameters

command TestCommand

The command to be wrapped by this one

Methods

Execute(TestExecutionContext)

Overridden to call the inner command and adjust the result in case all chlid results were inconclusive.

public override TestResult Execute(TestExecutionContext context)

Parameters

context TestExecutionContext

Returns

TestResult