Commit 8f1dcced authored by Riegel's avatar Riegel
Browse files

Test: Cleanup code

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Showing with 1 addition and 5 deletions
+1 -5
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment