Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Merge branch 'main' into fix-sonatype-complaints

810a048
Select commit
Loading
Failed to load commit list.
Merged

test: Fix sonatype complaints in the tests #1870

Merge branch 'main' into fix-sonatype-complaints
810a048
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 8, 2026 in 49s

Annotations

Check warning on line 430 in oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountAuthorizedUserCredentialsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace these 4 tests with a single Parameterized one.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFQ0EbdAEiE0gypa&open=AZ0cSFQ0EbdAEiE0gypa&pullRequest=1870

Check warning on line 1243 in oauth2_http/javatests/com/google/auth/oauth2/ImpersonatedCredentialsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "sourceCredentials" which hides the field declared at line 149.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ1ofnJUaZ8ob9HyPF1b&open=AZ1ofnJUaZ8ob9HyPF1b&pullRequest=1870

Check warning on line 599 in oauth2_http/javatests/com/google/auth/oauth2/PluggableAuthHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.io.IOException', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFMgEbdAEiE0gypU&open=AZ0cSFMgEbdAEiE0gypU&pullRequest=1870

Check warning on line 164 in oauth2_http/javatests/com/google/auth/mtls/X509ProviderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Update this method so that its implementation is not identical to "x509Provider_succeeds_withEnvVariable" on line 138.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFRAEbdAEiE0gypc&open=AZ0cSFRAEbdAEiE0gypc&pullRequest=1870

Check warning on line 273 in oauth2_http/javatests/com/google/auth/oauth2/TokenVerifierTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either add an explanation about why this test is skipped or remove the "@Disabled" annotation.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFQbEbdAEiE0gypZ&open=AZ0cSFQbEbdAEiE0gypZ&pullRequest=1870

Check failure on line 90 in oauth2_http/javatests/com/google/auth/oauth2/MockTokenServerTransport.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFL5EbdAEiE0gypT&open=AZ0cSFL5EbdAEiE0gypT&pullRequest=1870

Check warning on line 696 in oauth2_http/javatests/com/google/auth/oauth2/IdentityPoolCredentialsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace these 3 tests with a single Parameterized one.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFPREbdAEiE0gypV&open=AZ0cSFPREbdAEiE0gypV&pullRequest=1870

Check failure on line 907 in oauth2_http/javatests/com/google/auth/oauth2/OAuth2CredentialsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this assertion.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFQGEbdAEiE0gypY&open=AZ0cSFQGEbdAEiE0gypY&pullRequest=1870

Check warning on line 164 in oauth2_http/javatests/com/google/auth/oauth2/ExecutableResponseTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace these 3 tests with a single Parameterized one.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFIjEbdAEiE0gypS&open=AZ0cSFIjEbdAEiE0gypS&pullRequest=1870

Check warning on line 854 in oauth2_http/javatests/com/google/auth/oauth2/OAuth2CredentialsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either add an explanation about why this test is skipped or remove the "@Disabled" annotation.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFQGEbdAEiE0gypX&open=AZ0cSFQGEbdAEiE0gypX&pullRequest=1870

Check warning on line 577 in oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountAuthorizedUserCredentialsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace these 4 tests with a single Parameterized one.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFQ0EbdAEiE0gypb&open=AZ0cSFQ0EbdAEiE0gypb&pullRequest=1870

Check warning on line 168 in oauth2_http/javatests/com/google/auth/oauth2/DefaultCredentialsProviderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace these 3 tests with a single Parameterized one.

See more on https://sonarcloud.io/project/issues?id=googleapis_google-auth-library-java&issues=AZ0cSFPrEbdAEiE0gypW&open=AZ0cSFPrEbdAEiE0gypW&pullRequest=1870