C# Class Imgur.API.Tests.EndpointTests.EndpointTests

Inheritance: TestBase
Datei anzeigen Open project: DamienDennehy/Imgur.API

Private Methods

Method Description
ApiClient_SetByConstructor1_Equal ( ) : void
ApiClient_SetByConstructor2_Equal ( ) : void
ApiClient_SetNullByConstructor1_ThrowArgumentNullException ( ) : void
HttpClientBaseAddress_WithImgurClient_IsImgurUrl ( ) : void
HttpClientBaseAddress_WithMashapeClient_IsMashapeUrl ( ) : void
HttpClientWithImgurClientAndOAuth2Token_SetByConstructor_HeadersEqual ( ) : void
HttpClientWithImgurClient_SetByConstructor_HeadersEqual ( ) : void
HttpClientWithMashapeClientAndOAuth2Token_SetByConstructor_HeadersEqual ( ) : void
HttpClientWithMashapeClient_SetByConstructor_HeadersEqual ( ) : void
HttpClient_SetByConstructor1_NotNull ( ) : void
HttpClient_SetByConstructor2_AreSame ( ) : void
HttpClient_SetNullByConstructor1_ThrowArgumentNullException ( ) : void
ProcessEndpointBaseResponse_WithResponseNull_ThrowsImgurException ( ) : void
ProcessEndpointBaseResponse_WithStringResponseNull_ThrowsImgurException ( ) : void
ProcessEndpointResponse_WithSuccessfulResponse_Equal ( ) : void
ProcessImgurEndpointResponse_WithAuthorization_ThrowImgurException ( ) : void
ProcessImgurEndpointResponse_WithExpectedCapacityError_ThrowImgurException ( ) : void
ProcessImgurEndpointResponse_WithImgurCacheErrorResponse_ThrowsImgurException ( ) : void
ProcessImgurEndpointResponse_WithInvalidResponse_ThrowsImgurException ( ) : void
ProcessMashapeEndpointResponse_WithoutAuthorization_ThrowMashapeException ( ) : void
SendRequestAsync_WithInvalidUrl__ThrowsImgurException ( ) : System.Threading.Tasks.Task
SendRequestAsync_WithMessageNull_ThrowsArgumentNullException ( ) : System.Threading.Tasks.Task
SendRequestAsync_WithMessage_Equal ( ) : System.Threading.Tasks.Task
SendRequestAsync_WithResponseNull_ThrowsImgurException ( ) : System.Threading.Tasks.Task
SendRequestAsync_WithUnauthorizedErrorMessage__ThrowsImgurException ( ) : System.Threading.Tasks.Task
SwitchClient_SetImgurClient_True ( ) : void
SwitchClient_SetMashapeClientAndOAuth2TokenThenImgurClient_HeadersEqual ( ) : void
SwitchClient_SetMashapeClientThenImgurClient_BaseAddressEqual ( ) : void
SwitchClient_SetMashapeClientThenImgurClient_HeadersEqual ( ) : void
SwitchClient_SetMashapeClient_True ( ) : void
SwitchClient_SetNull_ThrowsArgumentNullException ( ) : void
UpdateRateLimit_WithHeadersNull_ThrowArgumentException ( ) : void
UpdateRateLimit_WithImgurClientHeadersAndFakeResponse_Equal ( ) : System.Threading.Tasks.Task
UpdateRateLimit_WithImgurClientHeadersRemoved_Equal ( ) : void
UpdateRateLimit_WithImgurClientHeaders_Equal ( ) : void
UpdateRateLimit_WithMashapeClientHeaders_Equal ( ) : void