[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdevplatform/shell
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-10-19 16:14:46
Message-ID: 1224432886.487054.19217.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 873513 by apaku:

Also mention how to cleanup after running the tests.


 M  +5 -1      testcore.h  


--- trunk/KDE/kdevplatform/shell/testcore.h #873512:873513
@@ -46,9 +46,13 @@
  * //replace plugin controller
  * core->setPluginController( new MyCustomPluginController( core ) );
  * core->initialize();
+ * ... //test code
+ * core->cleanup();
+ * delete core;
  * \endcode
  *
- * @note Its important to call initialize, else the controller's won't work
+ * @note Its important to call initialize and cleanup, else the controller's
+ * won't work properly.
  */
 class TestCore : public Core
 {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic