You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "Sf331 (via GitHub)" <gi...@apache.org> on 2026/09/03 09:27:47 UTC
[PR] test(task#5161): improve test coverage for matcher in shenyu-client-core [shenyu]
Sf331 opened a new pull request, #7030:
URL: https://github.com/apache/shenyu/pull/7030
Fixes #5161
This PR adds unit tests for the `register/matcher` package in `shenyu-client-core`:
- `MatcherTest`: covers `and`/`or`/`negate`/`not` composition, short-circuit evaluation, and null-argument fail-fast
- `AnnotatedApiBeanMatcherTest`: covers bean-level annotation matching, including the semantic that `isAnnotationDeclaredLocally` does not match annotations inherited from a superclass
- `AnnotatedApiDefinitionMatcherTest`: covers method-level annotation matching
- `ExtractorProcessorTest`: covers the default `supportedClient()` behavior
Make sure that:
- [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide).
- [x] You submit test cases (unit or integration tests) that back your changes.
- [x] Your local test passed `./mvnw clean install -Dmaven.javadoc.skip=true`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] test(task#5161): improve test coverage for matcher in shenyu-client-core [shenyu]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 merged PR #7030:
URL: https://github.com/apache/shenyu/pull/7030
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org