• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KUnitTest

samplemodule.cpp

Go to the documentation of this file.
00001 
00026 #include "samplemodule.h"
00027 
00028 #include <kunittest/runner.h>
00029 #include <kunittest/module.h>
00030 
00031 using namespace KUnitTest;
00032 
00033 KUNITTEST_MODULE( kunittest_samplemodule, "Suite1" )
00034 KUNITTEST_MODULE_REGISTER_TESTER( SampleTester )
00035 
00036 void SampleTester::allTests()
00037 {
00038   int i = 2;
00039   CHECK( i + 2, 4 );
00040   VERIFY( i + 2 > 3 );
00041 }

KUnitTest

Skip menu "KUnitTest"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal