aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/checker/InputCheckerImportControlOne.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/com/puppycrawl/tools/checkstyle/checker/InputCheckerImportControlOne.xml')
-rw-r--r--src/test/resources/com/puppycrawl/tools/checkstyle/checker/InputCheckerImportControlOne.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/resources/com/puppycrawl/tools/checkstyle/checker/InputCheckerImportControlOne.xml b/src/test/resources/com/puppycrawl/tools/checkstyle/checker/InputCheckerImportControlOne.xml
new file mode 100644
index 000000000..1b673c1e0
--- /dev/null
+++ b/src/test/resources/com/puppycrawl/tools/checkstyle/checker/InputCheckerImportControlOne.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE import-control PUBLIC
+ "-//Puppy Crawl//DTD Import Control 1.0//EN"
+ "http://checkstyle.sourceforge.net/dtds/import_control_1_0.dtd">
+
+<import-control pkg="com.puppycrawl.tools.checkstyle.checks.imports">
+ <allow class="java.awt.Image"/>
+ <allow class="java.awt.Button.ABORT"/>
+ <allow class="java.io.File" local-only="true"/>
+ <subpackage name="importcontrol">
+ <allow pkg="javax.swing"/>
+ </subpackage>
+</import-control>