mmustafasenoglu commented on PR #16384:
URL: https://github.com/apache/dubbo/pull/16384#issuecomment-5000335913

   Hi, added `FastJson2StripedLockTest` to improve patch coverage (previously 
64.28%).
   
   **New test methods:**
   
   | Test | Coverage target |
   |------|----------------|
   | `testReadObjectWithType` | `readObject(Class<T>, Type)` overload |
   | `testReadObjectWithTypeList` | `readObject` with `ParameterizedType` 
(List) |
   | `testReadObjectNullClass` | `getStripe(null)` branch |
   | `testConcurrentDeserializationSameType` | synchronized block, same stripe |
   | `testConcurrentDeserializationDifferentTypes` | synchronized block, 
different stripes |
   | `testReadObjectWithTypeAndString` | `readObject(Class, Type)` with String |
   | `testReadObjectWithTypeMap` | `readObject(Class, Type)` with 
`ParameterizedType` (Map) |
   
   These should cover the previously uncovered `getStripe(null)` branch, the 
`readObject(Class, Type)` code path, and exercise the synchronized blocks under 
concurrency.


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