C# Class NUnit.Framework.PlatformAttribute

Inheritance: System.Attribute
Exibir arquivo Open project: nunit/nunit Class Usage Examples

Public Methods

Method Description
ApplyToTest ( System.Test test ) : void

Causes a test to be skipped if this PlatformAttribute is not satisfied.

PlatformAttribute ( ) : System

Constructor with no platforms specified, for use with named property syntax.

PlatformAttribute ( string platforms ) : System

Constructor taking one or more platforms

Method Details

ApplyToTest() public method

Causes a test to be skipped if this PlatformAttribute is not satisfied.
public ApplyToTest ( System.Test test ) : void
test System.Test The test to modify
return void

PlatformAttribute() public method

Constructor with no platforms specified, for use with named property syntax.
public PlatformAttribute ( ) : System
return System

PlatformAttribute() public method

Constructor taking one or more platforms
public PlatformAttribute ( string platforms ) : System
platforms string Comma-delimited list of platforms
return System