From 984697ebc941a20c33a9334c7f7c2f6c504a839f Mon Sep 17 00:00:00 2001 From: Etienne Trimaille Date: Wed, 9 Oct 2024 08:36:21 +0200 Subject: [PATCH] Tests - Add raster embed layer in child project --- tests/qgis-projects/tests/embed_child.qgs | 273 +- tests/qgis-projects/tests/embed_child.qgs.cfg | 110 +- tests/qgis-projects/tests/embed_parent.qgs | 2384 ++++++++++------- .../qgis-projects/tests/embed_parent.qgs.cfg | 68 +- .../Project/Ressources/embed_parent.qgs | 4 +- 5 files changed, 1796 insertions(+), 1043 deletions(-) diff --git a/tests/qgis-projects/tests/embed_child.qgs b/tests/qgis-projects/tests/embed_child.qgs index fa5e36a547..72abd80bd2 100644 --- a/tests/qgis-projects/tests/embed_child.qgs +++ b/tests/qgis-projects/tests/embed_child.qgs @@ -1,9 +1,8 @@ - - - + + - - + + GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] @@ -17,54 +16,78 @@ true - + - - + + - + + - + + - + - + + - + + + + + + + + + + + + + + + + + + + + + + + @@ -74,17 +97,20 @@ edition_layer_embed_point_7794e305_0e9b_40d0_bf0b_2494790d4eb3 OpenStreetMap_c1bded8c_5103_40f8_a317_9a712845ddb4 polygons_1aca34fc_404d_4a6f_83c7_506c98de777d + raster_a3ff51f1_d71c_49e3_b9d4_07ce4bf267c4 + raster_file_2bb8df34_acce_4403_b69b_c18639861d2f + Plan_IGN_159f7e6c_77ed_4a4c_bdc0_f759ffaa7cc8 - + - - - + + + - - + + degrees @@ -108,40 +134,55 @@ 0 - + - + - + - + - + - + + + + - + + + + + + + - - + + Annotations_53e21d2e_6eb9_423b_ad44_901f0e23a8dd @@ -168,8 +209,8 @@ - - + + @@ -185,9 +226,9 @@ false - + - + 1 1 @@ -195,24 +236,30 @@ 0 - 1 0 - + - - - - - + + + + + + + + - - - - + + + + + + + @@ -272,12 +319,12 @@ lizmap_user_groups - + features - + edition_layer_embed_child_d87f81cd_26d2_4c40_820d_676ba03ff6ab @@ -290,9 +337,9 @@ 8 - - - + + + None @@ -327,36 +374,36 @@ false - - + + - - + + false - - + + false 5000 - - + + false + + - - + + @@ -373,21 +420,21 @@ - + - + riccardo 2024-02-13T13:07:18 - - - - - - - - + + + + + + + + GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs @@ -401,41 +448,41 @@ - - + + - + - + + + + + + + + + + + + + + + + + + @@ -452,7 +499,7 @@ - - + + - + \ No newline at end of file diff --git a/tests/qgis-projects/tests/embed_child.qgs.cfg b/tests/qgis-projects/tests/embed_child.qgs.cfg index bf33d16111..089b41e491 100644 --- a/tests/qgis-projects/tests/embed_child.qgs.cfg +++ b/tests/qgis-projects/tests/embed_child.qgs.cfg @@ -5,11 +5,12 @@ "lizmap_plugin_version": 40403, "lizmap_web_client_target_version": 30800, "lizmap_web_client_target_status": "Stable", - "instance_target_url": "https://demo.lizmap.com/lizmap/" + "instance_target_url": "https://demo.lizmap.com/lizmap/", + "instance_target_repository": "features" }, "warnings": {}, "debug": { - "total_time": 0.33000000000000007 + "total_time": 0.48800000000000004 }, "options": { "projection": { @@ -182,6 +183,76 @@ "cached": "False", "clientCacheExpiration": 300 }, + "r@st\u00e9r f\u00eel\u00ea": { + "id": "raster_file_2bb8df34_acce_4403_b69b_c18639861d2f", + "name": "r@st\u00e9r f\u00eel\u00ea", + "type": "layer", + "extent": [ + 3.8485, + 43.573100000000004, + 4.0245, + 43.6281 + ], + "crs": "OGC:CRS84", + "title": "r@st\u00e9r f\u00eel\u00ea", + "abstract": "", + "link": "", + "minScale": 1, + "maxScale": 1000000000000, + "toggled": "False", + "popup": "False", + "popupSource": "auto", + "popupTemplate": "", + "popupMaxFeatures": 10, + "popupDisplayChildren": "False", + "popup_allow_download": true, + "legend_image_option": "hide_at_startup", + "groupAsLayer": "False", + "baseLayer": "False", + "displayInLegend": "True", + "group_visibility": [], + "singleTile": "True", + "imageFormat": "image/png", + "cached": "False", + "clientCacheExpiration": 300, + "sourceRepository": "testsrepository", + "sourceProject": "embed_parent" + }, + "raster file": { + "id": "raster_a3ff51f1_d71c_49e3_b9d4_07ce4bf267c4", + "name": "raster file", + "type": "layer", + "extent": [ + 3.8485, + 43.573100000000004, + 4.0245, + 43.6281 + ], + "crs": "OGC:CRS84", + "title": "raster file", + "abstract": "", + "link": "", + "minScale": 1, + "maxScale": 1000000000000, + "toggled": "False", + "popup": "False", + "popupSource": "auto", + "popupTemplate": "", + "popupMaxFeatures": 10, + "popupDisplayChildren": "False", + "popup_allow_download": true, + "legend_image_option": "hide_at_startup", + "groupAsLayer": "False", + "baseLayer": "False", + "displayInLegend": "True", + "group_visibility": [], + "singleTile": "True", + "imageFormat": "image/png", + "cached": "False", + "clientCacheExpiration": 300, + "sourceRepository": "testsrepository", + "sourceProject": "embed_parent" + }, "polygons": { "id": "polygons_1aca34fc_404d_4a6f_83c7_506c98de777d", "name": "polygons", @@ -218,6 +289,41 @@ "sourceRepository": "testsrepository", "sourceProject": "embed_parent" }, + "Plan IGN": { + "id": "Plan_IGN_159f7e6c_77ed_4a4c_bdc0_f759ffaa7cc8", + "name": "Plan IGN", + "type": "layer", + "extent": [ + -19480910.888822876, + -19971868.880408566, + 19480910.888822887, + 19971868.8804086 + ], + "crs": "EPSG:3857", + "title": "Plan IGN", + "abstract": "", + "link": "", + "minScale": 1, + "maxScale": 1000000000000, + "toggled": "False", + "popup": "False", + "popupSource": "auto", + "popupTemplate": "", + "popupMaxFeatures": 10, + "popupDisplayChildren": "False", + "popup_allow_download": true, + "legend_image_option": "hide_at_startup", + "groupAsLayer": "False", + "baseLayer": "False", + "displayInLegend": "True", + "group_visibility": [], + "singleTile": "True", + "imageFormat": "image/png", + "cached": "False", + "clientCacheExpiration": 300, + "sourceRepository": "testsrepository", + "sourceProject": "embed_parent" + }, "OpenStreetMap": { "id": "OpenStreetMap_c1bded8c_5103_40f8_a317_9a712845ddb4", "name": "OpenStreetMap", diff --git a/tests/qgis-projects/tests/embed_parent.qgs b/tests/qgis-projects/tests/embed_parent.qgs index 020a7b3e33..b0ba21b39d 100644 --- a/tests/qgis-projects/tests/embed_parent.qgs +++ b/tests/qgis-projects/tests/embed_parent.qgs @@ -1,5 +1,5 @@ - + @@ -17,43 +17,53 @@ true - + - + - + - + - + - + - + - + + + + + + + + + @@ -65,13 +75,15 @@ OpenStreetMap_c1bded8c_5103_40f8_a317_9a712845ddb4 Plan_IGN_159f7e6c_77ed_4a4c_bdc0_f759ffaa7cc8 polygons_1aca34fc_404d_4a6f_83c7_506c98de777d + raster_a3ff51f1_d71c_49e3_b9d4_07ce4bf267c4 + raster_file_2bb8df34_acce_4403_b69b_c18639861d2f - + - - - + + + @@ -103,41 +115,76 @@ - - - + + degrees + + 3.715760019655173 + 43.53652255839293161 + 4.02732761973003051 + 43.6792127201896534 + + 0 + + + GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + EPSG:7030 + true + + + 0 + + + Annotations_53e21d2e_6eb9_423b_ad44_901f0e23a8dd @@ -198,7 +245,7 @@ - + -20037508.34278924390673637 -20037508.34278924763202667 @@ -212,7 +259,7 @@ 85.05112877980660357 OpenStreetMap_c1bded8c_5103_40f8_a317_9a712845ddb4 - type=xyz&url=https://tile.openstreetmap.org/{z}/{x}/{y}.png + crs=EPSG:3857&format&type=xyz&url=https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png OpenStreetMap @@ -240,7 +287,7 @@ Tuiles OpenStreetMap OpenStreetMap est construit par une communauté de cartographes qui contribuent et maintiennent des données sur les routes, les sentiers, les cafés, les gares, et bien plus encore, dans le monde entier. - + @@ -262,7 +309,7 @@ - + wms @@ -279,97 +326,97 @@ 1 0 - + - + - + - + - + - + @@ -378,22 +425,22 @@ - + - + None @@ -405,13 +452,13 @@ - + resamplingFilter 0 - + -19480910.88882287591695786 -19971868.88040856644511223 @@ -485,97 +532,97 @@ 1 0 - + - + - + - + - + - + @@ -584,22 +631,22 @@ - + - + None @@ -611,13 +658,13 @@ - + resamplingFilter 0 - + edition_layer_embed_child_d87f81cd_26d2_4c40_820d_676ba03ff6ab service='lizmapdb' sslmode=disable key='id' checkPrimaryKeyUnicity='1' table="tests_projects"."edition_layer_embed_child" edition_layer_embed_child @@ -680,138 +727,138 @@ 1 0 - + - + - + - + - + - + - + - + @@ -830,14 +877,14 @@ - + - + - + 3.82740005430481478 43.58412355578639108 @@ -960,7 +1007,7 @@ - + @@ -985,189 +1032,189 @@ 1 0 - + - + - + - + - + - + - + - + - + - + - + @@ -1181,62 +1228,62 @@ 0 0 1 - - - + + + - + - + @@ -1244,12 +1291,12 @@ - + @@ -1260,22 +1307,22 @@ - + - + @@ -1286,29 +1333,29 @@ - - + + - - + + - - + + - - + + - + - + - @@ -1341,27 +1388,27 @@ def my_form_open(dialog, layer, feature): 0 tablayout - - + + - - - + + + - - - + + + - - + + - - + + @@ -1372,7 +1419,7 @@ def my_form_open(dialog, layer, feature): "descr" - + 3.85964157578258416 43.61140074084926965 @@ -1440,7 +1487,7 @@ def my_form_open(dialog, layer, feature): - + @@ -1465,181 +1512,181 @@ def my_form_open(dialog, layer, feature): 1 0 - + - + - + - + - + - + - + - + - + - + - + @@ -1653,62 +1700,62 @@ def my_form_open(dialog, layer, feature): 0 0 1 - - - + + + - + - + @@ -1716,12 +1763,12 @@ def my_form_open(dialog, layer, feature): - + @@ -1732,43 +1779,43 @@ def my_form_open(dialog, layer, feature): - + - + - + @@ -1780,34 +1827,34 @@ def my_form_open(dialog, layer, feature): - - - + + + - - - + + + - - - + + + - - - + + + - + - + - @@ -1840,34 +1887,34 @@ def my_form_open(dialog, layer, feature): 0 tablayout - - + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + @@ -1879,7 +1926,7 @@ def my_form_open(dialog, layer, feature): "descr" - + 416354.49892917182296515 5394257.51030596997588873 @@ -1946,7 +1993,7 @@ def my_form_open(dialog, layer, feature): - + @@ -1971,269 +2018,269 @@ def my_form_open(dialog, layer, feature): 1 0 - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -2245,33 +2292,33 @@ def my_form_open(dialog, layer, feature): - + - + @@ -2280,61 +2327,62 @@ def my_form_open(dialog, layer, feature): 0 0 1 - - + + + - + - + @@ -2342,43 +2390,43 @@ def my_form_open(dialog, layer, feature): - + - - + - + - + + + + 3.84850000000000003 + 43.57310000000000372 + 4.02449999999999974 + 43.62810000000000343 + + + 3.84850000000000003 + 43.57310000000000372 + 4.02450000000000152 + 43.62809999999999633 + + raster_a3ff51f1_d71c_49e3_b9d4_07ce4bf267c4 + ./media/raster.asc + raster_file + + + + raster file + + + GEOGCRS["WGS 84 (CRS84)",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic longitude (Lon)",east,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic latitude (Lat)",north,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Not known."],AREA["World."],BBOX[-90,-180,90,180]],ID["OGC","CRS84"]] + +proj=longlat +datum=WGS84 +no_defs + 63159 + 520003159 + OGC:CRS84 + WGS 84 (CRS84) + longlat + EPSG:7030 + true + + + + + + + dataset + + + + + + + + + GEOGCRS["WGS 84 (CRS84)",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic longitude (Lon)",east,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic latitude (Lat)",north,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Not known."],AREA["World."],BBOX[-90,-180,90,180]],ID["OGC","CRS84"]] + +proj=longlat +datum=WGS84 +no_defs + 63159 + 520003159 + OGC:CRS84 + WGS 84 (CRS84) + longlat + EPSG:7030 + true + + + + + gdal + + + + + + + + + 1 + 1 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MinMax + WholeRaster + Estimated + 0.02 + 0.98 + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + resamplingFilter + + 0 + + + + 3.84850000000000003 + 43.57310000000000372 + 4.02449999999999974 + 43.62810000000000343 + + + 3.84850000000000003 + 43.57310000000000372 + 4.02450000000000152 + 43.62809999999999633 + + raster_file_2bb8df34_acce_4403_b69b_c18639861d2f + ./media/raster.asc + r_ster_file + + + + r@stér fîlê + + + GEOGCRS["WGS 84 (CRS84)",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic longitude (Lon)",east,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic latitude (Lat)",north,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Not known."],AREA["World."],BBOX[-90,-180,90,180]],ID["OGC","CRS84"]] + +proj=longlat +datum=WGS84 +no_defs + 63159 + 520003159 + OGC:CRS84 + WGS 84 (CRS84) + longlat + EPSG:7030 + true + + + + + + + dataset + + + + + + + + + GEOGCRS["WGS 84 (CRS84)",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic longitude (Lon)",east,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic latitude (Lat)",north,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Not known."],AREA["World."],BBOX[-90,-180,90,180]],ID["OGC","CRS84"]] + +proj=longlat +datum=WGS84 +no_defs + 63159 + 520003159 + OGC:CRS84 + WGS 84 (CRS84) + longlat + EPSG:7030 + true + + + + + gdal + + + + + + + + + 1 + 1 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MinMax + WholeRaster + Estimated + 0.02 + 0.98 + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + resamplingFilter + + 0 + @@ -2478,6 +3010,8 @@ def my_form_open(dialog, layer, feature): + + @@ -2583,11 +3117,11 @@ def my_form_open(dialog, layer, feature): 1 8 - edtion_embed_parent + embed_parent false true - edtion_embed_parent + embed_parent 0 false @@ -2615,9 +3149,9 @@ def my_form_open(dialog, layer, feature): @@ -2650,9 +3184,9 @@ def my_form_open(dialog, layer, feature): - + - + GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs @@ -2666,41 +3200,41 @@ def my_form_open(dialog, layer, feature): - + - + - + @@ -2717,7 +3251,7 @@ def my_form_open(dialog, layer, feature): - + diff --git a/tests/qgis-projects/tests/embed_parent.qgs.cfg b/tests/qgis-projects/tests/embed_parent.qgs.cfg index 1aa117cf4f..10771f4f55 100644 --- a/tests/qgis-projects/tests/embed_parent.qgs.cfg +++ b/tests/qgis-projects/tests/embed_parent.qgs.cfg @@ -10,7 +10,7 @@ }, "warnings": {}, "debug": { - "total_time": 0.34900000000000003 + "total_time": 0.554 }, "options": { "projection": { @@ -216,6 +216,72 @@ "cached": "False", "clientCacheExpiration": 300 }, + "raster file": { + "id": "raster_a3ff51f1_d71c_49e3_b9d4_07ce4bf267c4", + "name": "raster file", + "type": "layer", + "extent": [ + 3.8485, + 43.573100000000004, + 4.0245, + 43.6281 + ], + "crs": "OGC:CRS84", + "title": "raster file", + "abstract": "", + "link": "", + "minScale": 1, + "maxScale": 1000000000000, + "toggled": "False", + "popup": "False", + "popupSource": "auto", + "popupTemplate": "", + "popupMaxFeatures": 10, + "popupDisplayChildren": "False", + "popup_allow_download": true, + "legend_image_option": "hide_at_startup", + "groupAsLayer": "False", + "baseLayer": "False", + "displayInLegend": "True", + "group_visibility": [], + "singleTile": "True", + "imageFormat": "image/png", + "cached": "False", + "clientCacheExpiration": 300 + }, + "r@st\u00e9r f\u00eel\u00ea": { + "id": "raster_file_2bb8df34_acce_4403_b69b_c18639861d2f", + "name": "r@st\u00e9r f\u00eel\u00ea", + "type": "layer", + "extent": [ + 3.8485, + 43.573100000000004, + 4.0245, + 43.6281 + ], + "crs": "OGC:CRS84", + "title": "r@st\u00e9r f\u00eel\u00ea", + "abstract": "", + "link": "", + "minScale": 1, + "maxScale": 1000000000000, + "toggled": "False", + "popup": "False", + "popupSource": "auto", + "popupTemplate": "", + "popupMaxFeatures": 10, + "popupDisplayChildren": "False", + "popup_allow_download": true, + "legend_image_option": "hide_at_startup", + "groupAsLayer": "False", + "baseLayer": "False", + "displayInLegend": "True", + "group_visibility": [], + "singleTile": "True", + "imageFormat": "image/png", + "cached": "False", + "clientCacheExpiration": 300 + }, "OpenStreetMap": { "id": "OpenStreetMap_c1bded8c_5103_40f8_a317_9a712845ddb4", "name": "OpenStreetMap", diff --git a/tests/units/classes/Project/Ressources/embed_parent.qgs b/tests/units/classes/Project/Ressources/embed_parent.qgs index 6a0215db55..5766ace83d 100644 --- a/tests/units/classes/Project/Ressources/embed_parent.qgs +++ b/tests/units/classes/Project/Ressources/embed_parent.qgs @@ -1492,11 +1492,11 @@ def my_form_open(dialog, layer, feature): 1 8 - edtion_embed_parent + embed_parent false true - edtion_embed_parent + embed_parent 0 false