Hello all,
currently we start to write tests for our classes. On class we want to test is 
'Page' with inherits from WContainerWidget. The problem occure during the 
cleanup (DTOR) from WWidget. Because of we write unittests without any 
dependency to the remaining project we create our page without an WApplication. 
During the call of the destructor, WWidget fetches the WApplication (which is 
zero) and want to call sessen. Now it crashs because of the non existing 
WApplication object.

Now here is my question:
Exists there are any mechanism to create a dummy WApplication object or other 
ways to test the ctor/dtor of WWContainerWidget without using the WRun 
mechanism.

Many thanks in advance,
Sven

------------------------------------------------------------------------------

_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to