[QGIS Commit] [qgis/QGIS] b4f681: PEP8 cleanups for some unit test modules

GitHub noreply at github.com
Thu Mar 6 11:39:10 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/qgis/QGIS
  Commit: b4f6813671134b9bcb09f01f2a18111543190945
      https://github.com/qgis/QGIS/commit/b4f6813671134b9bcb09f01f2a18111543190945
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M tests/src/python/qgis_local_server.py
    M tests/src/python/test_qgspallabeling_tests.py

  Log Message:
  -----------
  PEP8 cleanups for some unit test modules


  Commit: a49b9a7a454f76e2640fd5a8b1872bff2d67362e
      https://github.com/qgis/QGIS/commit/a49b9a7a454f76e2640fd5a8b1872bff2d67362e
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M tests/src/python/qgis_local_server.py
    M tests/src/python/utilities.py

  Log Message:
  -----------
  Add some functions to Python unit test utilities


  Commit: 6a1b706b48188fbcb5cb682bdbd8dc4d0a42ce74
      https://github.com/qgis/QGIS/commit/6a1b706b48188fbcb5cb682bdbd8dc4d0a42ce74
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M tests/src/python/test_qgspallabeling_base.py
    M tests/src/python/test_qgspallabeling_canvas.py
    M tests/src/python/test_qgspallabeling_server.py
    M tests/src/python/test_qgspallabeling_tests.py

  Log Message:
  -----------
  Update label tests to ensure setup happens only once and load/delete only layer to test


  Commit: bad189813cb3b2c96332198f8b08ccf7d35aa386
      https://github.com/qgis/QGIS/commit/bad189813cb3b2c96332198f8b08ccf7d35aa386
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M tests/src/python/test_qgspallabeling_composer.py
    R tests/testdata/control_images/expected_pal_composer/sp_background_rect/sp_background_rect.png
    R tests/testdata/control_images/expected_pal_composer/sp_background_rect_w_offset/sp_background_rect_w_offset.png
    R tests/testdata/control_images/expected_pal_composer/sp_background_svg/sp_background_svg.png
    R tests/testdata/control_images/expected_pal_composer/sp_background_svg_w_offset/sp_background_svg_w_offset.png
    R tests/testdata/control_images/expected_pal_composer/sp_default_label/sp_default_label.png
    A tests/testdata/control_images/expected_pal_composer/sp_img_background_rect/sp_img_background_rect.png
    A tests/testdata/control_images/expected_pal_composer/sp_img_background_rect_w_offset/sp_img_background_rect_w_offset.png
    A tests/testdata/control_images/expected_pal_composer/sp_img_background_svg/sp_img_background_svg.png
    A tests/testdata/control_images/expected_pal_composer/sp_img_background_svg_w_offset/sp_img_background_svg_w_offset.png
    A tests/testdata/control_images/expected_pal_composer/sp_img_default_label/sp_img_default_label.png
    A tests/testdata/control_images/expected_pal_composer/sp_img_partials_labels_disabled/sp_img_partials_labels_disabled.png
    A tests/testdata/control_images/expected_pal_composer/sp_img_partials_labels_enabled/sp_img_partials_labels_enabled.png
    A tests/testdata/control_images/expected_pal_composer/sp_img_text_color/sp_img_text_color.png
    A tests/testdata/control_images/expected_pal_composer/sp_img_text_size_map_unit/sp_img_text_size_map_unit.png
    R tests/testdata/control_images/expected_pal_composer/sp_partials_labels_disabled/sp_partials_labels_disabled.png
    R tests/testdata/control_images/expected_pal_composer/sp_partials_labels_enabled/sp_partials_labels_enabled.png
    R tests/testdata/control_images/expected_pal_composer/sp_text_color/sp_text_color.png
    R tests/testdata/control_images/expected_pal_composer/sp_text_size_map_unit/sp_text_size_map_unit.png

  Log Message:
  -----------
  Refactor composer label test to work with svg, pdf and multi-resolution classes

- Initial (untested) svg and pdf render-to-image setup


  Commit: 53cfa9e203d56501b0f58bb865b910ed1117c3c8
      https://github.com/qgis/QGIS/commit/53cfa9e203d56501b0f58bb865b910ed1117c3c8
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M tests/src/python/test_qgspallabeling_base.py
    M tests/src/python/test_qgspallabeling_canvas.py
    M tests/src/python/test_qgspallabeling_composer.py
    M tests/src/python/test_qgspallabeling_server.py
    M tests/testdata/control_images/expected_pal_canvas/sp_background_rect/sp_background_rect.png
    M tests/testdata/control_images/expected_pal_canvas/sp_background_rect_w_offset/sp_background_rect_w_offset.png
    M tests/testdata/control_images/expected_pal_canvas/sp_background_svg/sp_background_svg.png
    M tests/testdata/control_images/expected_pal_canvas/sp_background_svg_w_offset/sp_background_svg_w_offset.png
    M tests/testdata/control_images/expected_pal_canvas/sp_default_label/sp_default_label.png
    M tests/testdata/control_images/expected_pal_canvas/sp_partials_labels_disabled/sp_partials_labels_disabled.png
    M tests/testdata/control_images/expected_pal_canvas/sp_partials_labels_enabled/sp_partials_labels_enabled.png
    M tests/testdata/control_images/expected_pal_canvas/sp_text_color/sp_text_color.png
    M tests/testdata/control_images/expected_pal_canvas/sp_text_size_map_unit/sp_text_size_map_unit.png
    M tests/testdata/control_images/expected_pal_composer/sp_img_background_rect/sp_img_background_rect.png
    M tests/testdata/control_images/expected_pal_composer/sp_img_background_rect_w_offset/sp_img_background_rect_w_offset.png
    M tests/testdata/control_images/expected_pal_composer/sp_img_background_svg/sp_img_background_svg.png
    M tests/testdata/control_images/expected_pal_composer/sp_img_background_svg_w_offset/sp_img_background_svg_w_offset.png
    M tests/testdata/control_images/expected_pal_composer/sp_img_default_label/sp_img_default_label.png
    M tests/testdata/control_images/expected_pal_composer/sp_img_partials_labels_disabled/sp_img_partials_labels_disabled.png
    M tests/testdata/control_images/expected_pal_composer/sp_img_partials_labels_enabled/sp_img_partials_labels_enabled.png
    M tests/testdata/control_images/expected_pal_composer/sp_img_text_color/sp_img_text_color.png
    M tests/testdata/control_images/expected_pal_composer/sp_img_text_size_map_unit/sp_img_text_size_map_unit.png

  Log Message:
  -----------
  Convert label unit tests to using only QgsMapSettings

- Rebuild all control images


  Commit: 803bc296da941ad2bd653766704fc3dd4855bc6a
      https://github.com/qgis/QGIS/commit/803bc296da941ad2bd653766704fc3dd4855bc6a
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M tests/src/python/test_qgspallabeling_base.py
    M tests/src/python/test_qgspallabeling_canvas.py
    M tests/src/python/test_qgspallabeling_composer.py
    M tests/src/python/test_qgspallabeling_server.py
    M tests/src/python/test_qgspallabeling_tests.py

  Log Message:
  -----------
  Condense labeling test class inheritance and set up local server params from map settings


  Commit: 30bf3ecc9dbca1aa155983999ad8c7c4a5d7c7d8
      https://github.com/qgis/QGIS/commit/30bf3ecc9dbca1aa155983999ad8c7c4a5d7c7d8
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M src/core/qgsrenderchecker.cpp

  Log Message:
  -----------
  Add allowable mismatch to debug output for render checker


  Commit: cb998399cf8d8fe69080817017d7058a36509d79
      https://github.com/qgis/QGIS/commit/cb998399cf8d8fe69080817017d7058a36509d79
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M tests/src/python/test_qgspallabeling_base.py
    M tests/src/python/test_qgspallabeling_canvas.py
    M tests/src/python/test_qgspallabeling_composer.py
    M tests/src/python/test_qgspallabeling_server.py
    M tests/src/python/test_qgspallabeling_tests.py

  Log Message:
  -----------
  Add allowable mismatch per group/test for labeling tests


Compare: https://github.com/qgis/QGIS/compare/7829e7aa856a...cb998399cf8d


More information about the QGIS-commit mailing list