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')[source]

Test the InaSAFE Map generator

Xtest_renderTemplate(*args, **kwargs)[source]

Test that load template works

setUp()[source]

Setup fixture run before each tests

test_getMapTitle()[source]

Getting the map title from the keywords

test_handleMissingMapTitle()[source]

Missing map title from the keywords fails gracefully

test_printToPdf()[source]

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

test_renderComposition()[source]

Test making an image of the map only.

test_windowsDrawingArtifacts()[source]

Test that windows rendering does not make artifacts

This module forms part of the InaSAFE tool.

Previous topic

Module: safe_qgis.test_keywords_dialog

Next topic

Module: safe_qgis.test_impact_calculator

This Page