Merge branch 'master' into haacked/api-response-refactor

Conflicts:
	Octokit.Tests/Reactive/ObservableMilestonesClientTests.cs
	Octokit.Tests/Reactive/ObservablePullRequestReviewCommentsClientTests.cs
	Octokit.Tests/Reactive/ObservablePullRequestsClientTests.cs
	Octokit.Tests/Reactive/ObservableRepositoriesClientTests.cs
	Octokit/Octokit-Mono.csproj
	Octokit/Octokit-MonoAndroid.csproj
	Octokit/Octokit-Monotouch.csproj
	Octokit/Octokit-Portable.csproj
	Octokit/Octokit-netcore45.csproj
This commit is contained in:
Haacked
2015-01-18 12:35:17 -08:00
102 changed files with 1313 additions and 608 deletions
@@ -32,9 +32,9 @@ namespace Octokit.Tests.Reactive
CreateResponseWithApiInfo(firstPageLinks),
new List<PullRequestReviewComment>
{
new PullRequestReviewComment {Id = 1},
new PullRequestReviewComment {Id = 2},
new PullRequestReviewComment {Id = 3}
new PullRequestReviewComment(1),
new PullRequestReviewComment(2),
new PullRequestReviewComment(3)
});
var thirdPageUrl = new Uri("https://example.com/page/3");
var secondPageLinks = new Dictionary<string, Uri> { { "next", thirdPageUrl } };
@@ -43,9 +43,9 @@ namespace Octokit.Tests.Reactive
CreateResponseWithApiInfo(secondPageLinks),
new List<PullRequestReviewComment>
{
new PullRequestReviewComment {Id = 4},
new PullRequestReviewComment {Id = 5},
new PullRequestReviewComment {Id = 6}
new PullRequestReviewComment(4),
new PullRequestReviewComment(5),
new PullRequestReviewComment(6)
}
);
var lastPageResponse = new ApiResponse<List<PullRequestReviewComment>>
@@ -53,7 +53,7 @@ namespace Octokit.Tests.Reactive
new Response(),
new List<PullRequestReviewComment>
{
new PullRequestReviewComment {Id = 7}
new PullRequestReviewComment(7)
}
);
@@ -103,9 +103,9 @@ namespace Octokit.Tests.Reactive
CreateResponseWithApiInfo(firstPageLinks),
new List<PullRequestReviewComment>
{
new PullRequestReviewComment {Id = 1},
new PullRequestReviewComment {Id = 2},
new PullRequestReviewComment {Id = 3}
new PullRequestReviewComment(1),
new PullRequestReviewComment(2),
new PullRequestReviewComment(3)
}
);
var thirdPageUrl = new Uri("https://example.com/page/3");
@@ -115,17 +115,17 @@ namespace Octokit.Tests.Reactive
CreateResponseWithApiInfo(secondPageLinks),
new List<PullRequestReviewComment>
{
new PullRequestReviewComment {Id = 4},
new PullRequestReviewComment {Id = 5},
new PullRequestReviewComment {Id = 6}
new PullRequestReviewComment(4),
new PullRequestReviewComment(5),
new PullRequestReviewComment(6)
});
var lastPageResponse = new ApiResponse<List<PullRequestReviewComment>>
(
new Response(),
new List<PullRequestReviewComment>
{
new PullRequestReviewComment {Id = 7},
new PullRequestReviewComment {Id = 8},
new PullRequestReviewComment(7),
new PullRequestReviewComment(8)
}
);
@@ -174,9 +174,9 @@ namespace Octokit.Tests.Reactive
CreateResponseWithApiInfo(firstPageLinks),
new List<PullRequestReviewComment>
{
new PullRequestReviewComment {Id = 1},
new PullRequestReviewComment {Id = 2},
new PullRequestReviewComment {Id = 3}
new PullRequestReviewComment(1),
new PullRequestReviewComment(2),
new PullRequestReviewComment(3)
}
);
var thirdPageUrl = new Uri("https://example.com/page/3");
@@ -186,17 +186,17 @@ namespace Octokit.Tests.Reactive
CreateResponseWithApiInfo(secondPageLinks),
new List<PullRequestReviewComment>
{
new PullRequestReviewComment {Id = 4},
new PullRequestReviewComment {Id = 5},
new PullRequestReviewComment {Id = 6}
new PullRequestReviewComment(4),
new PullRequestReviewComment(5),
new PullRequestReviewComment(6)
});
var lastPageResponse = new ApiResponse<List<PullRequestReviewComment>>
(
new Response(),
new List<PullRequestReviewComment>
{
new PullRequestReviewComment {Id = 7},
new PullRequestReviewComment {Id = 8},
new PullRequestReviewComment(7),
new PullRequestReviewComment(8)
}
);