Commit Graph

22 Commits

Author SHA1 Message Date
Brendan Forster
80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
Brendan Forster
6ab19de051 what is tests 2015-04-23 10:18:10 +09:30
Brendan Forster
c344dfe7c2 Revert "removed GetAllPublic overload due to paging issue and parameters clobbering"
This reverts commit 26a8bf0e81.
2015-04-23 09:09:17 +09:30
Brendan Forster
26a8bf0e81 removed GetAllPublic overload due to paging issue and parameters clobbering 2015-04-22 12:20:42 +09:30
Henrik Andersson
68840e317f Making the since parameter required
Adding 💄 `Task.FromResult` to tests
2015-04-07 07:15:14 +10:00
Henrik Andersson
818f730a6c Add tests 2015-03-23 23:23:08 +10:00
Haacked
7fdbbf0ae3 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
2015-01-18 12:35:17 -08:00
Kristian Hellang
21ca33817d Fixed failing tests 2015-01-06 00:27:16 +01:00
Haacked
ff3506f3e8 Make some of the IResponse properties readonly 2015-01-04 19:13:32 -08:00
Haacked
4c8bab20eb IApiResponse no longer inherits IResponse 2015-01-04 18:58:53 -08:00
Haacked
09d5c236a4 Rename IResponse<T> to IApiResponse 2015-01-04 18:33:48 -08:00
Gabriel Weyer
9f4df781c6 Ported changes for GetAllContributors from IRepositoriesClient to IObservableRepositoriesClient 2014-12-13 12:11:34 +11:00
Timothy Haagenson
de56f0ba6d reactive unit tests
reactive unit tests
2014-07-09 10:53:06 -05:00
Paul Betts
d731f1bd97 More jacked up tests 2014-04-30 21:47:34 -07:00
Paul Betts
1c8ac1d32a Fix up ApiExtensions 2014-04-30 21:31:52 -07:00
Peter MacNaughton
d12a609b33 Added missing methods on IObservableRepo...
sitoriesClient
Added unit tests for new methods.
2014-02-10 00:11:38 -07:00
Haacked
3c3febaf77 Remove use of .Wait() from tests 2013-11-05 16:02:33 -08:00
Haacked
de2f978c1d Fix broken lukewarm test
Synce we just return the task, this method is called immediately. That's
fine for now. This unit test is just here to document the current behavior
so we know when it changes. It changed!
2013-10-31 10:06:50 -07:00
Haacked
ad4be39ea3 Clean up the Octokit.Reactive namespaces
Fixes #84
2013-10-18 22:26:36 -07:00
Haacked
14ad942ea8 RateLimit class encapsulates rate limit headers
Added a RateLimit class to encapsulate pulling rate limit information
from the headers. This is now exposed by ApiInfo as well as the
RateLimitExceeededException. That way these two classes are not grabbing
the same information in different ways which we were doing before.
2013-10-18 14:49:00 -07:00
Haacked
3f5e561111 Add tests to verify current observable behavior
Right now, our observable methods are semi-cold. They don't make the
request until subscribed, but multiple subscriptions get the same
result. This is the way that Octokit.cocoa works.
2013-10-17 09:49:48 -07:00
Haacked
04958410ea Flatten the observables for repositories 2013-10-16 18:54:06 -07:00