From ececbc5075c275c89f9750047d95af0544a2b3e1 Mon Sep 17 00:00:00 2001 From: Pierre Aumond Date: Wed, 24 Apr 2024 14:18:03 +0200 Subject: [PATCH] repair tests --- .../wps/TestNoiseModelling.groovy | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/wps_scripts/src/test/groovy/org/noise_planet/noisemodelling/wps/TestNoiseModelling.groovy b/wps_scripts/src/test/groovy/org/noise_planet/noisemodelling/wps/TestNoiseModelling.groovy index 3bdfc1dbb..2e99b4534 100644 --- a/wps_scripts/src/test/groovy/org/noise_planet/noisemodelling/wps/TestNoiseModelling.groovy +++ b/wps_scripts/src/test/groovy/org/noise_planet/noisemodelling/wps/TestNoiseModelling.groovy @@ -62,7 +62,7 @@ class TestNoiseModelling extends JdbcTestCase { "duration":100]) - assertEquals("Calculation Done ! The table LW_ROADS has been created.", res) + assertEquals("Calculation Done ! The table LW_DYNAMIC_GEOM has been created.", res) } @Test @@ -89,15 +89,15 @@ class TestNoiseModelling extends JdbcTestCase { ["tableRoads": "ROADS2", "method" : "PROBA", "timestep" : 1, - "gridStep":10, - "duration":100]) + "gridStep":20, + "duration":50]) res = new Noise_level_from_source().exec(connection, ["tableBuilding" : "BUILDINGS", "tableSources" : "ALL_VEH_POS_0DB", "tableReceivers": "RECEIVERS", - "confMaxSrcDist" : 250, - "confDiffHorizontal" : true, + "confMaxSrcDist" : 150, + "confDiffHorizontal" : false, "confExportSourceId": true, "confSkipLevening":true, "confSkipLnight":true, @@ -121,15 +121,15 @@ class TestNoiseModelling extends JdbcTestCase { ["tableRoads": "ROADS2", "method" : "VALENTIN", "timestep" : 1, - "gridStep":10, - "duration":300]) + "gridStep":20, + "duration":50]) res = new Noise_level_from_source().exec(connection, ["tableBuilding" : "BUILDINGS", "tableSources" : "ALL_VEH_POS_0DB", "tableReceivers": "RECEIVERS", - "confMaxSrcDist" : 250, - "confDiffHorizontal" : true, + "confMaxSrcDist" : 150, + "confDiffHorizontal" : false, "confExportSourceId": true, "confSkipLevening":true, "confSkipLnight":true, @@ -151,7 +151,7 @@ class TestNoiseModelling extends JdbcTestCase { - assertEquals("Calculation Done ! The table LW_ROADS has been created.", res) + assertEquals("The columns LEQA and LEQ have been added to the table: LT_GEOM_VAL.", res) } @Test