Skip to content

Commit

Permalink
Test fixes for 1.x backport
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman committed Jan 25, 2025
1 parent cad279e commit 630078b
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/org/kohsuke/github/GHAppInstallationRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

import java.io.IOException;
import java.net.URL;

/**
* A Github App Installation Request.
*
Expand All @@ -19,6 +22,8 @@ public GHAppInstallationRequest() {

private GHUser requester;

private String htmlUrl;

/**
* Gets the organization where the app was requested to be installed.
*
Expand All @@ -39,4 +44,9 @@ public GHUser getRequester() {
return requester;
}

@Override
public URL getHtmlUrl() throws IOException {
return GitHubClient.parseURL(htmlUrl);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -6284,6 +6284,36 @@
"allPublicClasses": true,
"allDeclaredClasses": true
},
{
"name": "org.kohsuke.github.GitHubAbuseLimitHandler$1",
"allPublicFields": true,
"allDeclaredFields": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredConstructors": true,
"allPublicConstructors": true,
"allDeclaredConstructors": true,
"queryAllPublicMethods": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredMethods": true,
"allPublicClasses": true,
"allDeclaredClasses": true
},
{
"name": "org.kohsuke.github.GitHubAbuseLimitHandler$2",
"allPublicFields": true,
"allDeclaredFields": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredConstructors": true,
"allPublicConstructors": true,
"allDeclaredConstructors": true,
"queryAllPublicMethods": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredMethods": true,
"allPublicClasses": true,
"allDeclaredClasses": true
},
{
"name": "org.kohsuke.github.GitHubBuilder",
"allPublicFields": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,12 @@
{
"name": "org.kohsuke.github.GitHub$AuthorizationRefreshGitHubWrapper"
},
{
"name": "org.kohsuke.github.GitHubAbuseLimitHandler$1"
},
{
"name": "org.kohsuke.github.GitHubAbuseLimitHandler$2"
},
{
"name": "org.kohsuke.github.GitHubBuilder"
},
Expand Down
2 changes: 2 additions & 0 deletions src/test/resources/no-reflect-and-serialization-list
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ org.kohsuke.github.GitHub
org.kohsuke.github.GitHub$DependentAuthorizationProvider
org.kohsuke.github.GitHub$LoginLoadingUserAuthorizationProvider
org.kohsuke.github.GitHubAbuseLimitHandler
org.kohsuke.github.GitHubAbuseLimitHandler$1
org.kohsuke.github.GitHubAbuseLimitHandler$2
org.kohsuke.github.GitHubClient
org.kohsuke.github.GitHubClient$BodyHandler
org.kohsuke.github.GitHubClient$GHApiInfo
Expand Down

0 comments on commit 630078b

Please sign in to comment.