### Navigation

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

# Module: safe_qgis.test_impact_calculator

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 `safe_qgis.test_impact_calculator.``ImpactCalculatorTest`(methodName='runTest')

  Test the InaSAFE plugin stub

  `setUp`()

    Create shared resources that all tests can use

  `tearDown`()

    Tear down - destroy the QGIS app

  `test_getKeywordFromImpactLayer`()

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

  `test_getStyleInfo`()

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

  `test_issue100`()

    Test for issue 100: unhashable type dict

  `test_properties`()

    Test if the properties work as expected.

  `test_run`()

    Test that run works as expected in non threading mode

  `test_startWithNoParameters`()

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

  `test_thread`()

    Test that starting it in a thread works as expected.

This module forms part of the InaSAFE tool.

### Navigation

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