summaryrefslogtreecommitdiff
path: root/examples/qt/Main.cpp
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2004-03-13 09:52:27 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2004-03-13 09:52:27 +0000
commitb65ceb2d1c4c4fc1b56f0e04f4d7011cfd4d1a01 (patch)
treec49b34eb81e18fd261364f915e81fc57d0a605e6 /examples/qt/Main.cpp
parent80d86cc95af4d1b8249595786eac8bcd7e571f82 (diff)
downloadcppunit-b65ceb2d1c4c4fc1b56f0e04f4d7011cfd4d1a01.tar.gz
Examples/qt/Main.
examples/qt/Main.cpp: * examples/qt/ExampleTestCase.h: fixed bug #789672: QT example should use CPPUNIT_NS macro.
Diffstat (limited to 'examples/qt/Main.cpp')
-rw-r--r--examples/qt/Main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/qt/Main.cpp b/examples/qt/Main.cpp
index 6bb40ef..cb90f8b 100644
--- a/examples/qt/Main.cpp
+++ b/examples/qt/Main.cpp
@@ -1,5 +1,4 @@
#include <qapplication.h>
-#define QTTESTRUNNER_API __declspec(dllimport)
#include <cppunit/ui/qt/TestRunner.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
@@ -8,8 +7,8 @@ int main( int argc, char** argv )
{
QApplication app( argc, argv );
- CppUnit::QtUi::TestRunner runner;
- runner.addTest( CppUnit::TestFactoryRegistry::getRegistry().makeTest() );
+ CPPUNIT_NS::QtUi::TestRunner runner;
+ runner.addTest( CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest() );
runner.run( true );
return 0;