Skip to content

Conversation

@CarlChaoCarl
Copy link
Contributor

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:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@CarlChaoCarl CarlChaoCarl changed the title Feature/upgrade mockito and optimize tests coverage feat(test): upgrade mockito and optimize tests coverage Dec 9, 2024
@lxcmyf
Copy link
Contributor

lxcmyf commented Dec 26, 2024

Did the modification run successfully in the ARM environment of JDK17 during unit testing?

@CarlChaoCarl
Copy link
Contributor Author

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);
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest deletion.

@CodeNinjaEvan CodeNinjaEvan merged commit 92ae447 into tronprotocol:develop Jan 13, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants