Update StmtTestUtils
[yangtools.git] / yang / yang-parser-impl / src / test / java / org / opendaylight / yangtools / yang / parser / stmt / rfc7950 / IdentityrefStatementTest.java
index 7af96635009a83dc3f2221b371ac21909d1c59bc..58dd5bc8d7133f11b1c4931b57ed23384fbb0666 100644 (file)
@@ -13,9 +13,6 @@ import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
-import java.io.FileNotFoundException;
-import java.net.URISyntaxException;
-import java.text.ParseException;
 import java.util.Date;
 import java.util.Set;
 import org.junit.Test;
@@ -32,8 +29,7 @@ import org.opendaylight.yangtools.yang.stmt.StmtTestUtils;
 public class IdentityrefStatementTest {
 
     @Test
-    public void testIdentityrefWithMultipleBaseIdentities() throws ReactorException, FileNotFoundException,
-            URISyntaxException, ParseException {
+    public void testIdentityrefWithMultipleBaseIdentities() throws Exception {
         final SchemaContext schemaContext = StmtTestUtils.parseYangSource("/rfc7950/identityref-stmt/foo.yang");
         assertNotNull(schemaContext);
 
@@ -57,7 +53,7 @@ public class IdentityrefStatementTest {
     }
 
     @Test
-    public void testInvalidYang10() throws ReactorException, FileNotFoundException, URISyntaxException {
+    public void testInvalidYang10() throws Exception {
         try {
             StmtTestUtils.parseYangSource("/rfc7950/identityref-stmt/foo10.yang");
             fail("Test should fail due to invalid Yang 1.0");