You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 15:39:11 UTC
[PR] test: cover paging passthrough and empty page in PageResult [rocketmq-dashboard]
yyqdbngt opened a new pull request, #3428:
URL: https://github.com/apache/rocketmq-dashboard/pull/3428
### Summary
`PageResult.of` exposes items plus total/page/size paging metadata, and `PageResult.empty` builds a zero-total page. The suite covered null-normalization and defensive copying only.
### Changes
- `of` carries the total and paging fields through unchanged
- `empty` yields an empty item list with zero total while preserving the requested page and size
### Testing
`mvn test -Dtest=PageResultTest` passes: 4 tests, 0 failures (up from 2).
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] test: cover paging passthrough and empty page in PageResult [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3428: test: cover paging passthrough and empty page in PageResult
URL: https://github.com/apache/rocketmq-dashboard/pull/3428
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org