Raghav-Mah3shwari opened a new pull request, #1393: URL: https://github.com/apache/knox/pull/1393
## What changes were proposed in this pull request? This pull request adds comprehensive unit test coverage for `org.apache.knox.gateway.util.MimeTypes`. The tests cover MIME type creation, charset insertion and preservation, malformed input handling, charset fallback behavior, MIME parameter preservation, wildcard MIME types, normalization, and default charset lookup. ## How was this patch tested? The following command was executed: ```bash mvn -pl gateway-util-common -Dtest=MimeTypesTest -Denforcer.skip=true test ``` Results: - 32 tests executed - 0 failures - 0 errors - 0 skipped tests - 0 Checkstyle violations ## Integration Tests No integration tests were added because this change only adds unit tests for the `MimeTypes` utility class and does not change runtime behavior. The unit tests are located at: ```text gateway-util-common/src/test/java/org/apache/knox/gateway/util/MimeTypesTest.java ``` ## UI changes Not applicable. This change does not affect the UI. -- 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]
