yyqdbngt opened a new pull request, #3623:
URL: https://github.com/apache/rocketmq-dashboard/pull/3623
### Summary
Adds the first dedicated unit test suite for `SystemAlertQuery`, the record
carrying the paged alert-event feed filters.
The record exposes a convenience constructor that leaves the
notification-suppression filter unset. The tests pin the full filter shape, the
convenience default and record equality.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/ops/alert/SystemAlertQueryTest.java`
- `exposesAllRecordComponents`: every filter field surfaces.
- `convenienceConstructorDefaultsNotificationSuppressionToNull`: the short
constructor leaves suppression and instance filters unset.
- `equalityFollowsRecordComponents`: record equality and hash behaviour.
### Testing
- `mvn -B test -Dtest=SystemAlertQueryTest` passes (3 tests, all green).
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]