Liam Newman
8af66133d2
Switch to 'main' as default branch
2021-04-19 13:27:44 -07:00
Akash Rindhe
092815747a
(refactor) Rename gitHubBeforeAfter to nonRecordingGitHub #1076
...
[#1076 ]
2021-04-18 18:41:10 +08:00
Liam Newman
0647df2d2b
Add tests for getRepositoryById
2021-02-26 13:02:12 -08:00
James Nord
0d3ba9d7f0
formatting fixes
2020-07-07 13:29:33 +01:00
James Nord
44b72ed647
Add initial symlink support.
...
this adds rudimentary symlink support (just enough to get a symlink).
still todo, howto handle GHRepository.getFileContent where the path
contains a symlink within the repository
2020-07-02 17:18:20 +01:00
Liam Newman
dbd20fe396
Merge pull request #804 from springernature/master
...
fix to #803
2020-05-13 09:12:20 -07:00
Stefan Reisner
488e5e531f
updated GHContentIntegrationTest.java
...
dummy commit
2020-05-13 12:39:10 +02:00
Stefan Reisner
65d6fc7272
updated GHContentIntegrationTest.java
...
dummy commit
2020-05-12 12:06:44 +02:00
Dr. Stefan Reisner
63ce8e461b
Update src/test/java/org/kohsuke/github/GHContentIntegrationTest.java
...
Co-authored-by: Liam Newman <bitwiseman@gmail.com >
2020-05-12 09:59:53 +02:00
Stefan Reisner
fbf4c48461
updated GHContentIntegrationTest.java, src/test/resources/org/kohsuke/github/GHContentIntegrationTest/wiremock/**
...
adapting to new org hub4-test-org (was github-api-test-org)
2020-05-11 16:33:29 +02:00
Stefan Reisner
4d4edfa181
updated GHContentIntegrationTest.java
...
adapting testGetFileContentWithNonAsciiPath to shortened file path
2020-05-11 08:01:32 +02:00
Liam Newman
6f9182f1f6
Rename organization to hub4j
...
Fixes #801
2020-05-08 15:17:14 -07:00
Stefan Reisner
fa600c03e2
updated GHContentIntegrationTest.java
...
sorting imports
2020-05-06 17:33:11 +02:00
Stefan Reisner
50903b5c4a
updated GHContentIntegrationTest.java
2020-05-06 16:53:23 +02:00
Liam Newman
ad45a74f87
Further clean up of refactored classes
2020-02-12 22:42:12 -08:00
Alex Taylor
8098b68b8e
formatting changes
...
sorry forgot to run the formatting automation before committing the last
2020-01-29 16:56:49 -05:00
Alex Taylor
aba60587ab
Corrected massive change
...
Added back the extends Assert to the wiremock test base class so that I am not making a massive change and potentially breaking inflight work people are doing
2020-01-29 16:49:33 -05:00
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
37a2018fe3
Do not MIME encode Base64 content for sending
...
Fixes #638
2019-12-20 19:48:17 -08:00
Liam Newman
8c4b1ef74a
Fixed GHContent to allow spaces in path
...
URI path encoding whack-a-mole. This fix should cover a significant number of cases.
Also, fixed to NOT do URLEncode for URI path. The encoding is different between path and query.
Fixes #624
2019-11-25 18:06:19 -08:00
Liam Newman
2af4f61882
Cleanup imports
2019-11-18 11:35:45 -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
80fa389ce3
Fix GHContent.read()
...
Fixes #487
2019-10-11 15:21:57 -07:00
Liam Newman
b35509150a
Enable part of AppTest in CI
2019-10-02 15:27:22 -07:00
Kohsuke Kawaguchi
cbfe72a76e
Fixed a broken test
2018-08-29 20:31:44 -07:00
onoguera-ob
f68a85056e
Update integration test.
2018-06-12 18:26:20 -07:00
Jae Gangemi
23cd51a6da
- improved branch protection support
2017-08-08 16:17:58 -06:00
Kohsuke Kawaguchi
27e855ddbd
Issue 262: added support for branch protection API
2016-06-02 23:40:37 -07:00
Kohsuke Kawaguchi
397886d289
Excluding a flaky test
2016-03-18 19:08:51 -07:00
Ruben Dijkstra
a1e79d3050
Add unit test to cover the truncation of ?ref
2015-11-16 18:33:51 +01:00
Kohsuke Kawaguchi
8a1f116305
Renamed to avoid colliding with LifecycleTest
2014-05-10 15:49:31 -07:00
Kohsuke Kawaguchi
bf44232d5c
Updated test case
2014-05-10 15:43:15 -07:00
Matt Farmer
f3207855ca
Implement a CRUD integration test for the content api.
2013-11-28 09:45:54 -05:00
Alexandre COLLIGNON
925d26e54c
Add GitHub Contents API read methods
2013-11-27 22:35:41 -05:00