yyqdbngt opened a new pull request, #3617:
URL: https://github.com/apache/rocketmq-dashboard/pull/3617
### Summary
Adds the first dedicated unit test suite for `InstanceType`, the instance
type vocabulary used by instance create/list filters and the UI selector.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/common/domain/enums/InstanceTypeTest.java`
- `exposesAllInstanceTypes`: CLOUD, PROXY_LOCAL, PROXY_CLUSTER and DIRECT
exist.
- `enumNamesUseUpperSnakeCase`: names stay upper snake-case.
- `namesRoundTripThroughValueOf`: every constant round-trips.
### Testing
- `mvn -B test -Dtest=InstanceTypeTest` 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]