Commit Graph

822 Commits

Author SHA1 Message Date
Brendan Forster 238b138b16 Merge pull request #995 from naveensrinivasan/mono
Targeting mono
2015-12-18 10:34:43 +10:30
Mordechai Zuber 44304ca70b use string per recommended style 2015-12-16 21:23:36 +02:00
naveen 3bab0f890f Included the Fact attribute back with the skip referring to the issue. 2015-12-16 08:15:29 -05:00
naveen 289ebf1742 muting the test 2015-12-15 19:03:09 -05:00
Naveen 27285e4aa2 Fixed the path back to windows style 2015-12-14 19:22:59 -05:00
naveen 10b31d3fa0 Fixed the tools version that was changed by XS 2015-12-12 16:32:12 -05:00
naveen 1b3210e337 Included Specific references 2015-12-12 16:02:07 -05:00
naveen 4032e17f64 Made it into a local copy 2015-12-12 15:47:55 -05:00
naveen 857b8fdbf5 changes for fixing references 2015-12-12 12:31:22 -05:00
naveen acad26ac4f Included System.Net.Http to get tests to work on mono 2015-12-12 12:17:24 -05:00
Naveen 31fa49581d Fixed the path casing to compile it in linux 2015-12-12 14:38:09 +00:00
naveen c7c671e091 Fixes for mono 2015-12-11 22:50:04 -05:00
Anton Sizikov 2af1f240e8 Merge branch 'master' into api-exception-prints-payload-on-tostring 2015-12-10 08:31:58 +01:00
Brendan Forster 9c39a95044 removed tests using obsolete API 2015-12-10 08:24:12 +10:30
Anton Sizikov a7e06c7cd0 Removed custom message format and just print raw body 2015-12-08 10:10:59 +01:00
Anton Sizikov 3f8ed4a882 Unit test fixed 2015-12-06 19:37:11 +01:00
Anton Sizikov 5ef499686e Overrided ToString methods for ApiException and ApiError 2015-12-06 19:34:32 +01:00
Naveen e88a6c3d0b Checked for the serialized data
Compared if the serialized data has what was expected. Not just
deserialized data.
2015-12-05 19:57:06 -05:00
Naveen 2bb4682e7a Tests for Unicode character serialization
Tests for Unicode character serialization
2015-12-05 18:54:23 -05:00
Henrik Andersson 282bcb3939 Add unit test to ensure correct message is returned when duplicate keys exists. 2015-11-11 23:07:28 +10:00
Henrik Andersson 8c15b6de97 Conform NewRepositoryWebHook to new request model guidelines 2015-11-11 23:07:28 +10:00
Henrik Andersson c740639249 Add unit tests 2015-11-11 23:07:28 +10:00
Brendan Forster 80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
Brendan Forster 2b18d2198a address feedback 2015-11-03 11:51:10 -08:00
Jiaming Chen 8b8768f374 added tests for the merged qualifier 2015-11-03 11:44:19 -08:00
Jiaming Chen ce93c4a60c Added NewArbitraryMarkdown class, RenderArbitraryMakrdown method and unit tests for it. 2015-11-03 11:20:35 -08:00
Haacked b2d6e15d48 Replace SignatureResponse and CommitEntity with Committer
A recent PR added CommitEntity but we already had
SignatureResponse expressly for this purpose.

So this commit renames SignatureResponse to Committer
and removes CommitEntity and replaces it with Committer.
2015-09-28 00:38:16 -07:00
Haacked 39354caa82 Deployment state is required for deployment status
Breaking change. This constructor parameter is now required.
2015-09-27 15:53:39 -07:00
Haacked 765d2394bd Add missing properties to NewDeployment
Added `RequiredContexts`, `Environment`, and `Task` parameters. Removed
the obsolete `Force` parameter.
Also made ref a required constructor parameter. This is a breaking
change.
2015-09-27 15:53:37 -07:00
Haacked 870a4e817a Rename Message to CommitMessage
According to the docs
(https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button),
this should be sent as "commit_message" thus we need to name it
`CommitMessage`
Fixes #913
2015-09-27 14:45:11 -07:00
Kristian Hellang 7162ce6e72 Clarify why convention tests are failing 2015-09-22 10:54:02 +02:00
Henrik Andersson 0600ffdb03 Add Events URL to the Issue class. 2015-09-18 23:25:55 +10:00
Phil Haack 561047833a Merge pull request #897 from adamralph/893-readonlypagecollection-null-body
893 readonlypagecollection null body
2015-09-17 11:00:36 -07: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
Adam Ralph 4580e0f2a3 red: added ReadOnlyPagedCollectionTests.TheConstructor.AcceptsAResponseWithANullBody 2015-09-15 12:04:19 +02:00
Brendan Forster 82a3e7655c Merge pull request #862 from octokit/haacked/836-handle-empty-content
Handle empty content better
2015-09-10 11:34:09 +09:00
Phil Haack b858613e4b Merge pull request #864 from fffej/add-filename-for-code-search
add filename for code search
2015-09-09 13:37:15 -07:00
Naveen af5459602c Fixes for the comments URL not surfaced in the issue
This fix surfaces the comments URL in the Issue object.
2015-09-09 12:05:18 -04:00
Markus Olsson fe8300bd9d Update the tests to check for fingerprint in body 2015-09-04 04:27:39 +02:00
Mark Taylor b2c7e1c2a7 Chnage LastApiInfo to GetLastApiInfo with cloned version 2015-08-16 21:27:26 +01:00
Jeff Foster 720cd17770 add filename for code search 2015-08-10 11:58:53 +01:00
Haacked 375f83e031 Add timestamp tests to platform unit tests 2015-08-07 16:28:23 -07:00
Haacked 890f852c90 🎨 Refactor GetQueuedOperation to reduce duplication
Most calls to `GetQueuedOperation` are used to queue up an operation
that'll return a collection in a subsequent call. In the case that the
API returns No Content, we want to return an empty collection. This
refactoring embeds that last bit of logic into `GetQueuedOperation`
rather than making every caller have to do it.
2015-08-07 16:20:45 -07: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
Haacked 0e74097dde Handle NoContent response for queued operations
We didn't handle the 204 response properly for the `StatisticsClient`.
Now we do.

Fixes #836
2015-08-07 10:41:02 -07:00
Mark Taylor 40f1e59a97 Fixed merge conflicts 2015-08-02 16:40:10 +01:00
Brendan Forster 747f88d6ad Merge pull request #856 from davidalpert/add-membership-throws
fix the TeamClient.AddMembership(..) call
2015-08-01 19:14:51 +09:30
David Alpert b4d71c8fe9 refactoring ApiConnection.EmptyBody to RequestBody.Empty to break the inverse dependency from Connection to ApiConnection 2015-08-01 00:16:51 -05:00
David Alpert c54dfa196f adding passing tests: ConnectionTests.ThePutMethod can submit PUT requests with no data (i.e. empty body). 2015-07-31 23:49:48 -05:00