C# Class AeroFSSDK.Tests.BaseAPITest

Inheritance: BaseTest
Datei anzeigen Open project: aerofs/aerofs-sdk-csharp

Protected Methods

Method Description
ExpectError ( HttpStatusCode statusCode, System.Action action ) : void
IsHttpError ( WebException e, HttpStatusCode statusCode ) : bool

Private Methods

Method Description
SetupClients ( ) : void

Method Details

ExpectError() protected method

protected ExpectError ( HttpStatusCode statusCode, System.Action action ) : void
statusCode HttpStatusCode
action System.Action
return void

IsHttpError() protected method

protected IsHttpError ( WebException e, HttpStatusCode statusCode ) : bool
e System.Net.WebException
statusCode HttpStatusCode
return bool