yyqdbngt opened a new pull request, #3601:
URL: https://github.com/apache/rocketmq-dashboard/pull/3601
### Summary
Adds the first dedicated unit test suite for `CertType`, the certificate
type vocabulary used by the K8s cert payloads and the frontend type selector.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/common/domain/enums/CertTypeTest.java`
- `exposesAllSupportedCertificateTypes`: TLS, mTLS and ServiceAccount
exist.
- `enumNamesMatchTheAcceptedTypeStrings`: names stay exactly
`TLS`/`mTLS`/`ServiceAccount`.
- `namesRoundTripThroughValueOf`: every constant round-trips through
`valueOf`.
### Testing
- `mvn -B test -Dtest=CertTypeTest` 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]