yyqdbngt opened a new pull request, #3269:
URL: https://github.com/apache/rocketmq-dashboard/pull/3269

   ## Summary
   
   Extends the existing `PageResultTest` (2 to 4 tests) to pin down the 
page-envelope contract.
   
   Added cases:
   - the `empty(page, size)` factory builds an empty page with zero total while 
preserving the requested window;
   - `of(items, total, page, size)` carries the total/page/size through the 
getters and keeps item order intact.
   
   ## Why
   
   `PageResult` is the shared envelope for every paged server feed; the window 
fields had no direct coverage beyond the null/isolation normalization.
   
   ## Testing
   
   `mvn -B test -Dtest=PageResultTest` — 4/4 pass; checkstyle (validate) clean.


-- 
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]

Reply via email to