C# Class NUnit.TestData.AsyncSetupTearDownFixture

Exibir arquivo Open project: nunit/nunit Class Usage Examples

Public Properties

Property Type Description
FailingAsyncMethodRuns int
SuccessfulAsyncMethodRuns int

Public Methods

Method Description
FailingAsyncMethod ( ) : System.Threading.Tasks.System.Threading.Tasks.TaskEx
SuccessfulAsyncMethod ( ) : System.Threading.Tasks.System.Threading.Tasks.TaskEx

Private Methods

Method Description
ReturnOne ( ) : Task
ThrowException ( ) : Task

Method Details

FailingAsyncMethod() public method

public FailingAsyncMethod ( ) : System.Threading.Tasks.System.Threading.Tasks.TaskEx
return System.Threading.Tasks.System.Threading.Tasks.TaskEx

SuccessfulAsyncMethod() public method

public SuccessfulAsyncMethod ( ) : System.Threading.Tasks.System.Threading.Tasks.TaskEx
return System.Threading.Tasks.System.Threading.Tasks.TaskEx

Property Details

FailingAsyncMethodRuns public_oe property

public int FailingAsyncMethodRuns
return int

SuccessfulAsyncMethodRuns public_oe property

public int SuccessfulAsyncMethodRuns
return int