Module: test_is_map
This page contains the documentation for the InaSAFE test_is_map
unit tests.
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 gui.test_is_map.ISMapTest(methodName='runTest')[source]
Test the InaSAFE Map generator
-
Xtest_renderTable()[source]
Test that html renders nicely. Commented out for now until we work
out how to get webkit to do offscreen rendering nicely.
-
addSymbolToLegend()[source]
Test we can add a symbol to the legend.
-
setUp()[source]
Setup fixture run before each tests
-
test_addClassToLegend()[source]
Test we can add a class to the map legend.
-
test_getLegend()[source]
Getting a legend for a generic layer works.
-
test_getMapTitle()[source]
Getting the map title from the keywords
-
test_getRasterLegend()[source]
Getting a legend for a raster layer works.
-
test_getVectorLegend()[source]
Getting a legend for a vector layer works.
-
test_handleMissingMapTitle()[source]
Missing map title from the keywords fails gracefully
-
test_inasafeMap()[source]
Test making a pdf using the ISMap class.
-
test_mmPointConversion()[source]
Test that conversions between pixel and page dimensions work.
-
test_renderTemplate()[source]
Test that load template works
-
test_windowsDrawingArtifacts()[source]
Test that windows rendering does not make artifacts