Skip to content
Permalink
Browse files

Spelling

  • Loading branch information
henrik authored and nyalldawson committed Mar 24, 2019
1 parent cf63e00 commit 4b90afdb9edf000f0bff25225d02c7c5ff5fe605
@@ -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')
@@ -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')
@@ -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')
@@ -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')
@@ -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')
@@ -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'))



0 comments on commit 4b90afd

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