Update StmtTestUtils
[yangtools.git] / yang / yang-parser-impl / src / test / java / org / opendaylight / yangtools / yang / stmt / Bug6972Test.java
index 45556f3e0552f313299a18e5f9c9ce621927e7d4..0d5f760e961208c8dad854d58f46d0f210226749 100644 (file)
@@ -12,9 +12,6 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
-import java.io.FileNotFoundException;
-import java.net.URISyntaxException;
-import java.text.ParseException;
 import java.util.Collection;
 import java.util.Date;
 import org.junit.Ignore;
@@ -26,7 +23,6 @@ import org.opendaylight.yangtools.yang.model.api.LeafSchemaNode;
 import org.opendaylight.yangtools.yang.model.api.Module;
 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
-import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
 import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.LeafEffectiveStatementImpl;
 import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.UnitsEffectiveStatementImpl;
 
@@ -34,8 +30,7 @@ public class Bug6972Test {
 
     @Ignore
     @Test
-    public void allUnitsShouldBeTheSameInstance() throws ReactorException, FileNotFoundException, URISyntaxException,
-            ParseException {
+    public void allUnitsShouldBeTheSameInstance() throws Exception {
         final SchemaContext schemaContext = StmtTestUtils.parseYangSources("/bugs/bug6972");
         assertNotNull(schemaContext);
         assertEquals(3, schemaContext.getModules().size());