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

Unified Diff: Src/GoogleApis.Tests/Apis/Requests/Parameters/ParameterCollectionTest.cs

Issue 13412046: Reimplement OAuth2 library - Step 1 (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: minor Created 10 years, 10 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/Requests/Parameters/ParameterCollectionTest.cs
===================================================================
rename from Src/GoogleApis.Tests/Apis/Requests/ParameterCollectionTest.cs
rename to Src/GoogleApis.Tests/Apis/Requests/Parameters/ParameterCollectionTest.cs
--- a/Src/GoogleApis.Tests/Apis/Requests/ParameterCollectionTest.cs
b/Src/GoogleApis.Tests/Apis/Requests/Parameters/ParameterCollectionTest.cs
@@ -19,29 19,23 @@
using NUnit.Framework;
-using Google.Apis.Requests;
using Google.Apis.Requests.Parameters;
using Google.Apis.Util;
namespace Google.Apis.Tests.Apis.Requests
{
- /// <summary>
- /// Tests for the ParameterCollection class.
- /// </summary>
/// <summary>Tests for the ParameterCollection class.</summary>
[TestFixture]
public class ParameterCollectionTest
{
- /// <summary>
- /// Tests the constructors.
- /// </summary>
/// <summary>Tests the constructors.</summary>
[Test]
public void ConstructTest()
{
Assert.DoesNotThrow(() => new ParameterCollection());
}
- /// <summary>
- /// Confirm that different counts of items can be added to the collection.
- /// </summary>
/// <summary>Confirm that different counts of items can be added to the collection.</summary>
[Test]
public void MultipleAddTest()
{
@@ -63,9 57,7 @@
CollectionAssert.AreEqual(new[] { "dwarf" }, col.GetAllMatches("white"));
}
- /// <summary>
- /// Checks that duplicates are supported.
- /// </summary>
/// <summary>Checks that duplicates are supported.</summary>
[Test]
public void DuplicateTest()
{
@@ -77,7 69,7 @@
CollectionAssert.AreEqual(new[] { "cookie", "bar", "pudding" }, col.GetAllMatches("chocolate"));
}
- /// <summary> Tests the FromQueryString method and confirms that duplicates are possible. </summary>
/// <summary>Tests the FromQueryString method and confirms that duplicates are possible.</summary>
[Test]
public void FromQueryStringTest()
{
@@ -88,7 80,7 @@
CollectionAssert.AreEqual(new[] { "bar" }, collection.GetAllMatches("chocolate"));
}
- /// <summary> Tests the FromQueryString method throws exception on invalid input. </summary>
/// <summary>Tests the FromQueryString method throws exception on invalid input.</summary>
[Test]
public void FromQueryStringTest_Invalid()
{
@@ -96,9 88,7 @@
Assert.Throws<ArgumentException>(() => ParameterCollection.FromQueryString(query));
}
- /// <summary>
- /// Tests the FromQueryString method.
- /// </summary>
/// <summary>Tests the FromQueryString method.</summary>
[Test]
public void FromDictionaryTest()
{

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