Skip to content

Commit 09f9e34

Browse files
committed
Changes to support Unit testing of projects that consume this library
1 parent ab80e0d commit 09f9e34

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

Rally.RestApi/DynamicJsonSerializer.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
using System.Collections.Generic;
1+
using System;
2+
using System.Collections;
3+
using System.Collections.Generic;
24
using System.Text;
35
using System.Web.Script.Serialization;
4-
using System.Collections;
5-
using System;
66

77
namespace Rally.RestApi
88
{
9-
internal class DynamicJsonSerializer
9+
public class DynamicJsonSerializer
1010
{
1111
readonly JavaScriptSerializer deSerializer;
1212
public DynamicJsonSerializer()

Rally.RestApi/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.0.19.0")]
35-
[assembly: AssemblyFileVersion("1.0.19.0")]
34+
[assembly: AssemblyVersion("1.0.20.0")]
35+
[assembly: AssemblyFileVersion("1.0.20.0")]
3636

3737
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Rally.RestApi.Test")]

Rally.RestApi/Response/QueryResult.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ namespace Rally.RestApi.Response
1010
/// </summary>
1111
public class QueryResult : OperationResult
1212
{
13-
internal QueryResult(DynamicJsonObject obj)
13+
/// <summary>
14+
/// Constructor
15+
/// </summary>
16+
public QueryResult(DynamicJsonObject obj)
1417
{
15-
1618
Errors = GetCollection<string>(obj["Errors"]);
1719
Warnings = GetCollection<string>(obj["Warnings"]);
1820
if (obj.Dictionary.ContainsKey("TotalResultCount"))

0 commit comments

Comments
 (0)