Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
henrik authored and nyalldawson committed Mar 26, 2019
1 parent cf63e00 commit 4b90afd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/src/python/test_qgspointdisplacementrenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def testClusterConcentricLabels(self):
renderchecker.setControlName('expected_displacement_cluster_concentric_labels')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_concentric_labels'))

def testClusterRingLabelsDifferetSizes(self):
def testClusterRingLabelsDifferentSizes(self):
self._set_categorized_renderer()
self.layer.renderer().setTolerance(10)
self.layer.renderer().setLabelAttributeName('Class')
Expand All @@ -283,7 +283,7 @@ def testClusterRingLabelsDifferetSizes(self):
renderchecker.setControlName('expected_displacement_cluster_ring_labels_diff_size')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_ring_labels_diff_size'))

def testClusterGridLabelsDifferetSizes(self):
def testClusterGridLabelsDifferentSizes(self):
self._set_categorized_renderer()
self.layer.renderer().setTolerance(10)
self.layer.renderer().setLabelAttributeName('Class')
Expand All @@ -295,7 +295,7 @@ def testClusterGridLabelsDifferetSizes(self):
renderchecker.setControlName('expected_displacement_cluster_grid_labels_diff_size')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_grid_labels_diff_size'))

def testClusterConcentricLabelsDifferetSizes(self):
def testClusterConcentricLabelsDifferentSizes(self):
self._set_categorized_renderer()
self.layer.renderer().setTolerance(10)
self.layer.renderer().setLabelAttributeName('Class')
Expand All @@ -307,18 +307,18 @@ def testClusterConcentricLabelsDifferetSizes(self):
renderchecker.setControlName('expected_displacement_cluster_concentric_labels_diff_size')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_concentric_labels_diff_size'))

def testClusterRingLabelsDifferetSizesFurther(self):
def testClusterRingLabelsDifferentSizesFarther(self):
self._set_categorized_renderer()
self.layer.renderer().setTolerance(10)
self.layer.renderer().setLabelAttributeName('Class')
self.layer.renderer().setLabelDistanceFactor(1)
renderchecker = QgsMultiRenderChecker()
renderchecker.setMapSettings(self.mapsettings)
renderchecker.setControlPathPrefix('displacement_renderer')
renderchecker.setControlName('expected_displacement_cluster_ring_labels_diff_size_further')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_ring_labels_diff_size_further'))
renderchecker.setControlName('expected_displacement_cluster_ring_labels_diff_size_farther')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_ring_labels_diff_size_farther'))

def testClusterGridLabelsDifferetSizesFurther(self):
def testClusterGridLabelsDifferentSizesFarther(self):
self._set_categorized_renderer()
self.layer.renderer().setTolerance(10)
self.layer.renderer().setLabelAttributeName('Class')
Expand All @@ -327,10 +327,10 @@ def testClusterGridLabelsDifferetSizesFurther(self):
renderchecker = QgsMultiRenderChecker()
renderchecker.setMapSettings(self.mapsettings)
renderchecker.setControlPathPrefix('displacement_renderer')
renderchecker.setControlName('expected_displacement_cluster_grid_labels_diff_size_further')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_grid_labels_diff_size_further'))
renderchecker.setControlName('expected_displacement_cluster_grid_labels_diff_size_farther')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_grid_labels_diff_size_farther'))

def testClusterConcentricLabelsDifferetSizesFurther(self):
def testClusterConcentricLabelsDifferentSizesFarther(self):
self._set_categorized_renderer()
self.layer.renderer().setTolerance(10)
self.layer.renderer().setLabelAttributeName('Class')
Expand All @@ -339,8 +339,8 @@ def testClusterConcentricLabelsDifferetSizesFurther(self):
renderchecker = QgsMultiRenderChecker()
renderchecker.setMapSettings(self.mapsettings)
renderchecker.setControlPathPrefix('displacement_renderer')
renderchecker.setControlName('expected_displacement_cluster_concentric_labels_diff_size_further')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_concentric_labels_diff_size_further'))
renderchecker.setControlName('expected_displacement_cluster_concentric_labels_diff_size_farther')
self.assertTrue(renderchecker.runTest('expected_displacement_cluster_concentric_labels_diff_size_farther'))



Expand Down

0 comments on commit 4b90afd

Please sign in to comment.