This commit is contained in:
2025-10-13 13:35:52 +02:00
parent 2494897360
commit bf636cbc66
21 changed files with 331 additions and 276 deletions

View File

@@ -485,7 +485,8 @@ class TestGenerateTextureImage:
overlay = MagicMock()
overlay.enabled = True
overlay.image_path = str(overlay_path)
overlay.positioning_mode = 'ABSOLUTE'
overlay.component_type = 'IMAGE'
overlay.placement_mode = 'ABSOLUTE'
overlay.x_position = 0.5
overlay.y_position = 0.5
overlay.scale = 1.0
@@ -537,7 +538,8 @@ class TestGenerateTextureImage:
overlay = MagicMock()
overlay.enabled = True
overlay.image_path = str(svg_path)
overlay.positioning_mode = 'ABSOLUTE'
overlay.component_type = 'IMAGE'
overlay.placement_mode = 'ABSOLUTE'
overlay.x_position = 0.5
overlay.y_position = 0.5
overlay.scale = 1.0
@@ -580,7 +582,8 @@ class TestGenerateTextureImage:
overlay = MagicMock()
overlay.enabled = True
overlay.image_path = ""
overlay.positioning_mode = 'ABSOLUTE'
overlay.component_type = 'IMAGE'
overlay.placement_mode = 'ABSOLUTE'
overlay.x_position = 0.5
overlay.y_position = 0.5
overlay.scale = 1.0
@@ -619,7 +622,8 @@ class TestGenerateTextureImage:
overlay = MagicMock()
overlay.enabled = True
overlay.image_path = str(overlay_path)
overlay.positioning_mode = 'APPEND'
overlay.component_type = 'IMAGE'
overlay.placement_mode = 'APPEND'
overlay.text_spacing = 10.0 # push further right
overlay.image_spacing = 0.0
overlay.scale = 1.0
@@ -676,7 +680,8 @@ class TestGenerateTextureImage:
overlay = MagicMock()
overlay.enabled = True
overlay.image_path = str(overlay_path)
overlay.positioning_mode = 'PREPEND'
overlay.component_type = 'IMAGE'
overlay.placement_mode = 'PREPEND'
overlay.text_spacing = 10.0 # push further left
overlay.image_spacing = 0.0
overlay.scale = 1.0