Raghav-Mah3shwari opened a new pull request, #1385:
URL: https://github.com/apache/knox/pull/1385

   ## What changes were proposed in this pull request?
   
   This patch adds comprehensive unit test coverage for
   `org.apache.knox.gateway.util.MimeTypes`.
   
   The tests cover:
   
   - MIME type creation and parsing
   - Null MIME type handling
   - Charset insertion, replacement, and preservation
   - Existing MIME type parameters
   - Malformed MIME type input
   - Explicit and default charset lookup
   - Case-insensitive and whitespace-tolerant MIME type matching
   - Unknown, empty, and parameterized MIME types
   - All configured default MIME type mappings
   
   ## How was this patch tested?
   
   Executed the following command from the repository root:
   ```bash
   mvn -pl gateway-util-common -Dtest=MimeTypesTest test
   
   ntegration Tests
   No integration tests were added or modified. This change only adds unit 
tests for existing utility behavior and does not introduce a new feature, 
external integration, or workflow change.
   UI changes
   Not applicable. This patch does not include UI changes.


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