From 0aebae162476acace5580d3b54109111ff3514ca Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Fri, 19 Apr 2002 13:11:38 +0000 Subject: 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. --- examples/simple/SimplePlugIn.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/simple/SimplePlugIn.cpp (limited to 'examples/simple/SimplePlugIn.cpp') 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 + + +// Implements all the plug-in stuffs, WinMain... +CPPUNIT_PLUGIN_IMPLEMENT(); -- cgit v1.2.1