Alex Taylor
4c3a0d329b
added Authentication Check
...
Added additional authentication checks on gitHubBeforeAfter so that cleanup is done with a user logged in
2020-01-27 15:24:28 -05:00
Alex Taylor
12c3a0b1fa
Authentication and assertThat issues
...
Fixed some problems with tests trying to authenticate when you are not actually signed in. This hit rate API limiting which caused tests to hang/fail
Also fixed assertThat getting deprecated from junit
2020-01-27 14:29:46 -05:00
Liam Newman
5a6a29cbb5
Add array and iterator tests
2020-01-15 19:31:30 -08:00
Liam Newman
049db83423
Merge remote-tracking branch 'github-api/master' into task/iterator
2019-12-17 14:35:37 -08:00
Liam Newman
7e4f98d328
Remove dependency on apache commons-codec
2019-12-03 11:39:05 +00:00
Liam Newman
60700d59fe
Force URI encoding for api paths starting with slash
2019-11-26 15:14:36 -08:00
Liam Newman
2af4f61882
Cleanup imports
2019-11-18 11:35:45 -08:00
Liam Newman
da11702f68
Modify formatting to columnize
...
Turns out I do care about formatting a little. We have a lot of builders and chained methods.
I think it is easier to follow long chains when lined up veritcally.
2019-11-15 15:18:07 -08:00
Liam Newman
5f597379b5
JavaDoc warning fixes
2019-11-13 14:53:42 -08:00
Liam Newman
9d8460bb81
Enable automatic code formatter with CI validation
...
This may be controversial but it we're doing it. Having code formatting needs to be consistent
and a non-issue during code review. I'm willing modify the configuration if people see a strong
need, but formatting needs to be present and enforced.
2019-11-13 13:28:23 -08:00
Liam Newman
8943af9840
Cleanup tabs and whitespace
2019-11-13 12:47:19 -08:00
Liam Newman
061e8bb662
Stop printing to System
2019-10-25 18:33:54 -07:00
Liam Newman
a4f42b2948
Add more tests from AppTest
2019-10-25 18:31:40 -07:00
Austin Witt
c763c02018
[added] unit tests for getUserPublicOrganizations(...)
2019-10-24 11:03:37 -05:00
Liam Newman
81ea138f41
Test and fixes for draft pull request
2019-10-21 15:38:04 -07:00
Liam Newman
dc31d52f83
Add facility to create and auto-cleanup temp repos
2019-10-09 13:00:21 -07:00
Liam Newman
0d135f14bb
Add more CI tests
2019-10-07 14:01:32 -07:00
Liam Newman
87410e295e
Add more tests to ci
2019-10-07 13:04:13 -07:00
Liam Newman
2719867a86
Fix up Label Description and tests
2019-10-04 22:23:53 -07:00
Liam Newman
0240412ad2
Merge remote-tracking branch 'github-api/master' into label-description
2019-10-04 21:44:06 -07:00
Liam Newman
552edf8698
Switch to WireMockMultiServerRule as base
2019-10-04 21:06:00 -07:00
Liam Newman
1076f89954
Merge branch 'master' into label-description
2019-10-03 23:56:27 -07:00
Liam Newman
19e1a00fd7
Rename mapping files to include index
2019-10-03 14:05:15 -07:00
Liam Newman
3488421f67
More WireMock tests
2019-10-03 12:34:32 -07:00
Liam Newman
b35509150a
Enable part of AppTest in CI
2019-10-02 15:27:22 -07:00
Liam Newman
c7c8cd76c6
Merge branch 'master' into label-description
2019-09-08 23:58:18 -07:00
Liam Newman
68915a9daf
Added tests for createLabel() method
2019-05-16 18:51:44 -07:00
Karol Lassak
87245ab79f
Add getTeam by id function
2019-03-18 14:15:29 +01:00
Immanuel Washington
ec99636ef0
Adding Label description property
...
Label in the GitHub API has an optional field description which had not been implemented.
2018-11-25 02:10:06 -05:00
Kohsuke Kawaguchi
f2ed7c15ce
Looks like the permission scheme changed on jenkinsci/violations-plugin
2018-05-01 07:12:30 -07:00
Kohsuke Kawaguchi
60c9ba88ae
Updated tests
2017-10-28 15:27:38 -07:00
Kohsuke Kawaguchi
cc2e60c84a
Merge pull request #388
2017-10-28 09:01:01 -07:00
Kohsuke Kawaguchi
e94ba74058
Convention is to call these methods setXyz. Plus doc
2017-10-28 07:44:23 -07:00
Baptiste Mathus
569fa06d2d
Labels: add method to update color
2017-10-25 14:06:28 +02:00
Arne Burmeister
7735edeae8
extend id from int to long
2017-10-23 17:05:02 +02:00
Kohsuke Kawaguchi
b0f2a871c6
Merge pull request #337
2017-09-09 11:58:13 -07:00
mdeverdelhan
c9b5074bc4
Fix the wrapping of retrieved commits (owner/repository)
2017-05-11 12:32:34 +02:00
mdeverdelhan
64af13f40d
Add the Commit search API (still in preview)
2017-03-30 12:55:55 +02:00
Sebastian Kürten
fafe6b0ff7
Remove unused imports
...
Especially also remove the unsued import of
javax.xml.bind.DatatypeConverter from GHContent which is non-public API
as of Java 8
2017-02-09 18:15:20 +01:00
Kohsuke Kawaguchi
911e8d21a7
Made the test case runnable, at least for me
2017-01-09 16:26:58 -08:00
Kohsuke Kawaguchi
a454fb10ec
Tree traversal from commit & its associated tests
2016-12-17 07:21:31 -08:00
Kohsuke Kawaguchi
e6ee278fde
Another version that directly reads BLOB without going through an intermediate object.
2016-12-17 06:55:44 -08:00
Kohsuke Kawaguchi
511f156603
Added the membership API for the authenticated user.
2016-11-19 15:26:04 -08:00
Kohsuke Kawaguchi
18e797095f
rewrote assert with JUnit ones
2016-11-16 22:36:16 -08:00
Kohsuke Kawaguchi
85aa2ad4e6
Added reaction API
2016-11-16 19:10:37 -08:00
Kohsuke Kawaguchi
7b87de2b4c
Giving it a bit of delay in the hope that it removes flakiness of tests
2016-06-03 00:04:36 -07:00
Kohsuke Kawaguchi
1ce54a7925
Bug fix in toString()
2016-06-02 23:55:55 -07:00
Kohsuke Kawaguchi
cde501af8d
More meaningful toString() method
...
Produce toString without dilligently adding it to every single class.
Rely on heuristics to cut down the number of fields to show.
2016-06-02 22:38:38 -07:00
Kohsuke Kawaguchi
01fcbc24e8
Merge pull request #282 from apemberton/org-fix
...
related to JENKINS-34834. updating test for similar condition
2016-06-03 13:52:26 +09:00
Andy Pemberton
5f95987a48
related to JENKINS-34834. updating test for similar condition
2016-05-14 20:07:04 -04:00