Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move some implementations classes under impl packages to be clear that are implementations and not APIs #938

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

nfalco79
Copy link
Member

@nfalco79 nfalco79 commented Dec 7, 2024

Melt build status notification test classes

…t are implementations and not APIs

Melt build status notification test classes
@@ -42,8 +42,7 @@
* @throws IOException if there was a communication error during notification.
* @throws InterruptedException if interrupted during notification.
*/
public abstract void notify(@CheckForNull String repoOwner, @CheckForNull String repoName, String hash, String content)
throws IOException, InterruptedException;
void notifyComment(@CheckForNull String repoOwner, @CheckForNull String repoName, String hash, String content) throws IOException, InterruptedException;

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'repoOwner' is never used.
@@ -42,8 +42,7 @@
* @throws IOException if there was a communication error during notification.
* @throws InterruptedException if interrupted during notification.
*/
public abstract void notify(@CheckForNull String repoOwner, @CheckForNull String repoName, String hash, String content)
throws IOException, InterruptedException;
void notifyComment(@CheckForNull String repoOwner, @CheckForNull String repoName, String hash, String content) throws IOException, InterruptedException;

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'repoName' is never used.

@ParameterizedTest(name = "checkURL {0} against Bitbucket Server")
@MethodSource("buildServerURLsProvider")
void test_checkURL_for_Bitbucket_server(String jenkinsURL, String expectedExceptionMsg, @NonNull JenkinsRule r) {

Check notice

Code scanning / CodeQL

Useless parameter Note test

The parameter 'r' is never used.

@ParameterizedTest(name = "checkURL {0} against Bitbucket Cloud")
@MethodSource("buildCloudURLsProvider")
void test_checkURL_for_Bitbucket_cloud(String jenkinsURL, String expectedExceptionMsg, @NonNull JenkinsRule r) {

Check notice

Code scanning / CodeQL

Useless parameter Note test

The parameter 'r' is never used.
@nfalco79 nfalco79 marked this pull request as ready for review December 7, 2024 18:09
@nfalco79 nfalco79 merged commit b69ff50 into master Dec 7, 2024
20 checks passed
@nfalco79 nfalco79 deleted the feature/move_impl_classes_junit5 branch December 7, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant