Uh oh!
There was an error while loading. Please reload this page.
Add missing coverage tests for Matchers.AnyMatcher primitive overloads - #11780
Conversation
The existing parameterized tests always dispatch through matches(Object), leaving the 9 primitive overloads uncovered. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
/merge |
View all feedbacks in Devflow UI.
The expected merge time in
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
#11780) Add missing coverage tests for Matchers.AnyMatcher primitive overloads The existing parameterized tests always dispatch through matches(Object), leaving the 9 primitive overloads uncovered. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Split AnyMatcher overload tests into individual test cases Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Merge branch 'master' into dougqh/matchers-anymatcher-coverage-fix Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>
What Does This Do
Adds coverage to AnyMatcher for primitive types
Motivation
Increase test coverage
Additional Notes
The existing parameterized tests in
MatchersTestalways dispatch throughmatches(Object), leaving the 9 primitive overloads onAnyMatcher(boolean,byte,short,int,long,float,double,BigInteger,BigDecimal) at 0% coverage.Adds
anyMatcherMatchesAllPrimitiveOverloadswhich calls each overload directly viaMatchers.ANY.Test plan
./gradlew :dd-trace-core:test --tests "datadog.trace.core.util.MatchersTest"passes🤖 Generated with Claude Code