This page contains the documentation for the InaSAFE test_is_dock 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.
Test the InaSAFE GUI
Issue47: Problem when hazard & exposure data are in different proj to viewport. See https://github.com/AIFDR/inasafe/issues/47
Test that ouputs from a model are correctly styled (colours and opacity.
Test that multipart features can be used in a scenario - issue #160
Test the metadata is updated as the user highlights different QGIS layers. For inasafe outputs, the table of results should be shown See also https://github.com/AIFDR/inasafe/issues/58
Padang 2009 fatalities estimated correctly (large extent)
Padang 2009 fatalities estimated correctly (small extent)
Flood function runs in GUI with Jakarta data Raster on raster based function runs as expected.
Flood function runs in GUI with 5x5km population data Raster on raster based function runs as expected with scaling.
Tsunami function runs in GUI with Batemans Bay model
Check if the save/restore state methods work. See also https://github.com/AIFDR/inasafe/issues/58
Return a string representing the list of canvas layers (in correct order) but formatted with line breaks between each entry.
Helper to return a string showing the state of all combos (all their entries
Return a string representing a list of layers (in correct order) but formatted with line breaks between each entry.
Get state of the 3 combos on the DOCK ui. This method is purely for testing and not to be confused with the saveState and restoreState methods of inasafedock.
Helper function to load layers as defined in a python list.