[Mockpp-commits] mockpp/mockpp/tests NoException_test.cpp,NONE,1.1
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-12-07 19:48:22
|
Update of /cvsroot/mockpp/mockpp/mockpp/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23127/mockpp/tests Added Files: NoException_test.cpp Log Message: new test file --- NEW FILE: NoException_test.cpp --- /*************************************************************************** NoException_test.cpp - unit tests for tests with disabled exceptions ------------------- begin : Wed Dec 7 2005 copyright : (C) 2002-2005 by Ewald Arnold email : mockpp at ewald-arnold dot de $Id: NoException_test.cpp,v 1.1 2005/12/07 19:48:12 ewald-arnold Exp $ ***************************************************************************/ /************************************************************************** * * This program is free software; you can redistribute it Or/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2 of the License, * or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * ***************************************************************************/ #include <mockpp/mockpp.h> // always first #ifndef HAVE_CPPUNIT # warning CppUnit not available at compile time #else #include <cppunit/extensions/HelperMacros.h> class NoException_test : public CppUnit::TestFixture { public: CPPUNIT_TEST_SUITE( NoException_test ); CPPUNIT_TEST(test_invoke); CPPUNIT_TEST_SUITE_END(); public: void test_invoke(); }; CPPUNIT_TEST_SUITE_REGISTRATION(NoException_test); void NoException_test::test_invoke() { } #endif // HAVE_CPPUNIT |