C# Class NUnit.Framework.IgnoreAttribute

Inheritance: TestModificationAttribute, IApplyToTest
ファイルを表示 Open project: pjcollins/Andr.Unit Class Usage Examples

Public Methods

Method Description
ApplyToTest ( Test test ) : void

Modifies a test by marking it as Ignored.

IgnoreAttribute ( ) : System

Constructs the attribute without giving a reason for ignoring the test.

IgnoreAttribute ( string reason ) : System

Constructs the attribute giving a reason for ignoring the test

Method Details

ApplyToTest() public method

Modifies a test by marking it as Ignored.
public ApplyToTest ( Test test ) : void
test Test The test to modify
return void

IgnoreAttribute() public method

Constructs the attribute without giving a reason for ignoring the test.
public IgnoreAttribute ( ) : System
return System

IgnoreAttribute() public method

Constructs the attribute giving a reason for ignoring the test
public IgnoreAttribute ( string reason ) : System
reason string The reason for ignoring the test
return System