Thread: [Cppunit-cvs] cppunit/src/cppunit BriefTestProgressListener.cpp, 1.5, 1.6 TestFactoryRegistry.cpp,
Brought to you by:
blep
From: Steven R. <sm...@us...> - 2008-02-21 03:10:49
|
Update of /cvsroot/cppunit/cppunit/src/cppunit In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv27874/src/cppunit Modified Files: BriefTestProgressListener.cpp TestFactoryRegistry.cpp TestPlugInDefaultImpl.cpp TestSuccessListener.cpp TextTestProgressListener.cpp XmlOutputterHook.cpp Log Message: Changes to suppress warnings of gcc -Wall -W -ansi, mainly from patch [1898225]. Index: TextTestProgressListener.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/src/cppunit/TextTestProgressListener.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TextTestProgressListener.cpp 25 Jun 2004 11:11:45 -0000 1.7 --- TextTestProgressListener.cpp 21 Feb 2008 03:10:06 -0000 1.8 *************** *** 18,22 **** void ! TextTestProgressListener::startTest( Test *test ) { stdCOut() << "."; --- 18,22 ---- void ! TextTestProgressListener::startTest( Test * ) { stdCOut() << "."; *************** *** 32,37 **** void ! TextTestProgressListener::endTestRun( Test *test, ! TestResult *eventManager ) { stdCOut() << "\n"; --- 32,37 ---- void ! TextTestProgressListener::endTestRun( Test *, ! TestResult * ) { stdCOut() << "\n"; Index: BriefTestProgressListener.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/src/cppunit/BriefTestProgressListener.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** BriefTestProgressListener.cpp 25 Jun 2004 11:11:45 -0000 1.5 --- BriefTestProgressListener.cpp 21 Feb 2008 03:10:06 -0000 1.6 *************** *** 38,42 **** void ! BriefTestProgressListener::endTest( Test *test ) { if ( !m_lastTestFailed ) --- 38,42 ---- void ! BriefTestProgressListener::endTest( Test * ) { if ( !m_lastTestFailed ) Index: TestSuccessListener.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/src/cppunit/TestSuccessListener.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TestSuccessListener.cpp 12 Jul 2002 05:59:57 -0000 1.2 --- TestSuccessListener.cpp 21 Feb 2008 03:10:06 -0000 1.3 *************** *** 26,30 **** void ! TestSuccessListener::addFailure( const TestFailure &failure ) { ExclusiveZone zone( m_syncObject ); --- 26,30 ---- void ! TestSuccessListener::addFailure( const TestFailure & ) { ExclusiveZone zone( m_syncObject ); Index: XmlOutputterHook.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/src/cppunit/XmlOutputterHook.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** XmlOutputterHook.cpp 12 Jul 2002 05:59:58 -0000 1.3 --- XmlOutputterHook.cpp 21 Feb 2008 03:10:06 -0000 1.4 *************** *** 6,10 **** void ! XmlOutputterHook::beginDocument( XmlDocument *document ) { } --- 6,10 ---- void ! XmlOutputterHook::beginDocument( XmlDocument * ) { } *************** *** 12,16 **** void ! XmlOutputterHook::endDocument( XmlDocument *document ) { } --- 12,16 ---- void ! XmlOutputterHook::endDocument( XmlDocument * ) { } *************** *** 18,25 **** void ! XmlOutputterHook::failTestAdded( XmlDocument *document, ! XmlElement *testElement, ! Test *test, ! TestFailure *failure ) { } --- 18,25 ---- void ! XmlOutputterHook::failTestAdded( XmlDocument *, ! XmlElement *, ! Test *, ! TestFailure * ) { } *************** *** 27,33 **** void ! XmlOutputterHook::successfulTestAdded( XmlDocument *document, ! XmlElement *testElement, ! Test *test ) { } --- 27,33 ---- void ! XmlOutputterHook::successfulTestAdded( XmlDocument *, ! XmlElement *, ! Test * ) { } *************** *** 35,40 **** void ! XmlOutputterHook::statisticsAdded( XmlDocument *document, ! XmlElement *statisticsElement ) { } --- 35,40 ---- void ! XmlOutputterHook::statisticsAdded( XmlDocument *, ! XmlElement * ) { } Index: TestPlugInDefaultImpl.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/src/cppunit/TestPlugInDefaultImpl.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TestPlugInDefaultImpl.cpp 13 Oct 2005 20:13:16 -0000 1.7 --- TestPlugInDefaultImpl.cpp 21 Feb 2008 03:10:06 -0000 1.8 *************** *** 22,27 **** void ! TestPlugInDefaultImpl::initialize( TestFactoryRegistry *registry, ! const PlugInParameters ¶meters ) { } --- 22,27 ---- void ! TestPlugInDefaultImpl::initialize( TestFactoryRegistry *, ! const PlugInParameters & ) { } *************** *** 29,33 **** void ! TestPlugInDefaultImpl::addListener( TestResult *eventManager ) { } --- 29,33 ---- void ! TestPlugInDefaultImpl::addListener( TestResult * ) { } *************** *** 35,39 **** void ! TestPlugInDefaultImpl::removeListener( TestResult *eventManager ) { } --- 35,39 ---- void ! TestPlugInDefaultImpl::removeListener( TestResult * ) { } *************** *** 41,45 **** void ! TestPlugInDefaultImpl::addXmlOutputterHooks( XmlOutputter *outputter ) { } --- 41,45 ---- void ! TestPlugInDefaultImpl::addXmlOutputterHooks( XmlOutputter * ) { } *************** *** 53,57 **** void ! TestPlugInDefaultImpl::uninitialize( TestFactoryRegistry *registry ) { } --- 53,57 ---- void ! TestPlugInDefaultImpl::uninitialize( TestFactoryRegistry * ) { } Index: TestFactoryRegistry.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/src/cppunit/TestFactoryRegistry.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** TestFactoryRegistry.cpp 13 Oct 2005 20:13:15 -0000 1.22 --- TestFactoryRegistry.cpp 21 Feb 2008 03:10:06 -0000 1.23 *************** *** 102,106 **** void ! TestFactoryRegistry::registerFactory( const std::string &name, TestFactory *factory ) { --- 102,106 ---- void ! TestFactoryRegistry::registerFactory( const std::string &, TestFactory *factory ) { |