All Downloads are FREE. Search and download functionalities are using the official Maven repository.

checkstyle.import-control.xml Maven / Gradle / Ivy

Go to download

Checkstyle configuration of of jQAssistant to ensure our coding standards.

There is a newer version: 2.3.1
Show newest version
<!DOCTYPE import-control PUBLIC
    "-//Checkstyle//DTD ImportControl Configuration 1.4//EN"
    "https://checkstyle.org/dtds/import_control_1_4.dtd">
<import-control pkg="com\.buschmais.jqassistant"
                strategyOnMismatch="allowed" regex="true">


    <subpackage name="plugin\.junit\..+"
                regex="true" strategyOnMismatch="allowed">
        <!--
         ! As the code of the Junit plugin uses classes
         ! from Junit 3 and Junit 4. Therefore it is not
         ! possible to restrict the usage of any Junit
         ! version.
         ! Oliver B. Fischer, 2018-12-12
         !-->
    </subpackage>

    <subpackage name="(?!plugin\.junit).+"
                regex="true" strategyOnMismatch="allowed">
        <!--
         ! Disallowing the usage of Junit 4 as we will use Junit 5
         ! now.
         ! Oliver B. Fischer, 2018-12-12
         !-->
        <disallow class="org.junit.runner.RunWith"/>
        <disallow class="org.junit.After"/>
        <disallow class="org.junit.Before"/>
        <disallow class="org.junit.Test"/>
        <disallow class="org.junit.Ignore"/>
    </subpackage>
</import-control>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy