import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
Module testModule = TestUtils.findModule(modules, "uses-grouping");
LinkedList<QName> path = new LinkedList<>();
Module testModule = TestUtils.findModule(modules, "uses-grouping");
LinkedList<QName> path = new LinkedList<>();
- public void testTypedefs() throws FileNotFoundException {
- modules = TestUtils.loadModules(getClass().getResource("/grouping-test").getPath());
+ public void testTypedefs() throws FileNotFoundException, URISyntaxException {
+ modules = TestUtils.loadModules(getClass().getResource("/grouping-test").toURI());
Module testModule = TestUtils.findModule(modules, "grouping-definitions");
Set<TypeDefinition<?>> types = testModule.getTypeDefinitions();
Module testModule = TestUtils.findModule(modules, "grouping-definitions");
Set<TypeDefinition<?>> types = testModule.getTypeDefinitions();