Skip to content

fix: support implicit @MethodSource to UnusedMethod#5610

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_829314044
Mar 18, 2026
Merged

fix: support implicit @MethodSource to UnusedMethod#5610
copybara-service[bot] merged 1 commit intomasterfrom
test_829314044

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

fix: support implicit @MethodSource to UnusedMethod

Currently, UnusedMethod check does not recognize implicitly referenced JUnit @MethodSource, e.g. the ones which are derived from test method name when none are specified explicitly. This PR fixes this issue.

Fixes #5289

Fixes #5210

FUTURE_COPYBARA_INTEGRATE_REVIEW=#5210 from JarvisCraft:junit-implicit-method-source 457c855

Currently, `UnusedMethod` check does not recognize implicitly referenced JUnit `@MethodSource`, e.g. the ones which are derived from test method name when none are specified explicitly. This PR fixes this issue.

Fixes #5289

Fixes #5210

COPYBARA_INTEGRATE_REVIEW=#5210 from JarvisCraft:junit-implicit-method-source 457c855
PiperOrigin-RevId: 885662324
@copybara-service copybara-service bot merged commit 0dbf04a into master Mar 18, 2026
@copybara-service copybara-service bot deleted the test_829314044 branch March 18, 2026 17:17
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.

UnusedMethod not recognize Junit MethodSource

1 participant