Skip to content
Permalink
Browse files

Label tests for buffer and shadow

  • Loading branch information
nyalldawson committed Jun 24, 2015
1 parent 19767cb commit d4b659ebd3b674e52bf9ed50855c28f9d7b3aae6
@@ -170,7 +170,19 @@ def test_partials_labels_disabled(self):
self._Pal.setShowingPartialsLabels(False)
self._Pal.saveEngineSettings()
self.checkTest()


def test_buffer(self):
# Label with buffer
self.lyr.bufferDraw = True
self.lyr.bufferSize = 2
self.checkTest()

def test_shadow(self):
# Label with shadow
self.lyr.shadowDraw = True
self.lyr.shadowOffsetDist = 2
self.lyr.shadowTransparency = 0
self.checkTest()

# noinspection PyPep8Naming
def suiteTests():
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit d4b659e

Please sign in to comment.
You can’t perform that action at this time.