C# Class DryRunner.TestSiteServer

Exibir arquivo Open project: tgjones/dryrunner Class Usage Examples

Public Methods

Method Description
Start ( ) : void

Starts the IISExpress process that hosts the test site.

Stop ( ) : void

Stops the IISExpress process that hosts the test site.

TestSiteServer ( string physicalSitePath, TestSiteServerOptions options ) : System

Creates a new test site server that hosts the application located on the given physicalSitePath using options defined in options.

Private Methods

Method Description
CreateApplicationHostConfig ( ) : string
GetApplicationHostConfigTemplate ( ) : string
PostMessage ( HandleRef hWnd, uint msg, IntPtr wParam, IntPtr lParam ) : bool
StartIisExpress ( ) : void

Method Details

Start() public method

Starts the IISExpress process that hosts the test site.
public Start ( ) : void
return void

Stop() public method

Stops the IISExpress process that hosts the test site.
public Stop ( ) : void
return void

TestSiteServer() public method

Creates a new test site server that hosts the application located on the given physicalSitePath using options defined in options.
public TestSiteServer ( string physicalSitePath, TestSiteServerOptions options ) : System
physicalSitePath string
options TestSiteServerOptions
return System