Skip to content

Fix AassertTrue/assertFalse simplified regarding the report from sona…#6725

Open
dawidkwiecien wants to merge 4 commits into
apache:masterfrom
dawidkwiecien:assertTrue/assertFalse-should-be-simplified
Open

Fix AassertTrue/assertFalse simplified regarding the report from sona…#6725
dawidkwiecien wants to merge 4 commits into
apache:masterfrom
dawidkwiecien:assertTrue/assertFalse-should-be-simplified

Conversation

@dawidkwiecien

Copy link
Copy Markdown
Contributor

Description

Fixes Sonar Qube issue (Java) JUnit assertTrue/assertFalse should be simplified to the corresponding dedicated assertion
https://sonarcloud.io/project/issues?rules=java%3AS5785&issueStatuses=OPEN%2CCONFIRMED&id=JMeter

Additionaly in PackageTest.java, I've removed self-assertions for example AssertEquals(a1,a1) which were useless.

Motivation and Context

Remove issue from SonarQube

How Has This Been Tested?

I've runned ./gradlew test and there is no issue

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • [ x] My code follows the code style of this project.
  • I have updated the documentation accordingly.

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.

1 participant