C# Class Microsoft.AspNet.WebHooks.WebHookManagerTests

Inheritance: IDisposable
ファイルを表示 Open project: aspnet/WebHooks Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
WebHookManagerTests ( ) : System

Private Methods

Method Description
CreateNotification ( string action ) : NotificationDictionary
CreateWebHook ( ) : WebHook
GetWorkItems_FilterMultipleNotifications ( IEnumerable webHooks, IEnumerable notifications, int expected ) : void
GetWorkItems_FilterSingleNotification ( IEnumerable webHooks, NotificationDictionary notification ) : void
VerifyWebHookAsync_Stops_IfNoEchoParameter ( string query ) : System.Threading.Tasks.Task
VerifyWebHookAsync_Succeeds_EchoResponse ( ) : System.Threading.Tasks.Task
VerifyWebHookAsync_Throws_IEmptySuccessResponse ( ) : System.Threading.Tasks.Task
VerifyWebHookAsync_Throws_INotSuccessResponse ( ) : System.Threading.Tasks.Task
VerifyWebHookAsync_Throws_IfEchoDoesNotMatch ( ) : System.Threading.Tasks.Task
VerifyWebHookAsync_Throws_IfHttpClientThrows ( ) : System.Threading.Tasks.Task
VerifyWebHookAsync_Throws_IfInvalidWebHookSecret ( string secret ) : System.Threading.Tasks.Task
VerifyWebHookAsync_Throws_IfNotHttpOrHttpsUri ( string webHookUri ) : System.Threading.Tasks.Task

Method Details

Dispose() public method

public Dispose ( ) : void
return void

WebHookManagerTests() public method

public WebHookManagerTests ( ) : System
return System