### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe_qgis_tests »

# Module: safe_qgis.test_map

InaSAFE Disaster risk assessment tool developed by AusAid and World Bank - GUI Test Cases.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class `safe_qgis.test_map.``MapTest`(methodName='runTest')

  Test the InaSAFE Map generator

  `Xtest_renderTemplate`(*args, **kwargs)

    Test that load template works

  `setUp`()

    Setup fixture run before each tests

  `test_getMapTitle`()

    Getting the map title from the keywords

  `test_handleMissingMapTitle`()

    Missing map title from the keywords fails gracefully

  `test_printToPdf`()

    Test making a pdf of the map - this is the most typical use of map.

  `test_renderComposition`()

    Test making an image of the map only.

  `test_windowsDrawingArtifacts`()

    Test that windows rendering does not make artifacts

This module forms part of the InaSAFE tool.

### Navigation

- index
- modules
- next
- previous
- Home »
- Contents »
- InaSAFE’s API documentation »
- Package::safe_qgis_tests »