Module: safe_qgis.test_map_legend

InaSAFE Disaster risk assessment tool developed by AusAid and World Bank - Map Legend 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_legend.MapLegendTest(methodName='runTest')[source]

Test the InaSAFE Map generator

setUp()[source]

Setup fixture run before each tests

test_addClassToLegend()[source]

Test we can add a class to the map legend.

test_addSymbolToLegend()[source]

Test we can add a symbol to the legend.

test_getLegend()[source]

Getting a legend for a generic layer works.

test_getRasterLegend()[source]

Getting a legend for a raster layer works.

test_getVectorLegend()[source]

Getting a legend for a vector layer works.

This module forms part of the InaSAFE tool.

Previous topic

Module: safe_qgis.test_dock

Next topic

Module: safe_qgis.test_keyword_io

This Page