Hey Constantino,

> For my approach with unittest I use boost.test. To test if a widget
> was removed I check if its parent is null.
> Is there a better way?

That sounds quite okay... I cannot think of any reason why this would
not be in a general the case for a widget that was removed.

> I would also like another tip: to send signals from my test I'm
> abusing friend class.
> Can you suggest a better way here too?

What class do you make a friend to what class then ?
If you can connect() to a signal, you can also emit() that signal ?

Regards,
koen

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to