You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/05/17 06:52:28 UTC

[GitHub] [incubator-eventmesh] ruanwenjun commented on pull request #867: [ISSUE-856] Add test code for module [eventmesh-trace-plugin]

ruanwenjun commented on PR #867:
URL: https://github.com/apache/incubator-eventmesh/pull/867#issuecomment-1128483002

   > > `eventmesh-trace-plugin/eventmesh-trace-zipkin/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker`, @HoffmanZheng hi, you need add the apache license header for this file.
   > 
   > Once I add the license head, the Mockito test failed. As I mentioned above, this file might be **single line** to enable the incubating feature of Mockito (for our situation, to mock the final class). ![1652762657839](https://user-images.githubusercontent.com/45369893/168730850-7be24126-120c-4d11-936e-4b3c5d59289d.jpg)
   
   If so, I suggest that we can use `PowerMock` to mock the final class, since we must contain the license header in our source file.


-- 
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-unsubscribe@eventmesh.apache.org

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


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