On Wed, Jun 29, 2016 at 04:44:29PM +0200, Richard Duivenvoorde wrote:

> https://github.com/rduivenvoorde/simplesvg/blob/master/src/simplesvg/mapsizer/MapSizerDialog.py#L93
> 
> the hard part (I think) is that the exact size of the mapcanvas was
> defined relative to other (parent) widgets, and for example depending on
> the OS....

I just figured my test canvas has no parent, but still ->resize()
doesn't make ->scale() return what I would expect...

I'm not sure if this is done in any other testcase, but I'm trying
to emulate user interaction, like:

 1. Select a layer in the registry
 2. Put layer in edit mode
 3. Activate node tool
 4. Click on a pixel coordinate

Do you know of an example test I should look at, if any ?

--strk;
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to