Pil0tXia opened a new pull request, #4139:
URL: https://github.com/apache/eventmesh/pull/4139

   Fixes #4138 .
   
   ### Motivation
   
   The TO-DO mark said that "It is better using Mockito not PowerMockito", so I 
used Mockito. Although there are private method/field to test in the compile() 
method of UrlMappingPattern.
   
   ### Modifications
   
   Use reflections to access private method and field, then write regular 
expressions.
   
   The Test case passed.
   
   ### Documentation
   
   - Does this pull request introduce a new feature? (no)
   - If yes, how is the feature documented? (not applicable)
   - If a feature is not applicable for documentation, explain why?
   - If a feature is not documented yet in this PR, please create a followup 
issue for adding the documentation
   


-- 
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: dev-unsubscr...@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@eventmesh.apache.org
For additional commands, e-mail: dev-h...@eventmesh.apache.org

Reply via email to