Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
8f1dcced
Commit
8f1dcced
authored
3 months ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Test: Cleanup code
parent
6a1fed35
master
dev
dev_gui_features_zip_loading
3.17.0
archive/dev_gui_features_zip_loading
2 merge requests
!28
Version 3.17.0 Release
,
!26
Add ZIP-archive support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CityDoctorParent/CityDoctorModel/src/test/java/de/hft/stuttgart/citydoctor2/zip/ZipTest.java
+1
-5
...c/test/java/de/hft/stuttgart/citydoctor2/zip/ZipTest.java
with
1 addition
and
5 deletions
+1
-5
CityDoctorParent/CityDoctorModel/src/test/java/de/hft/stuttgart/citydoctor2/zip/ZipTest.java
+
1
-
5
View file @
8f1dcced
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets