C# Class Amido.Testing.WebApi.WebApiTestBase

Base class required for using the Amido.Testing.WebApi helpers.
Inheritance: WebTest
Show file Open project: amido/Amido.Testing

Public Methods

Method Description
CleanUp ( ) : void

Clean up tasks, tasks are run in the post web test event.

FinalOutput ( Func commentDelegate ) : void
GetRequestEnumerator ( ) : IEnumerator

Main Enumerator for the WebTest.

StartUp ( ) : void

Start up tasks, tasks are run in the pre web test event.

WebTestRequests ( ) : void

Web Test Requests.

Protected Methods

Method Description
WebApiTestBase ( ) : System

Private Methods

Method Description
AddFinalOutput ( ) : void
CurrentRequestOnPostRequest ( object sender, PostRequestEventArgs postRequestEventArgs ) : void
OnPostWebTest ( object sender, PostWebTestEventArgs postWebTestEventArgs ) : void
OnPreWebTest ( object sender, PreWebTestEventArgs preWebTestEventArgs ) : void
TestValidateRetry ( TestRequest testRequest, int i ) : void

Method Details

CleanUp() public method

Clean up tasks, tasks are run in the post web test event.
public CleanUp ( ) : void
return void

FinalOutput() public method

public FinalOutput ( Func commentDelegate ) : void
commentDelegate Func
return void

GetRequestEnumerator() public method

Main Enumerator for the WebTest.
public GetRequestEnumerator ( ) : IEnumerator
return IEnumerator

StartUp() public method

Start up tasks, tasks are run in the pre web test event.
public StartUp ( ) : void
return void

WebApiTestBase() protected method

protected WebApiTestBase ( ) : System
return System

WebTestRequests() public abstract method

Web Test Requests.
public abstract WebTestRequests ( ) : void
return void