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

Unified Diff: Src/GoogleApis.Tests/Apis/Utils/ExponentialBackOffTest.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/Utils/ExponentialBackOffTest.cs
===================================================================
--- a/Src/GoogleApis.Tests/Apis/Utils/ExponentialBackOffTest.cs
b/Src/GoogleApis.Tests/Apis/Utils/ExponentialBackOffTest.cs
@@ -63,7 63,7 @@
}
- /// <summary> An helper subtest to test invalid value given to the constructor. </summary>
/// <summary> A helper subtest to test invalid value given to the constructor. </summary>
private void SubtestConstructor_InvalidValue(TimeSpan ts, int max = 10)
{
try
@@ -113,7 113,6 @@
Assert.That(avarage, Is.InRange(expectedMiliis - epsilon, expectedMiliis epsilon));
}
-
/// <summary> Tests next back-off time span with specific maximum of retries. </summary>
[Test]
public void GetNextBackOff_MaxNumRetries()
@@ -123,7 122,8 @@
SubtestGetNextBackOff_MaxNumRetries(11);
}
- public void SubtestGetNextBackOff_MaxNumRetries(int max)
/// <summary> A helper test for testing the <c>GetNextBackOff</c> logic. </summary>
private void SubtestGetNextBackOff_MaxNumRetries(int max)
{
ExponentialBackOff backOff = new ExponentialBackOff(TimeSpan.Zero, max);

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