Skip to main content Link Search Menu Expand Document (external link)

JUnitClassModifiers

SUGGESTION

Style

View source code on GitHub

Summary

Non-abstract JUnit test classes should be declared package-private and final

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("JUnitClassModifiers") to the enclosing element.

Disable this pattern completely by adding -Xep:JUnitClassModifiers:OFF as compiler argument. Learn more.


Copyright © 2017-2023 Picnic Technologies BV