InaSAFE Disaster risk assessment tool developed by AusAid and World Bank - GUI Test Cases.
Contact : email@example.com
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.
Fixture run before all tests
Fixture run after each test
Test we can add one layer above another - see #2322
New in version 3.2.
Aggregation combo changes properly according on no loaded layers
Aggregation Combobox toggles on and off as expected.
Test the GUI in its default state
Aggregation results correct using our own python zonal stats code.
Aggregation results are correct using native QGIS zonal stats.
We know this is going to fail (hence the decorator) as QGIS1.8 zonal stats are broken. We expect this to pass when we have ported to the QGIS 2.0 api at which time we can remove the decorator. TS July 2013
Function configuration button is disabled when layers not compatible.
Function configuration button is enabled when layers are compatible.
Test Insufficient overlap errors are caught.
..note:: See https://github.com/AIFDR/inasafe/issues/372
Test setting a layer’s title in the kw directly from qgis api
Test that multipart features can be used in a scenario - issue #160
Issue306: CANVAS doesnt add generated layers in tests.
Points near the edge of a raster hazard layer are interpolated OK
Issue47: Hazard & exposure data are in different proj to viewport.
Test issue #581 in github - Humanize can produce IndexError : list index out of range
Test issue #71 in github - cbo changes should update ok button.
Test the metadata is updated as the user highlights layers.
For inasafe outputs, the table of results should be shown See also https://github.com/AIFDR/inasafe/issues/58
Test we can get the legend index for a layer.
New in version 3.2.
Check that auxiliary files are well copied when they exist and the ‘saved as’ is used.
Check that auxiliary files aren’t created when they don’t exist and the ‘saved as’ is used.
Layers can be loaded and list widget was updated appropriately
Check that when we add a layer we can see it in the canvas list.
Test that colours and opacity from a model are correctly styled.
Test that the rubber bands get updated.
Test the dock title gets set properly.
OK button changes properly according to self.dock validity
Check if the save/restore state methods work. See also https://github.com/AIFDR/inasafe/issues/58
Test that analysis honours user defined extents.
Note that when testing on a desktop system this will overwrite your user defined analysis extent.
Validate function work as expected
Convert a wkt into a nested array of float pairs.
Memory requirements are calculated correctly when extents change.
Test print map, especially on Windows.