yyqdbngt opened a new pull request, #3825: URL: https://github.com/apache/rocketmq-dashboard/pull/3825
### Motivation The existing `PageResultTest` covers null-item normalisation and source isolation, but the `empty` factory and the pagination metadata fields carried by `of` were untested. ### Changes - `emptyShouldCarryPageAndSizeWithZeroTotal`: `empty(3, 25)` produces an empty page with total 0 and the requested page/size. - `ofShouldPreservePaginationMetadata`: total, page and size are preserved verbatim alongside the items. ### Verification ``` mvn -B test -Dtest=PageResultTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 [INFO] BUILD SUCCESS ``` -- 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]
