summaryrefslogtreecommitdiff
path: root/examples/simple/SimplePlugIn.cpp
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-19 13:11:38 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-19 13:11:38 +0000
commit0aebae162476acace5580d3b54109111ff3514ca (patch)
treeea7f2a17f2dc458026d5322fa07acb8ffe2ce8b7 /examples/simple/SimplePlugIn.cpp
parent626e37841cfedef589fecb975876e7d22986cfb7 (diff)
downloadcppunit-0aebae162476acace5580d3b54109111ff3514ca.tar.gz
Src/cppunit/PlugInManager.
src/cppunit/PlugInManager.cpp: fixed bug in unload(). * include/cppunit/TypeInfoHelper.h: * src/cppunit/TypeInfoHelper.cpp: Implementation is now always available is CPPUNIT_HAVE_RTTI is not 0. This removes the need to use different libraries. CPPUNIT_USE_TYPEINFO_NAME can be set on a case by case basis for HelperMacros. * src/cppunit/TestFactoryRegistry.cpp: removed unused include of TypeInfoHelper.h. * include/cppunit/TextTestProgressListener.h: * src/cppunit/TextTestProgressListener.cpp: used endTest() instead of done() to finalize. * src/msvc6/TestPlugInRunner/TestPlugIn.h: * src/msvc6/TestPlugInRunner/TestPlugIn.cpp: updated to use the new test plug-in system. * examples/simple/SimplePlugIn.cpp: * examples/simple/simple_plugin.dsp: crossplatform test plug-in example using 'simple'. * examples/msvc6/EasyTestPlugIn/*: projects replaced with the crossplatform projecct examples/simple/simple_plugin.dsp.
Diffstat (limited to 'examples/simple/SimplePlugIn.cpp')
-rw-r--r--examples/simple/SimplePlugIn.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/simple/SimplePlugIn.cpp b/examples/simple/SimplePlugIn.cpp
new file mode 100644
index 0000000..1d24f06
--- /dev/null
+++ b/examples/simple/SimplePlugIn.cpp
@@ -0,0 +1,8 @@
+// EasyTestPlugIn.cpp : Defines the entry point for the DLL application.
+//
+
+#include <cppunit/plugin/TestPlugIn.h>
+
+
+// Implements all the plug-in stuffs, WinMain...
+CPPUNIT_PLUGIN_IMPLEMENT();