Skip to content
Permalink
Browse files

Restore more atlas tests

  • Loading branch information
nyalldawson committed Dec 28, 2017
1 parent 3d03128 commit ec67ddfc0e04e28142a8a26563eb93dc5400d3f3
Showing with 430 additions and 0 deletions.
  1. +1 −0 src/core/layout/qgslayoutitemmap.cpp
  2. +1 −0 tests/src/core/CMakeLists.txt
  3. +428 −0 tests/src/core/testqgslayoutatlas.cpp
  4. BIN tests/testdata/control_images/atlas/expected_atlas_autoscale1/expected_atlas_autoscale1_mask.png
  5. BIN tests/testdata/control_images/atlas/expected_atlas_autoscale2/expected_atlas_autoscale2_mask.png
  6. BIN tests/testdata/control_images/atlas/expected_atlas_filtering1/expected_atlas_filtering1_mask.png
  7. BIN tests/testdata/control_images/atlas/expected_atlas_fixedscale1/expected_atlas_fixedscale1_mask.png
  8. BIN tests/testdata/control_images/atlas/expected_atlas_fixedscale2/expected_atlas_fixedscale2_mask.png
  9. BIN tests/testdata/control_images/atlas/expected_atlas_hiding1/expected_atlas_hiding1_mask.png
  10. BIN tests/testdata/control_images/atlas/expected_atlas_hiding2/expected_atlas_hiding2_mask.png
  11. BIN ...a/control_images/atlas/expected_atlas_predefinedscales1/expected_atlas_predefinedscales1_mask.png
  12. BIN ...a/control_images/atlas/expected_atlas_predefinedscales2/expected_atlas_predefinedscales2_mask.png
  13. BIN tests/testdata/control_images/atlas/expected_atlas_sorting1/expected_atlas_sorting1_mask.png
  14. BIN tests/testdata/control_images/atlas/expected_atlas_sorting2/expected_atlas_sorting2_mask.png
  15. BIN tests/testdata/control_images/atlas/expected_atlas_two_maps1/expected_atlas_two_maps1_mask.png
  16. BIN tests/testdata/control_images/atlas/expected_atlas_two_maps2/expected_atlas_two_maps2_mask.png
@@ -1917,6 +1917,7 @@ void QgsLayoutItemMap::updateAtlasFeature()

// set the new extent (and render)
setExtent( newExtent );
emit preparedForAtlas();
}

QgsRectangle QgsLayoutItemMap::computeAtlasRectangle()
@@ -134,6 +134,7 @@ SET(TESTS
testqgslabelingengine.cpp
testqgslayertree.cpp
testqgslayout.cpp
testqgslayoutatlas.cpp
testqgslayoutcontext.cpp
testqgslayouthtml.cpp
testqgslayoutitem.cpp

0 comments on commit ec67ddf

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