Module: test_is_impact_calculator

This page contains the documentation for the InaSAFE test_is_impact_calculator module.

InaSAFE Disaster risk assessment tool developed by AusAid - Impact calculator test suite.

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_impact_calculator.ImpactCalculatorTest(methodName='runTest')[source]

Test the InaSAFE plugin stub

setUp()[source]

Create shared resources that all tests can use

tearDown()[source]

Tear down - destroy the QGIS app

test_getKeywordFromImpactLayer()[source]

Check that we can get keywords from a created impact layer.

test_getStyleInfo()[source]

Test that we can get styleInfo data from a vector’s keyword file

test_issue100()[source]

Test for issue 100: unhashable type dict

test_properties()[source]

Test if the properties work as expected.

test_run()[source]

Test that run works as expected in non threading mode

test_startWithNoParameters()[source]

Test that run raises an error properly when no parameters defined.

test_thread()[source]

Test that starting it in a thread works as expected.

Previous topic

Module: test_is_map

Next topic

Module: test_is_keywords_dialog

This Page