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 18:46:15 UTC

[PR] test: add first unit test for CertStatus [rocketmq-dashboard]

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

   ### Summary
   
   Adds the first dedicated unit test suite for `CertStatus`, the certificate lifecycle vocabulary surfaced by the K8s cert list views.
   
   ### Changes
   
   - `server/src/test/java/org/apache/rocketmq/studio/common/domain/enums/CertStatusTest.java`
     - `exposesAllCertificateLifecycleStatuses`: valid, expiring and expired exist.
     - `enumNamesStayLowerCamelForJsonSerialization`: names stay lower camel-case for the wire.
     - `namesRoundTripThroughValueOf`: every constant round-trips through `valueOf`.
   
   ### Testing
   
   - `mvn -B test -Dtest=CertStatusTest` 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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] test: add first unit test for CertStatus [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3602: test: add first unit test for CertStatus
URL: https://github.com/apache/rocketmq-dashboard/pull/3602


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