28
28
public class MltConverterTest { ;
29
29
private static final String OMT_MVT_PATH = Paths .get (".." ,".." ,"test" ,"fixtures" ,"omt" ,"mvt" ).toString ();
30
30
private static final String BING_MVT_PATH = Paths .get (".." ,".." ,"test" ,"fixtures" ,"bing" ,"mvt" ).toString ();
31
+ private static final String AMZ_HERE_MVT_PATH = Paths .get (".." ,".." ,"test" ,"fixtures" ,"amazon_here" ,"mvt" ).toString ();
31
32
32
33
@ Test
33
34
public void createTileMetadata_Omt_ValidMetadata () throws IOException {
@@ -99,7 +100,7 @@ public void createTileMetadata_Omt_ValidMetadata() throws IOException {
99
100
100
101
@ Test
101
102
public void convert_AmazonRandomZLevels_ValidMLtTile () throws IOException {
102
- var tiles = Stream .of (new File (".. \\ .. \\ test \\ fixtures \\ amazon_here \\ mvt" ).listFiles ())
103
+ var tiles = Stream .of (new File (AMZ_HERE_MVT_PATH ).listFiles ())
103
104
.filter (file -> !file .isDirectory ())
104
105
.map (File ::getAbsoluteFile )
105
106
.collect (Collectors .toSet ());
@@ -113,7 +114,7 @@ public void convert_AmazonRandomZLevels_ValidMLtTile() throws IOException {
113
114
114
115
@ Test
115
116
public void convert_OmtRandomZLevels_ValidMLtTile () throws IOException {
116
- var tiles = Stream .of (new File (".. \\ .. \\ test \\ fixtures \\ omt2" ).listFiles ())
117
+ var tiles = Stream .of (new File (OMT_MVT_PATH ).listFiles ())
117
118
.filter (file -> !file .isDirectory ())
118
119
.map (File ::getAbsoluteFile )
119
120
.collect (Collectors .toSet ());
0 commit comments