Commit Graph

47 Commits

Author SHA1 Message Date
Mordechai Zuber 44304ca70b use string per recommended style 2015-12-16 21:23:36 +02:00
Brendan Forster 80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
Kristian Hellang 7162ce6e72 Clarify why convention tests are failing 2015-09-22 10:54:02 +02:00
Naveen f000980b8d Update StringExtensionsTests.cs
Update StringExtensionsTests.cs  for the URL expansion. The initial fix was incorrect.
2015-09-16 19:29:56 -04:00
Naveen 4cde5cdf90 Fix for Upload to Github releases stopped working #894
Fix for Upload to Github releases stopped working #894. The
ExpandUriTemplate could handle only one parameter which is the bug.
2015-09-16 11:18:19 -04:00
Haacked 6179361ed9 Add tests for UnixTimestampExtensions
Also refactored the code to be a bit easier to understand and have less
calculations.
2015-08-07 16:02:20 -07:00
Mordechai Zuber eed94b4dd2 🔥 AssertEx.Throws 2015-05-19 12:07:46 +03:00
Mordechai Zuber b9b447b472 Helpers 2015-05-19 12:06:29 +03:00
Mordechai Zuber 4f0bfe4b62 Add Obsolete attribute to AssetEx.Throws helper method 2015-05-11 12:24:47 +03:00
Kristian Hellang 273ad8acdc Added test for readonly collections 2015-03-18 11:43:47 +01: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 b088b3f544 Added asserts for DebuggerDisplay value and property 2015-01-06 08:52:09 +01:00
Haacked 53a6516de2 Change IResponse.Body to object
This removes the awkward Body and BodyAsObject property combo we used to
have.
2015-01-04 19:06:50 -08:00
Haacked 1dd42ec4c8 Use IReadOnlyList instead of IReadOnlyCollection or IEnumerable
For response models.
2015-01-04 14:28:06 -08:00
Brendan Forster 2b2fa1c5e3 four of them pass 2014-12-14 21:47:39 +09:30
Brendan Forster 7d545754a7 one project builds 2014-12-14 21:37:57 +09:30
Haacked 1b4d02b142 Ensure no async void methods
Added self tests to find async void methods. It found some cases where
we passed an async lambda to a method that did not accept Action<Task>
or Func<Task>. I fixed those tests.
2014-11-07 16:05:53 -08:00
Brendan Forster 001c5ac564 Merge remote-tracking branch 'vktr/org-edit' 2014-07-11 09:33:03 +09:30
Viktor Elofsson f852b70fc9 Merge of upstream master. 2014-07-01 10:11:08 +02:00
Henrik Andersson 7f9429b8e9 Added unit tests 2014-06-15 08:34:39 +10:00
Brendan Forster c600ce832c added tests to catch regression 2014-04-30 14:52:37 +08:00
Haacked d7a69e20d7 Implement OAuth Web Flow
Provide methods to make it easy for developers to implement the
web flow.

https://developer.github.com/v3/oauth/#web-application-flow
2014-04-19 16:01:35 -07:00
Haacked b56613b99b Await calls with try/catch
In 451eddc647 we were a little overzealous
in removing async/await calls. Anywhere we do a try/catch around a
method that returns a Task, we need to use await.
2014-03-21 13:56:29 -07:00
Haacked 5430718c58 Add custom assert for readonly collection 2014-02-26 23:15:10 -08:00
Amy Palamountain 2e1fcd73bc Added is any cancellation token argument 2014-02-16 17:04:53 +13:00
Peter MacNaughton a9b9358836 Merge branch 'master' of https://github.com/octokit/octokit.net into deployments_client 2014-02-10 20:15:52 -07:00
lbargaoanu d3106e487b better diagnostics 2014-02-10 15:23:10 +02:00
Peter MacNaughton f0f6a96686 Merge branch 'master' into deployments_client 2014-02-08 22:20:44 -07:00
lbargaoanu d2aff11d5c check for DebuggerDisplay on models 2014-02-07 10:50:36 +02:00
Peter MacNaughton 2e9263009d Fixing argument tests for ObservableDeployments...
Client and ObservableDeploymentStatusClient. Needed to make sure that
the tasks were actually run and not just scheduled.
2014-02-02 18:25:49 -07:00
Viktor Elofsson 767685344b Code and tests for editing an organization. 2014-01-31 14:51:21 +01:00
Peter MacNaughton a22006950a Implemented ObservableDeploymentsClient and...
unit tests.
2014-01-21 10:26:09 -07:00
Brendan Forster 7cdb639551 updated terrible test name 2013-11-07 11:18:27 +11:00
Brendan Forster 8b5e004068 deleted invalid test 2013-11-07 09:51:52 +11:00
Brendan Forster 2936b37ad0 don't mutate a collection you don't own 2013-11-07 09:51:31 +11:00
Brendan Forster edce86761f i don't like this test, come at me bro 2013-11-05 13:54:13 +11:00
Brendan Forster d0e021e8a9 added test and bugfix for merging querystring parameters 2013-11-05 12:43:24 +11:00
Haacked 1d64210ac5 Fix endpoint URLs for Enterprise support
Since Enterprise base URLs end with /api/v3 we need to make sure
the endpoints are relative and not absolute.
2013-10-29 16:02:00 -07:00
Haacked ad210cecc7 Implement IssuesClient and interface
This required updating our serialization strategy so we handle enums
better.
2013-10-23 14:46:19 -07:00
Haacked 04958410ea Flatten the observables for repositories 2013-10-16 18:54:06 -07:00
Haacked ae41b81025 Address code review changes and add XML comments 2013-10-10 14:22:09 -07:00
half-ogre 6f3fa81789 move internal stuff to .Internal namespace 2013-10-08 15:14:06 -07:00
Haacked c979b342b6 Upload should take explicit contenttype parameter
Rather than accept an arbitrary dictionary, let's make it accept the
values we know. We still need to tackle the arbitrary headers problem
soon though.
2013-10-03 09:49:55 -07:00
Matt Burke 15a5cc9591 Front end for uploading a release asset. 2013-10-03 09:05:57 -07:00
Haacked 91b5449ddd Removed fluent assertions 2013-09-23 17:41:04 -07:00
Haacked de647ce403 Add method to supply query params to URI 2013-09-23 10:09:55 -07:00
Haacked 997e955f38 Rename to Octokit to be consistent with other API libs
GitHub is naming all of the libraries Octokit for their respective
platforms
2013-01-29 14:00:27 -08:00