-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(test): upgrade mockito and optimize tests coverage #6117
base: develop
Are you sure you want to change the base?
feat(test): upgrade mockito and optimize tests coverage #6117
Conversation
Did the modification run successfully in the ARM environment of JDK17 during unit testing? |
Yes, after the modifications, all the unit tests run normally under JDK 17. |
privateMethod.setAccessible(true); | ||
privateMethod.invoke(wallet, message, contractType, timeout); | ||
|
||
assertTrue(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the point here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This means that the unit test code runs here and there is no problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can be removed. It's also fine to leave it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest deletion.
What does this PR do?
1.upgrade mockito
2.upgrade jacoco
3.optimize tests coverage
Why are these changes required?
This PR has been tested by:
Follow up
Extra details