[Cppunit-cvs] cppunit/examples/ClockerPlugIn ClockerModel.cpp,1.2,1.3 ClockerPlugIn.cpp,1.5,1.6
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-11-06 16:58:28
|
Update of /cvsroot/cppunit/cppunit/examples/ClockerPlugIn In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3590/examples/ClockerPlugIn Modified Files: ClockerModel.cpp ClockerPlugIn.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: ClockerPlugIn.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/examples/ClockerPlugIn/ClockerPlugIn.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ClockerPlugIn.cpp 13 Oct 2005 20:13:15 -0000 1.5 --- ClockerPlugIn.cpp 6 Nov 2005 16:58:20 -0000 1.6 *************** *** 76,78 **** CPPUNIT_PLUGIN_EXPORTED_FUNCTION_IMPL( ClockerPlugIn ); ! CPPUNIT_TESTPLUGIN_MAIN(); \ No newline at end of file --- 76,78 ---- CPPUNIT_PLUGIN_EXPORTED_FUNCTION_IMPL( ClockerPlugIn ); ! CPPUNIT_PLUGIN_IMPLEMENT_MAIN(); \ No newline at end of file Index: ClockerModel.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/examples/ClockerPlugIn/ClockerModel.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ClockerModel.cpp 14 Jul 2002 19:48:31 -0000 1.2 --- ClockerModel.cpp 6 Nov 2005 16:58:20 -0000 1.3 *************** *** 5,8 **** --- 5,9 ---- // ////////////////////////////////////////////////////////////////////////// #include "ClockerModel.h" + #include <cppunit/config/SourcePrefix.h> |