remove unneeded testsuite runners. Eclipse support makes this not required anymore.
This commit is contained in:
parent
98b7a4c6b9
commit
f9ab1622b3
|
|
@ -1,39 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle;
|
||||
|
||||
import com.puppycrawl.tools.checkstyle.checks.annotation.AllAnnotationTests;
|
||||
|
||||
import com.puppycrawl.tools.checkstyle.api.AllApiTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.AllChecksTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.blocks.AllBlocksTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.coding.AllCodingTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.design.AllDesignTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.duplicates.AllDuplicatesTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.header.AllHeaderTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.imports.AllImportsTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.indentation.AllIndentationTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.javadoc.AllJavadocTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.metrics.AllMetricsTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.modifier.AllModifierTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.naming.AllNamingTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.regexp.AllRegexpTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.sizes.AllSizesTests;
|
||||
import com.puppycrawl.tools.checkstyle.checks.whitespace.AllWhitespaceTests;
|
||||
import com.puppycrawl.tools.checkstyle.filters.AllFilterTests;
|
||||
import com.puppycrawl.tools.checkstyle.grammars.AllGrammarTests;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {CheckerTest.class, ConfigurationLoaderTest.class,
|
||||
PackageNamesLoaderTest.class,
|
||||
PackageObjectFactoryTest.class, StringArrayReaderTest.class,
|
||||
UtilsTest.class, XMLLoggerTest.class, AllApiTests.class,
|
||||
AllChecksTests.class, AllBlocksTests.class, AllCodingTests.class,
|
||||
AllDesignTests.class, AllDuplicatesTests.class, AllHeaderTests.class,
|
||||
AllImportsTests.class, AllIndentationTests.class, AllJavadocTests.class,
|
||||
AllMetricsTests.class, AllModifierTests.class, AllNamingTests.class,
|
||||
AllSizesTests.class, AllWhitespaceTests.class, AllFilterTests.class,
|
||||
AllGrammarTests.class, AllRegexpTests.class, AllAnnotationTests.class})
|
||||
public class AllCheckstyleTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.api;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {AbstractViolationReporterTest.class,
|
||||
AutomaticBeanTest.class, DetailASTTest.class, ScopeTest.class,
|
||||
SeverityLevelTest.class, TokenTypesTest.class, FastStackTest.class})
|
||||
public class AllApiTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {ArrayTypeStyleCheckTest.class, ClassResolverTest.class,
|
||||
DescendantTokenCheckTest.class, FileSetCheckLifecycleTest.class,
|
||||
FinalParametersCheckTest.class, NewlineAtEndOfFileCheckTest.class,
|
||||
RegexpCheckTest.class, TodoCommentCheckTest.class,
|
||||
TrailingCommentCheckTest.class, TranslationCheckTest.class,
|
||||
UncommentedMainCheckTest.class, UpperEllCheckTest.class})
|
||||
public class AllChecksTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.annotation;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses(
|
||||
{ AnnotationUseStyleTest.class, MissingDeprecatedTest.class,
|
||||
MissingOverrideCheckTest.class, PackageAnnotationTest.class,
|
||||
SuppressWarningsTest.class })
|
||||
public class AllAnnotationTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.blocks;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {AvoidNestedBlocksCheckTest.class,
|
||||
EmptyBlockCheckTest.class, LeftCurlyCheckTest.class,
|
||||
NeedBracesCheckTest.class, RightCurlyCheckTest.class})
|
||||
public class AllBlocksTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.coding;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {ArrayTrailingCommaCheckTest.class,
|
||||
AvoidInlineConditionalsCheckTest.class, CovariantEqualsCheckTest.class,
|
||||
DeclarationOrderCheckTest.class, DefaultComesLastCheckTest.class,
|
||||
DoubleCheckedLockingCheckTest.class, EmptyStatementCheckTest.class,
|
||||
EqualsHashCodeCheckTest.class, ExplicitInitializationCheckTest.class,
|
||||
FallThroughCheckTest.class, FinalLocalVariableCheckTest.class,
|
||||
HiddenFieldCheckTest.class, IllegalCatchCheckTest.class,
|
||||
IllegalInstantiationCheckTest.class, IllegalThrowsCheckTest.class,
|
||||
IllegalTokenCheckTest.class, IllegalTokenTextCheckTest.class,
|
||||
IllegalTypeCheckTest.class, InnerAssignmentCheckTest.class,
|
||||
JUnitTestCaseCheckTest.class, MagicNumberCheckTest.class,
|
||||
MissingCtorCheckTest.class, MissingSwitchDefaultCheckTest.class,
|
||||
ModifiedControlVariableCheckTest.class,
|
||||
MultipleStringLiteralsCheckTest.class,
|
||||
MultipleVariableDeclarationsCheckTest.class, NestedIfDepthCheckTest.class,
|
||||
NestedTryDepthCheckTest.class, NoCloneCheckTest.class, NoFinalizerCheckTest.class,
|
||||
PackageDeclarationCheckTest.class, ParameterAssignmentCheckTest.class,
|
||||
RedundantThrowsCheckTest.class, RequireThisCheckTest.class, ReturnCountCheckTest.class,
|
||||
SimplifyBooleanExpressionCheckTest.class,
|
||||
SimplifyBooleanReturnCheckTest.class, StringLiteralEqualityCheckTest.class,
|
||||
SuperCloneCheckTest.class, SuperFinalizeCheckTest.class,
|
||||
UnnecessaryParenthesesCheckTest.class})
|
||||
public class AllCodingTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.design;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {DesignForExtensionCheckTest.class,
|
||||
FinalClassCheckTest.class, HideUtilityClassConstructorCheckTest.class,
|
||||
InterfaceIsTypeCheckTest.class, MutableExceptionCheckTest.class,
|
||||
ThrowsCountCheckTest.class, VisibilityModifierCheckTest.class})
|
||||
public class AllDesignTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.duplicates;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {StrictDuplicateCodeCheckTest.class})
|
||||
public class AllDuplicatesTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.header;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {HeaderCheckTest.class})
|
||||
public class AllHeaderTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.imports;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( { AccessResultTest.class, AvoidStarImportTest.class,
|
||||
AvoidStarImportTest.class, GuardTest.class,
|
||||
IllegalImportCheckTest.class,
|
||||
ImportControlCheckTest.class, ImportControlLoaderTest.class,
|
||||
ImportOrderCheckTest.class,
|
||||
PkgControlTest.class, RedundantImportCheckTest.class,
|
||||
UnusedImportsCheckTest.class })
|
||||
public class AllImportsTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.indentation;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {IndentationCheckTest.class})
|
||||
public class AllIndentationTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.javadoc;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {JavadocMethodCheckTest.class,
|
||||
JavadocPackageCheckTest.class, JavadocStyleCheckTest.class,
|
||||
JavadocTypeCheckTest.class, JavadocVariableCheckTest.class,
|
||||
WriteTagCheckTest.class})
|
||||
public class AllJavadocTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.metrics;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {BooleanExpressionComplexityCheckTest.class,
|
||||
ClassDataAbstractionCouplingCheckTest.class,
|
||||
ClassFanOutComplexityCheckTest.class, CyclomaticComplexityCheckTest.class,
|
||||
JavaNCSSCheckTest.class, NPathComplexityCheckTest.class})
|
||||
public class AllMetricsTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.modifier;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {ModifierOrderCheckTest.class, RedundantModifierTest.class})
|
||||
public class AllModifierTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.naming;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {AbstractClassNameCheckTest.class,
|
||||
ConstantNameCheckTest.class, LocalFinalVariableNameCheckTest.class,
|
||||
LocalVariableNameCheckTest.class, MemberNameCheckTest.class,
|
||||
MethodNameCheckTest.class, PackageNameCheckTest.class,
|
||||
ParameterNameCheckTest.class, StaticVariableNameCheckTest.class,
|
||||
TypeNameCheckTest.class, TypeParameterNameTest.class})
|
||||
public class AllNamingTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.regexp;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {RegexpSinglelineCheckTest.class,
|
||||
RegexpSinglelineJavaCheckTest.class, RegexpMultilineCheckTest.class})
|
||||
public class AllRegexpTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.sizes;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {AnonInnerLengthCheckTest.class,
|
||||
ExecutableStatementCountCheckTest.class, FileLengthCheckTest.class,
|
||||
LineLengthCheckTest.class, MethodLengthCheckTest.class,
|
||||
ParameterNumberCheckTest.class, OuterTypeNumberCheckTest.class})
|
||||
public class AllSizesTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.checks.whitespace;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {EmptyForInitializerPadCheckTest.class,
|
||||
EmptyForIteratorPadCheckTest.class, GenericWhitespaceCheckTest.class,
|
||||
MethodParamPadCheckTest.class, NoWhitespaceAfterCheckTest.class,
|
||||
NoWhitespaceBeforeCheckTest.class, OperatorWrapCheckTest.class,
|
||||
ParenPadCheckTest.class, TypecastParenPadCheckTest.class,
|
||||
WhitespaceAfterCheckTest.class, WhitespaceAroundTest.class,
|
||||
FileTabCharacterCheckTest.class})
|
||||
public class AllWhitespaceTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.filters;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {CSVFilterTest.class, FilterSetTest.class,
|
||||
IntMatchFilterTest.class, IntRangeFilterTest.class,
|
||||
SeverityMatchFilterTest.class, SuppressElementTest.class,
|
||||
SuppressionCommentFilterTest.class, SuppressionsLoaderTest.class})
|
||||
public class AllFilterTests
|
||||
{
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
package com.puppycrawl.tools.checkstyle.grammars;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses( {GeneratedJava14LexerTest.class, HexFloatsTest.class,
|
||||
EmbeddedNullCharTest.class, VarargTest.class})
|
||||
public class AllGrammarTests
|
||||
{
|
||||
}
|
||||
Loading…
Reference in New Issue