*/\r
package org.opendaylight.yangtools.sal.binding.generator.impl;\r
\r
-import static org.junit.Assert.*;\r
+import static org.junit.Assert.assertFalse;\r
+import static org.junit.Assert.assertNotNull;\r
+import static org.junit.Assert.assertTrue;\r
\r
import java.io.File;\r
+import java.net.URISyntaxException;\r
+import java.net.URL;\r
import java.util.ArrayList;\r
import java.util.List;\r
import java.util.Set;\r
public class AugmentedTypeTest {\r
\r
private final static List<File> augmentModels = new ArrayList<>();\r
- private final static String augmentFolderPath = AugmentedTypeTest.class\r
- .getResource("/augment-test-models").getPath();\r
+ private final static URL augmentFolderPath = AugmentedTypeTest.class\r
+ .getResource("/augment-test-models");\r
\r
@BeforeClass\r
- public static void loadTestResources() {\r
- final File augFolder = new File(augmentFolderPath);\r
+ public static void loadTestResources() throws URISyntaxException {\r
+ final File augFolder = new File(augmentFolderPath.toURI());\r
\r
for (final File fileEntry : augFolder.listFiles()) {\r
if (fileEntry.isFile()) {\r