Enable PMD rule SimplifiableTestAssertion and fix violations
This commit is contained in:
parent
09a9c1a104
commit
b1a88b01ab
9 changed files with 25 additions and 30 deletions
|
|
@ -10,7 +10,7 @@ public class MapcreatorTest {
|
|||
@Test
|
||||
public void mapcreatorTest() throws Exception {
|
||||
URL mapurl = this.getClass().getResource("/dreieich.osm.gz");
|
||||
Assert.assertTrue("test-osm-map dreieich.osm not found", mapurl != null);
|
||||
Assert.assertNotNull("test-osm-map dreieich.osm not found", mapurl);
|
||||
File mapFile = new File(mapurl.getFile());
|
||||
File workingDir = mapFile.getParentFile();
|
||||
File profileDir = new File(workingDir, "/../../../../misc/profiles2");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue