Update of /cvsroot/cppunit/cppunit/examples/DumperPlugIn
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3590/examples/DumperPlugIn
Modified Files:
DumperPlugIn.cpp
Log Message:
* include/cppunit/config/SourcePrefix.h: disable warning #4996
(sprintf is deprecated) for visual studio 2005.
* include/cppunit/TestAssert.h: use sprintf_s instead of sprintf for
visual studio 2005.
* examples/ClockerPlugIn/ClockerPlugIn.cpp
* examples/DumperPlugIn/DumperPlugIn.cpp: use SourcePrefix.h. Fixed
wrong macro usage to implement DllMain.
* examples/msvc6/HostApp/ExamplesTestCase.h
* examples/msvc6/HostApp/ExamplesTestCase.cpp
* examples/simple/ExamplesTestCase.h
* examples/simple/ExamplesTestCase.cpp: removed divideByZero test case
as it cause some crash on some platforms.
Index: DumperPlugIn.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit/examples/DumperPlugIn/DumperPlugIn.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** DumperPlugIn.cpp 27 Aug 2002 21:51:14 -0000 1.4
--- DumperPlugIn.cpp 6 Nov 2005 16:58:21 -0000 1.5
***************
*** 63,65 ****
CPPUNIT_PLUGIN_EXPORTED_FUNCTION_IMPL( DumperPlugIn );
! CPPUNIT_TESTPLUGIN_MAIN();
\ No newline at end of file
--- 63,65 ----
CPPUNIT_PLUGIN_EXPORTED_FUNCTION_IMPL( DumperPlugIn );
! CPPUNIT_PLUGIN_IMPLEMENT_MAIN();
\ No newline at end of file
|