01: package com.puppycrawl.tools.checkstyle.checks.imports;
02:
03: import java.io.File;
04:
05: import com.puppycrawl.tools.checkstyle.api.CheckstyleException;
06: import junit.framework.TestCase;
07:
08: public class ImportControlLoaderTest extends TestCase {
09: public void testLoad() throws CheckstyleException {
10: final PkgControl root = ImportControlLoader.load(new File(
11: System.getProperty("testinputs.dir")
12: + "/import-control_complete.xml").toURI());
13: assertNotNull(root);
14: }
15: }
|