Skip to content

Commit

Permalink
Issue checkstyle#14625: fix noinspectionreason for TestMethodWithoutA…
Browse files Browse the repository at this point in the history
…ssertion
  • Loading branch information
MANISH-K-07 committed Apr 19, 2024
1 parent 174bccc commit 8ca9668
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Expand Up @@ -129,7 +129,8 @@ public void setUp() throws Exception {
* @noinspection JUnitTestMethodWithNoAssertions, TestMethodWithoutAssertion
* @noinspectionreason JUnitTestMethodWithNoAssertions - asserts in callstack,
* but not in this method
* @noinspectionreason TestMethodWithoutAssertion - until issue #14625
* @noinspectionreason TestMethodWithoutAssertion - asserts in callstack,
* but not in this method
*/
@Test
public void testAllCheckSectionJavaDocs() throws Exception {
Expand Down
Expand Up @@ -587,9 +587,10 @@ public void testAllCheckSections() throws Exception {
* Validates xml check documentation section.
*
* @noinspection JUnitTestMethodWithNoAssertions, TestMethodWithoutAssertion
* @noinspectionreason JUnitTestMethodWithNoAssertions -asserts in callstack,
* @noinspectionreason JUnitTestMethodWithNoAssertions - asserts in callstack,
* but not in this method
* @noinspectionreason TestMethodWithoutAssertion - asserts in callstack,
* but not in this method
* @noinspectionreason TestMethodWithoutAssertion - until issue #14625
*/
@Test
public void testAllCheckSectionsEx() throws Exception {
Expand Down

0 comments on commit 8ca9668

Please sign in to comment.