diff --git a/tests/src/python/test_qgspallabeling_placement.py b/tests/src/python/test_qgspallabeling_placement.py index d708ca09dbf..13bd048aa00 100644 --- a/tests/src/python/test_qgspallabeling_placement.py +++ b/tests/src/python/test_qgspallabeling_placement.py @@ -24,7 +24,7 @@ from PyQt4.QtCore import Qt, QPointF, QThreadPool from PyQt4.QtGui import QFont from qgis.core import QgsPalLayerSettings - +from unittest import skip from utilities import ( svgSymbolsPath, getTempfilePath, @@ -133,6 +133,15 @@ class TestPointPlacement(TestPlacementBase): self.removeMapLayer(polyLayer) self.layer = None + @skip("not yet implemented") + def test_point_placement_around_obstacle_large_symbol(self): + # Default point label placement with obstacle and large symbols + self.layer = TestQgsPalLabeling.loadFeatureLayer('point3') + self._TestMapSettings = self.cloneMapSettings(self._MapSettings) + self.checkTest() + self.removeMapLayer(self.layer) + self.layer = None + if __name__ == '__main__': # NOTE: unless PAL_SUITE env var is set all test class methods will be run # SEE: test_qgspallabeling_tests.suiteTests() to define suite diff --git a/tests/testdata/control_images/expected_pal_placement/sp_point_placement_around_obstacle_large_symbol/sp_point_placement_around_obstacle_large_symbol.png b/tests/testdata/control_images/expected_pal_placement/sp_point_placement_around_obstacle_large_symbol/sp_point_placement_around_obstacle_large_symbol.png new file mode 100755 index 00000000000..c02c02e90e7 Binary files /dev/null and b/tests/testdata/control_images/expected_pal_placement/sp_point_placement_around_obstacle_large_symbol/sp_point_placement_around_obstacle_large_symbol.png differ diff --git a/tests/testdata/labeling/point3.qml b/tests/testdata/labeling/point3.qml new file mode 100644 index 00000000000..9fdfe97c9ba --- /dev/null +++ b/tests/testdata/labeling/point3.qml @@ -0,0 +1,351 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + pkuid + + + + + + + + + + + + 0 + + generatedlayout + + + +