remove unneeded testsuite runners. Eclipse support makes this not required anymore.

This commit is contained in:
Oliver Burn 2010-02-13 04:00:50 +00:00
parent 98b7a4c6b9
commit f9ab1622b3
20 changed files with 0 additions and 296 deletions

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}