Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1236)

Unified Diff: Src/GoogleApis.Tests/Apis/Services/BaseClientServiceTest.cs

Issue 12566043: Issue 369: Change default behavior of an HTTP request (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: Miceli review Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Src/GoogleApis.Tests/Apis/Services/BaseClientServiceTest.cs
===================================================================
--- a/Src/GoogleApis.Tests/Apis/Services/BaseClientServiceTest.cs
b/Src/GoogleApis.Tests/Apis/Services/BaseClientServiceTest.cs
@@ -349,13 349,10 @@
Assert.That(service.Authenticator, Is.EqualTo(NullAuthenticator.Instance));
Assert.True(service.GZipEnabled);
- // back-off handlers are added by default
// back-off handler for unsuccessful response (503) is added by default
Assert.That(service.HttpClient.MessageHandler.UnsuccessfulResponseHandlers.Count, Is.EqualTo(1));
Assert.That(service.HttpClient.MessageHandler.UnsuccessfulResponseHandlers[0],
Is.InstanceOf<BackOffHandler>());
- Assert.That(service.HttpClient.MessageHandler.ExceptionHandlers.Count, Is.EqualTo(1));
- Assert.That(service.HttpClient.MessageHandler.ExceptionHandlers[0],
- Is.InstanceOf<BackOffHandler>());
// one execute interceptor (for adding the "Authenticate" header
Assert.That(service.HttpClient.MessageHandler.ExecuteInterceptors.Count, Is.EqualTo(1));

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b