11-FixClassStructureIssues

This commit is contained in:
Adrian-Devries 2025-04-24 12:54:01 +02:00
parent d88934e9a5
commit 1952ea6787
5 changed files with 1 additions and 13 deletions

View file

@ -44,11 +44,8 @@ public class CheckAssertionActionTest {
private static final URL SAMPLE_ASSERTIONS = CheckAssertionActionTest.class.getResource("/examples/assertions/tests-xrechnung.xml");
private CommandLine commandLine;
@Before
public void setup() throws IOException {
this.commandLine = new CommandLine();
CommandLine.activate();
}

View file

@ -44,13 +44,10 @@ public class CommandlineApplicationTest {
public static final String RESULT_OUTPUT = "Processing 1 object(s) completed";
private CommandLine commandLine;
private final Path output = Paths.get("target/test-output");
@Before
public void setup() throws IOException {
this.commandLine = new CommandLine();
CommandLine.activate();
if (Files.exists(this.output)) {
FileUtils.deleteDirectory(this.output.toFile());

View file

@ -34,13 +34,10 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
public class PrintReportActionTest {
private CommandLine commandLine;
private PrintReportAction action;
@Before
public void setup() {
this.commandLine = new CommandLine();
CommandLine.activate();
this.action = new PrintReportAction(TestObjectFactory.createProcessor());
}

View file

@ -82,7 +82,7 @@ public class Helper {
public static final URI SCHEMA = REPOSITORY_URI.resolve("simple.xsd");
public static final ContentRepository createContentRepository() {
public static ContentRepository createContentRepository() {
final ResolvingConfigurationStrategy strategy = ResolvingMode.STRICT_RELATIVE.getStrategy();
return new ContentRepository(Helper.getTestProcessor(), strategy, Simple.REPOSITORY_URI);
}

View file

@ -44,11 +44,8 @@ public class VersioningTest {
private ConversionService service;
private ContentRepository repository;
@Before
public void setup() {
this.repository = Simple.createContentRepository();
this.service = new ConversionService();
}