Skip to content

Commit

Permalink
Merge pull request orbisgis#6 from SPalominos/j3r3m1-modifyBDTopoTests
Browse files Browse the repository at this point in the history
Fix build.
  • Loading branch information
j3r3m1 authored May 20, 2020
2 parents 61b391a + d4f6bfb commit 4d73131
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ProcessingChainBDTopoTest extends ChainProcessAbstractTest{

public static Logger logger = LoggerFactory.getLogger(ProcessingChainBDTopoTest.class)
public static def h2db = "./target/myh2gisbdtopodb"
public static def bdtopoFoldName = "processingChain/dataForTests"
public static def bdtopoFoldName = "sample_$communeToTest"
public static def listTables = ["IRIS_GE", "BATI_INDIFFERENCIE", "BATI_INDUSTRIEL", "BATI_REMARQUABLE",
"ROUTE", "SURFACE_EAU", "ZONE_VEGETATION", "TRONCON_VOIE_FERREE", "TERRAIN_SPORT", "CONSTRUCTION_SURFACIQUE",
"SURFACE_ROUTE", "SURFACE_ACTIVITE"]
Expand All @@ -38,7 +38,7 @@ class ProcessingChainBDTopoTest extends ChainProcessAbstractTest{
h2GISDatabase.load(getClass().getResource(it+".csv"), it, true)
}

def relativePath = bdtopoFoldName + File.separator + inseeCode
def relativePath = bdtopoFoldName

// Test whether there is a folder containing .shp files for the corresponding INSEE code
if(getClass().getResource(relativePath)){
Expand Down

0 comments on commit 4d73131

Please sign in to comment.