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

   What changes were proposed in this pull request?
   
   This change adds dedicated unit test coverage for 
NoClassNameMultiLineToStringStyle.
   
   The tests verify that:
   
   Fields are formatted on separate lines.
   The class name and identity hash code are not included in the generated 
string.
   No field separator is added before the first field.
   The generated output ends with the expected line separator, including when 
no fields are present.
   
   This is a test-only change and does not modify the existing production 
behavior.
   
   How was this patch tested?
   
   The new unit tests were executed directly using:
   
   `mvn -pl gateway-util-common -Dtest=NoClassNameMultiLineToStringStyleTest 
test`
   
   Result:
   
   Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
   BUILD SUCCESS
   
   The complete project build was also verified using:
   
   `mvn clean verify`
   
   The build completed successfully.
   
   Additionally, Checkstyle reported no violations for the changes.
   
   Integration Tests
   
   No integration tests were added because this change only adds unit test 
coverage for the formatting behavior of the NoClassNameMultiLineToStringStyle 
utility class.
   
   The functionality does not require a running Knox Gateway, external 
services, Docker-based infrastructure, or end-to-end validation.
   
   Dedicated unit tests have been added to cover the affected behavior.


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