KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > checks > imports > ImportControlLoaderTest


1 package com.puppycrawl.tools.checkstyle.checks.imports;
2
3 import com.puppycrawl.tools.checkstyle.api.CheckstyleException;
4 import junit.framework.TestCase;
5
6 public class ImportControlLoaderTest extends TestCase
7 {
8     public void testLoad() throws CheckstyleException
9     {
10         final PkgControl root = ImportControlLoader.load(System
11                 .getProperty("testinputs.dir")
12                 + "/import-control_complete.xml");
13         assertNotNull(root);
14     }
15 }
16
Popular Tags