프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BeginShutdownProcess | void | ||
DirectoryIsWithinDirectory | bool | ||
DirectoryIsWithinDirectory | bool | ||
FileIsWithinDirectory | bool | ||
GetLocalPath | string | ||
GetMimeType | string | ||
GetMimeTypeFromRegistry | string | ||
ListDirectoryContents | void | ||
Log | void | ||
ProcessGetRequest | void | ||
ProcessPostRequest | void | ||
ProcessResult | void | ||
SaveResults | void | ||
SendBasicHeader | void | ||
SendInformationalFooter | void | ||
ServeCrossDomainFile | void | ||
ServeFile | void | ||
ServeFunction | void | ||
ServeFunction | void | ||
ServeRequests | void | ||
ServeString | void | ||
SetContentType | void | ||
SetHttpStatus | void | ||
StartShutdownMonitorThread | void |
메소드 | 설명 | |
---|---|---|
TestServiceEngine ( TestServiceOptions options ) : System |
Initializes a new instance of the test service.
|
메소드 | 설명 | |
---|---|---|
BeginShutdownProcess ( ) : void |
Begins the shutdown process by setting the shutdown time to the current time plus the delay.
|
|
DirectoryIsWithinDirectory ( |
Checks whether the directory is within another root directory.
|
|
DirectoryIsWithinDirectory ( string dir, string root ) : bool |
Checks whether the directory is within another root directory.
|
|
FileIsWithinDirectory ( string file, string directory ) : bool |
Checks whether the file is within a root directory.
|
|
GetLocalPath ( |
Returns the local path from an HTTP listener request.
|
|
GetMimeType ( string path ) : string |
Retrieves a simple MIME type from the path.
|
|
GetMimeTypeFromRegistry ( string ext ) : string |
Retrieves the MIME type for an extension from the registry.
|
|
ListDirectoryContents ( |
Lists the directory contents in a simple HTML format. Writes to the HTTP response.
|
|
Log ( string value ) : void |
Logs to the debug stream a message.
|
|
ProcessGetRequest ( |
||
ProcessPostRequest ( |
||
ProcessResult ( TestRunResult result ) : void |
Process a test run result and then begin the shutdown process.
|
|
SaveResults ( string directory, |
Store the results from the request.
|
|
SendBasicHeader ( |
Sends a basic header back on the request wire.
|
|
SendInformationalFooter ( |
Sends an HTML footer.
|
|
ServeCrossDomainFile ( |
Serves up the XML cross domain policy file.
|
|
ServeFile ( string directory, |
Save a file in the directory.
|
|
ServeFunction ( |
Serve a function without any POST data.
|
|
ServeFunction ( |
Serve a function.
|
|
ServeRequests ( ) : void | ||
ServeString ( |
Serve a string back through the stream.
|
|
SetContentType ( |
Sets the content type on the HTTP response.
|
|
SetHttpStatus ( |
Sets the HTTP status.
|
|
StartShutdownMonitorThread ( ) : void |
public TestServiceEngine ( TestServiceOptions options ) : System | ||
options | TestServiceOptions | The test service options. |
리턴 | System |