diff --git a/CityDoctorParent/CityDoctorModel/src/test/java/de/hft/stuttgart/citydoctor2/zip/ZipTest.java b/CityDoctorParent/CityDoctorModel/src/test/java/de/hft/stuttgart/citydoctor2/zip/ZipTest.java index 31e73ee248c9c4fadd390fb9e6c0e0ea7e9b910b..2d3b9b4a840122d2137aae9422f336356e0e2678 100644 --- a/CityDoctorParent/CityDoctorModel/src/test/java/de/hft/stuttgart/citydoctor2/zip/ZipTest.java +++ b/CityDoctorParent/CityDoctorModel/src/test/java/de/hft/stuttgart/citydoctor2/zip/ZipTest.java @@ -3,9 +3,7 @@ package de.hft.stuttgart.citydoctor2.zip; import de.hft.stuttgart.citydoctor2.datastructure.CityDoctorModel; import de.hft.stuttgart.citydoctor2.parser.ParserConfiguration; import org.apache.commons.io.FileUtils; -import org.junit.Rule; import org.junit.Test; -import org.junit.rules.ExpectedException; import java.io.IOException; import java.nio.file.Files; @@ -17,8 +15,6 @@ public class ZipTest { ParserConfiguration config = new ParserConfiguration(8,false); - @Rule - public ExpectedException excRule = ExpectedException.none(); @Test public void testUnzipping() { @@ -50,7 +46,7 @@ public class ZipTest { try { tmpDir = Files.createTempDirectory("testTmp"); tmpDir.toFile().deleteOnExit(); - String expPath = tmpDir.toString() + "/export.zip"; + String expPath = tmpDir + "/export.zip"; cgmlArch.exportToZipFile(expPath); CityGmlZipArchive cgmlExport = CityGmlZipArchive.register(expPath);