Commit Graph

112 Commits

Author SHA1 Message Date
aedampir@gmail.com 702322d355 added new integration tests 2016-06-15 20:05:01 +07:00
Henrik Andersson b17bbfaf2c Integration tests :polish: 2016-06-15 17:07:41 +10:00
Henrik Andersson 589d6a1838 Add integration tests for ObservableIssueCommentsClient 2016-06-15 16:21:56 +10:00
Brendan Forster bcda94b8d9 fix impacted tests 2016-06-14 15:34:39 +10:00
Ryan Gribble 046c5a36cc Rename client.User.Keys to client.User.GitSshKey
Mark client.User.Keys as [Obsolete]
2016-06-09 06:44:28 +10:00
Ryan Gribble 511e3f90fa Merge remote-tracking branch 'upstream/master' into enh-gpgkeysclient 2016-06-09 00:27:22 +10:00
Ryan Gribble 089938b075 missing await 2016-06-09 00:03:31 +10:00
Henrik Andersson 77b04efbdd Fixes as per PR review comments 2016-06-08 22:55:41 +10:00
Henrik Andersson df9ffd9b0d Add unit and integration tests for ObservableUserGpgKeysClient 2016-06-08 22:55:41 +10:00
Ryan Gribble a476956453 Merge remote-tracking branch 'upstream/master' into add-user-permissions 2016-06-08 22:29:39 +10:00
Ryan Gribble acbc3fec00 Update impacted tests to use new Context creation and Delete helper methods 2016-06-08 21:52:18 +10:00
maddin2016 71f992a478 rename EnterpriseTeamContext to TeamContext 2016-06-08 10:15:41 +02:00
Ryan Gribble 43125b9356 Merge remote-tracking branch 'upstream/master' into add-user-permissions 2016-06-06 21:24:55 +10:00
Ryan Gribble d02007d2b6 Permissions attribute was already present on Repository
Ensure Teams.GetAllRepositories() calls pass the preview header and add integration tests to assert the permissions property is populated
2016-06-04 23:40:05 +10:00
Ryan Gribble 4850b83906 Add Permissions attribute to User
Update integration tests to ensure Permissions field is populated
Add Accept header for this functionality, so it works on GHE 2.5
Fix impacted URL unit tests
2016-06-04 23:35:23 +10:00
Brendan Forster dfebfe31b6 Add ApiOption overloads to IIssuesClient and IObservableIssuesClient (#1274) 2016-06-02 11:21:30 +02:00
Brendan Forster cf4b09b86e added secondary test 2016-05-20 13:00:17 +03:00
Brendan Forster 4161c192e1 Merge branch 'master' into shiftkey-repository-pages-api-options 2016-05-18 12:57:12 +03:00
Tim Miller 7b372253ca Add actual "GetAllForRepository" Activity Feed (#1288) 2016-05-05 11:57:31 +10:00
Alexander Efremov 63a8c1d70a Add ApiOption overloads to methods on IRepoCollaboratorsClient (#1282) 2016-04-29 14:16:07 +10:00
aedampir@gmail.com f1896888c6 Redundant commas in object initializer were removed. 2016-04-22 17:30:37 +07:00
aedampir@gmail.com 39ef6e069a redundant explicit array type specifications were removed 2016-04-22 17:28:52 +07:00
Alexander Efremov db839f58d4 Redundant braces of argument list were removed (#1277) 2016-04-21 16:23:42 +10:00
Alexander Efremov d7d03fafa3 Redundant parentheses were removed. (#1275) 2016-04-21 16:15:26 +10:00
Alexander Efremov 190ccf04c2 Add ApiOption overloads to methods on IRepositoryHooksClient (#1272) 2016-04-19 17:08:02 +10:00
Elhamer a44feaa7c3 Add ApiOption overloads to methods on IGistsClient (#1261) 2016-04-19 08:16:42 +10:00
Elhamer 9c77ebf009 Add ApiOption overloads to methods on IIssueCommentsClient (#1267) 2016-04-14 14:07:19 +10:00
Elhamer 750aed62f8 Add ApiOption overloads to methods on IFollowersClient (#1259) 2016-04-11 07:54:33 -04:00
Prayank Mathur 8313864c98 Admin rights tests stripped down 2016-04-11 10:08:07 +05:30
Prayank Mathur a9fcefab99 Syncing the fork 2016-04-11 09:49:54 +05:30
Prayank Mathur 43f6cfe28b Added ApiOption overloads to methods on IRepositoryCommitsClient (#1247)
* Added ApiOptions overloads for RepositoryCommitClient methods

* Added overloads to Reactive clients

* Integration tests in progress

* Integration test addition in progress

* More integration tests added

* Added Ensure things

* Minor changes

* Minor changes

* Few changes

* Tried to fix errors

* Tried to fix errors

* Fixed a few things

* Fixed integration tests

* Tidying up

* Added public keyword

* Added unit tests for GetAll() in normal and reactive methods

* Minor changes

* Changed the class name

* Fixed the unit test
2016-04-10 17:28:01 -04:00
Elhamer 4ae6000ac1 Add overloads to the GetAll methods in the IEventsClient (#1240)
* Add overloads to the GetAll methods in the IEventsClient Interface

* Implement GetAll* overload methods in the EventClient class to allow ApiOptions as parameter

* Fix the failling tests after refactoring the GetAll* methds

* Add the overload GetAlls methods to the IObservableEventsClient interface

* Implement the GetAll* overloads in the ObservableEventsClient class

* Fix the failling tests after refactoring the GetAll* methods

* Make sure the ApiOtions arn't null in the newly added overload methods + implement RequestsCorrectUrlWithApiOptions test

* Implement unit tests for the EventClient's GetAll* overload methods

* Add missing test cases in the ReleaseClientTest's EnsuresNonNullArguments test

* Fix the last commit

* Add the ObservableEventsClientTests class

* Add an ArgumentException check to the EnsuresArgumentsNotNull methodS + some clean up

* Events GetAll Method Integration Tests

* Implement the GetAll* IntegrationTests

* TheGetAllForAnOrganizationMethod Integrations test [WIP]

* Fix a failing integration test

* Proper way to call Organization and UserName in the integration test

* Remove .swp file

* Fixe after merging

* Add more checks to EnsuresNonNullArguments
2016-04-10 17:23:46 -04:00
Elhamer d149b34214 Add ApiOption overloads to methods on IGistCommentsClient (#1260)
* Add GetAllForGist with apiOption overload to IGistCommentsClient + implementation

* Add GetAllForGist overload + implementation

* Add RequestsCorrectUrlWithApiOptions unit test

* One more test to the GistCommentsClient

* Ensure argument is not null or empty

* Clean up GistCommentsClientTests class

* Implement Integration test for the GetAllForGist method

* Clean up
2016-04-10 14:51:55 -04:00
Prayank Mathur 8ca8227ba0 Fixes 2016-04-07 12:59:00 +05:30
Prayank Mathur c1b6f246b2 Resolved conflicts 2016-04-07 12:39:39 +05:30
Brendan Forster e8df9905db Merge pull request #1185 from prayankmathur/issue896
Implemented Lock/Unlock Functionality for Issues
2016-04-05 17:14:32 -04:00
Brendan Forster 5ec98b0940 Merge pull request #1211 from devkhan/pagination-1181
Add ApiOptions overloads to ITeamsClient
2016-04-05 13:35:35 -04:00
Brendan Forster 8a4abe2007 Merge pull request #1230 from dampir/fix-some-misspellings
Fix some misspellings in code, comments and xml docs.
2016-04-04 13:38:52 -04:00
Brendan Forster c97917b9ae Merge pull request #1212 from SamTheDev/PaginationCommitStatusClient
Add ApiOption overloads to methods on ICommitStatusClient
2016-04-03 15:45:12 -04:00
Abdelkhalek Oussama Elhamer 8a559cca6f Fix the ReturnsCorrectCountOfCommitStatusWithoutStart Test 2016-03-31 20:54:00 +01:00
Abdelkhalek Oussama Elhamer 0d5c15fce9 Use a proper reference to test the GetAll CommitStatus +Other small fixes 2016-03-31 13:34:07 +01:00
Devesh Khandelwal 27d6e3bfc9 Tests added. 2016-03-30 20:56:33 +05:30
Prayank Mathur 63bd1226c9 Resolved conflicts 2016-03-29 16:48:51 +05:30
Prayank Mathur 8ff574ab1c Changes in Accept headers as well as names of the functions 2016-03-29 16:19:47 +05:30
aedampir@gmail.com b93f0ece0b ObservableRepositoryDeployKeysClientTests fixes 2016-03-29 17:46:19 +07:00
Abdelkhalek Oussama Elhamer 761bee4a35 Add the IntegrationTests for the ObservableCommitStatusClient 2016-03-26 05:28:08 +01:00
Prayank Mathur 171b3c520a Implement Lock/Unlock Issue 2016-03-25 11:51:42 +05:30
Prayank Mathur 9c0aeca625 Added ApiOptions overload to method GetAll in RepositoryPagesClient as well as Reactive methods and added tests 2016-03-24 23:43:50 +05:30
Prayank Mathur 854ae9682e Merge branch 'master' of https://github.com/octokit/octokit.net
updating fork
2016-03-24 20:45:45 +05:30
Devesh Khandelwal 486e315c02 Add ApiOptions overload to Reactive Teams client. 2016-03-23 14:57:50 +05:30