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

   ## Summary
   
   Adds `AliyunConvertersEnumsTest`, a sibling test file covering the Aliyun 
converter enum mappers (`toTopicType`, `toConsumeType`), which the existing 
converter tests do not exercise.
   
   Coverage:
   - Aliyun message types map case-insensitively onto `TopicType` 
(`NORMAL`/`FIFO`/`DELAY`/`TRANSACTION`);
   - unknown or missing message types degrade to null (including `LITE`, which 
Studio does not map);
   - Aliyun message models map case-insensitively onto `ConsumeType` 
(`Clustering`/`Broadcasting`);
   - unknown or missing message models degrade to null.
   
   ## Why
   
   These mappers decide how Aliyun topics/consumer groups surface in the Studio 
instance pages; the string-to-enum contract had no direct coverage.
   
   ## Testing
   
   `mvn -B test -Dtest=AliyunConvertersEnumsTest` — 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