Commit Graph

192 Commits

Author SHA1 Message Date
Alexander Efremov
63a8c1d70a Add ApiOption overloads to methods on IRepoCollaboratorsClient (#1282) 2016-04-29 14:16:07 +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
33d237a90d Resolved conflicts 2016-04-11 09:57:03 +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
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
Prayank Mathur
eb73e97f6a Added integration tests for the GetAll method 2016-03-30 15:21:43 +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
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
aedampir@gmail.com
63b58527c6 New integration tests for IAuthorizationsClient and IObservableAuthorizationsClient have been added. 2016-03-18 13:50:59 +07:00
Devesh Khandelwal
829ba2c560 Add reactive overloads for ApiOptions in Assignees API. 2016-03-14 11:25:29 +05:30
Brendan Forster
2ed5999f08 Merge pull request #760 from octokit/api-paging-part-deux
Pagination Support
2016-03-14 15:50:25 +11:00
Brendan Forster
aafdda2f00 Merge branch 'master' into api-paging-part-deux 2016-02-24 11:40:43 +11:00
Ryan Gribble
8c8c637065 Add Reactive implementation and unit/integration tests 2016-02-23 06:58:09 +10:00
Ryan Gribble
047a78361a Transfer methods from SshClient to UserKeysClient
Add unit and integration tests and CreatePublicKeyContext() helper method
2016-02-23 06:58:08 +10:00
Ryan Gribble
bd10379846 Add Reactive implementation and unit tests 2016-02-22 21:04:15 +10:00
Ryan Gribble
c56588d394 Add integration tests and context helper for creating/destroying users on GitHub Enterprise during integration tests 2016-02-22 21:04:13 +10:00
Ryan Gribble
f0c3b6009f Merge remote-tracking branch 'upstream/master' into enterprise-ldap-api 2016-02-21 14:57:18 +10:00
Mordechai Zuber
a70ff40c34 Merge from master 2016-02-16 08:38:51 +02:00
Brendan Forster
aa3ce0db92 updated IObservableReleasesClient to use ApiOptions, and added some tests 2016-02-14 18:13:40 +11:00
Ryan Gribble
1f13001fd8 Change the QueueLdapSync calls to use Post<T>(uri) with no body/data 2016-02-12 09:37:33 +10:00
Ryan Gribble
6965ac44b2 Implement Reactive version 2016-02-12 09:37:32 +10:00
Ryan Gribble
29a9fca8e8 Implement Enterprise LDAP Client 2016-02-12 09:37:31 +10:00
Ryan Gribble
a3b2a2fbda Implement Reactive Enterprise Search Indexing Client and unit/integration tests 2016-02-11 15:07:13 +10:00
Ryan Gribble
b50b2c737f Implement Enterprise Search Indexing Client and unit/integration tests 2016-02-11 15:07:12 +10:00
Mordechai Zuber
6d8e7dcd22 Add extension to create a branch 2016-02-11 01:37:03 +02:00
Ryan Gribble
01ef445a40 Add Reactive versions of organization API and unit/integration tests 2016-02-01 21:10:36 +10:00
Ryan Gribble
0ed6704859 Implement Enterprise Organization client 2016-02-01 21:10:35 +10:00
Ryan Gribble
22fa5f50dd Add Reactive versions of license API and unit/integration tests 2016-02-01 21:10:34 +10:00
Ryan Gribble
791074f9e2 Implement Enterprise License API, unit tests and integration tests 2016-02-01 21:10:33 +10:00
Ryan Gribble
535709c368 Better support for GitHub Enterprise integration tests
- Remove EnterpriseUrl in integration test Helper class, but leave ability to override custom URL (to allow specific use case of targetting regular integration tests at a custom URL)
- Move GitHub Enterprise explicit support to a new integration helper class using new OCTOKIT_GHE_ environment variables for GHE
- Change existing GitHub Enterprise integration tests and EnterpriseTestAttribute to use the new EnterpriseHelper methods
- Enhance configure-intergration-tests.ps1 script to cater for environment variable changes
2016-02-01 21:10:33 +10:00
Brendan Forster
5f2cc4cb4e Merge pull request #1049 from TattsGroup/enterprise-adminstats
Implement Enterprise Admin Stats API
2016-02-01 21:38:03 +10:30
Ryan Gribble
7e4848c69e Another rename 2016-01-31 14:33:37 +10:00
Ryan Gribble
a3d43b636c Add member role filter to Members.GetAll() functions
Add unit tests
Added integration tests for this method (previously there were none)
... but then disabled the integration tests that use the filters, as they require the requester to be an org member (for role filter) or owner (for 2 factor filter)
2016-01-31 06:45:04 +10:00
Ryan Gribble
e87f200b7a Rename test class to be consistent with others 2016-01-30 16:37:06 +10:00
Ryan Gribble
1a90c166dd Merge remote-tracking branch 'upstream/master' into enterprise-adminstats 2016-01-26 22:51:04 +10:00
Ryan Gribble
d2b747641c Implement individual methods for each AdminStats call
Remove AdminStatsTypeEnum
Add tests for new methods
2016-01-26 22:40:35 +10:00
Ryan Gribble
e7187cbb0d Merge remote-tracking branch 'upstream/master' into enterprise-adminstats 2016-01-16 14:01:48 +10:00
Dave Glick
dcb83fc6ff Adds support for alternate accept header to retrieve star creation timestamps 2016-01-12 21:40:11 -05:00
Mordechai Zuber
d9ab06718a Add integration tests for RepoCollab client 2015-12-28 07:45:47 +02:00
Ryan Gribble
3f437eb9f0 First cut of AdminStats client and tests 2015-12-24 15:08:43 +10:00
Brendan Forster
0521eeed0b updated xunit packages 2015-12-20 14:09:24 +10:30