Update StmtTestUtils
[yangtools.git] / yang / yang-parser-impl / src / test / java / org / opendaylight / yangtools / yang / stmt / Bug4933Test.java
index 948f4e3ed19a5fde2f5fa20aa18b9c7a443d9e68..2019d64c05f58b62d67358bac28955bf0cf97caa 100644 (file)
@@ -12,8 +12,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.util.Set;
 import org.junit.Test;
 import org.opendaylight.yangtools.yang.model.api.Deviation;
@@ -24,7 +22,7 @@ import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
 public class Bug4933Test {
 
     @Test
-    public void test() throws ReactorException, FileNotFoundException, URISyntaxException {
+    public void test() throws Exception {
         SchemaContext context = StmtTestUtils.parseYangSources("/bugs/bug4933/correct");
         assertNotNull(context);
 
@@ -33,7 +31,7 @@ public class Bug4933Test {
     }
 
     @Test
-    public void incorrectKeywordTest() throws FileNotFoundException, URISyntaxException {
+    public void incorrectKeywordTest() throws Exception {
         try {
             StmtTestUtils.parseYangSources("/bugs/bug4933/incorrect");
             fail("ReactorException should be thrown.");