more tests

This commit is contained in:
Andreas Penski (init) 2020-05-01 13:47:40 +02:00
parent 7abc072911
commit 1a001a1af4
6 changed files with 115 additions and 4 deletions

View file

@ -77,6 +77,8 @@ public class Helper {
public static final URI REPORT_XSL = REPOSITORY_URI.resolve("report.xsl");
public static final URI SCHEMA = REPOSITORY_URI.resolve("simple.xsd");
public static final ContentRepository createContentRepository() {
final ResolvingConfigurationStrategy strategy = ResolvingMode.STRICT_RELATIVE.getStrategy();
return new ContentRepository(strategy, Simple.REPOSITORY_URI);
@ -84,7 +86,7 @@ public class Helper {
public static URI getSchemaLocation() {
return ROOT.resolve("repository/simple.xsd");
return SCHEMA;
}
}