Adjust to yangtools-2.0.0/odlparent-3.0.0 changes
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / java / org / opendaylight / restconf / nb / rfc8040 / utils / parser / IdentifierCodecTest.java
index 5c58ae8d24bc7842bef9b303b5e13676815baf8d..fed9756f6580ddaf19df822f5551413bd74cd599 100644 (file)
@@ -11,6 +11,7 @@ package org.opendaylight.restconf.nb.rfc8040.utils.parser;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
+import java.io.FileNotFoundException;
 import org.junit.Before;
 import org.junit.Test;
 import org.opendaylight.restconf.nb.rfc8040.TestRestconfUtils;
@@ -30,8 +31,8 @@ public class IdentifierCodecTest {
     private SchemaContext schemaContext;
 
     @Before
-    public void init() throws Exception {
-        this.schemaContext = YangParserTestUtils.parseYangSources(TestRestconfUtils.loadFiles("/restconf/parser"));
+    public void init() throws FileNotFoundException {
+        this.schemaContext = YangParserTestUtils.parseYangFiles(TestRestconfUtils.loadFiles("/restconf/parser"));
     }
 
     /**