LI123456mo opened a new pull request, #16029:
URL: https://github.com/apache/dubbo/pull/16029

   This PR adds unit test coverage for the Utf8Utils utility class.
   
   Changes:
   
   Added Utf8UtilsTest.java to verify UTF-8 decoding logic.
   
   Added test cases for:
   
   Basic ASCII strings (1-byte).
   
   Multi-byte characters (Chinese characters).
   
   Error handling for invalid UTF-8 sequences.
   
   Edge cases like empty input.
   
   Verification: All tests passed locally using mvn clean test 
-Dtest=Utf8UtilsTest -pl dubbo-common.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to