[junit] Move Java JUnit inspections into JUnit plugin

#IDEA-341929 Fixed

GitOrigin-RevId: 7dd42203f64380382b3d39c77a409fe652b09941
This commit is contained in:
Bart van Helvert
2023-12-28 16:43:36 +01:00
committed by intellij-monorepo-bot
parent 2f289ccda6
commit 271d362d14
56 changed files with 582 additions and 682 deletions

View File

@@ -1695,8 +1695,6 @@ unnecessary.inherit.doc.class.invalid.problem.descriptor=<code>#ref</code> is no
unnecessary.inherit.doc.module.invalid.problem.descriptor=<code>#ref</code> is not valid on module declarations #loc
unnecessary.inherit.doc.constructor.no.super.problem.descriptor=No super method found to inherit Javadoc from #loc
unnecessary.inherit.doc.quickfix=Remove unnecessary {@inheritDoc}
multiple.exceptions.declared.on.test.method.display.name=Multiple exceptions declared on test method
multiple.exceptions.declared.on.test.method.problem.descriptor=<code>#ref</code> could be replaced with 'throws Exception' #loc
unnecessary.javadoc.link.display.name=Unnecessary Javadoc link
unnecessary.javadoc.link.super.method.problem.descriptor=<code>#ref</code> pointing to super method is unnecessary #loc
unnecessary.javadoc.link.this.method.problem.descriptor=<code>#ref</code> pointing to this method is unnecessary #loc
@@ -1729,8 +1727,6 @@ choose.class=Choose Class
query.label=Query names start with:
update.label=Update names start with:
assert.keyword.is.considered.an.assertion='assert' keyword is considered an assertion
expected.exception.never.thrown.display.name=Expected exception never thrown in test method body
expected.exception.never.thrown.problem.descriptor=Expected <code>#ref</code> never thrown in body of ''{0}()'' #loc
choose.logger.class=Choose Logger Class
logger.class.name=Logger class names:
ignore.exceptions.declared.on.library.override.option=Ignore exceptions declared on methods overriding a &library method
@@ -1868,9 +1864,6 @@ use.of.concrete.class.option.report.cast=Report type used in cast expression
class.only.used.in.one.package.display.name=Class only used from one other package
class.only.used.in.one.package.problem.descriptor=Class <code>#ref</code> has only dependencies on and/or dependents in package ''{0}'' #loc
unnecessary.return.option=Ignore in then branch of 'if' statement with 'else' branch
usage.of.obsolete.assert.display.name=Usage of obsolete 'junit.framework.Assert' method
use.of.obsolete.assert.problem.descriptor=Call to <code>#ref()</code> from ''{0}'' should be replaced with call to method from ''org.junit.Assert'' #loc
use.of.obsolete.assert.quickfix=Replace with 'org.junit.Assert' method call
unclear.binary.expression.display.name=Multiple operators with different precedence
unclear.binary.expression.problem.descriptor=Expression could use clarifying parentheses #loc
unclear.binary.expression.quickfix=Add clarifying parentheses
@@ -1914,8 +1907,6 @@ public.constructor.display.name='public' constructor can be replaced with factor
public.default.constructor.problem.descriptor=Class <code>#ref</code> has 'public' default constructor
public.constructor.problem.descriptor=Public constructor <code>#ref()</code> #loc
public.constructor.quickfix=Replace constructor with factory method
junit3.style.test.method.in.junit4.class.display.name=Old style JUnit test method in JUnit 4 class
junit3.style.test.method.in.junit4.class.problem.descriptor=Old style JUnit test method <code>#ref()</code> in JUnit 4 class #loc
none=none
private=private
package.local.private=package-private \\& private
@@ -2452,12 +2443,6 @@ inspection.comparator.combinators.description=Can be replaced with 'Comparator'
inspection.comparator.combinators.description2=Can be replaced with ''{0}''
inspection.unnecessary.string.escape.report.char.literals.option=Report char literals
inspection.method.call.in.loop.ignore.known.methods.option=Ignore known methods with side-effects
fix.data.provider.signature.fix.name=Change method signature to ''{0}''
fix.data.provider.create.method.fix.name=Create data provider method '@Parameters public static Iterable<Object> parameters()'
fix.data.provider.signature.family.name=Fix data provider method signature
fix.data.provider.signature.missing.method.problem=Parameterized test class <code>#ref</code> lacks data provider method annotated with '@Parameters'
fix.data.provider.signature.incorrect.problem=Data provider method <code>#ref()</code> has an incorrect signature
fix.data.provider.multiple.methods.problem=Multiple @Parameters data provider methods present in class <code>#ref</code>
throws.runtime.exception.fix.family.name=Remove from 'throws' clause
move.exception.to.javadoc.fix.family.name=Move to Javadoc '@throws'
create.package.info.java.family.name=Create 'package-info.java'
@@ -2471,7 +2456,6 @@ inspection.collection.must.have.initial.capacity.initializers.option=Don't repor
utility.class.without.private.constructor.cant.generate.constructor.message=Utility class has instantiations, private constructor will not be created
inspection.suspicious.package.private.access.problem={0} overrides a package-private method from {1} which is declared in a different module ''{2}''
inspection.condition.covered.by.further.condition.descr=Condition ''{0}'' covered by subsequent {1, choice, 1#condition ''''{2}''''|2#conditions}
inspection.parameterized.parameters.static.collection.display.name=Parameterized test class without data provider method
create.missing.switch.branch=Create missing switch branch ''{0}''
create.missing.switch.branches=Create missing branches: {0}
redundant.as.list.for.iteration.problem=Unnecessary 'Arrays.asList()' call