[Cppunit-cvs] cppunit/examples/qt ExampleTestCases.cpp,1.2,1.3 ExampleTestCases.h,1.2,1.3
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2006-03-04 21:25:28
|
Update of /cvsroot/cppunit/cppunit/examples/qt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1171/examples/qt Modified Files: ExampleTestCases.cpp ExampleTestCases.h Log Message: * removed divideByZero test as it cause crashes on some platforms. Index: ExampleTestCases.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit/examples/qt/ExampleTestCases.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExampleTestCases.cpp 1 Feb 2006 21:10:59 -0000 1.2 --- ExampleTestCases.cpp 4 Mar 2006 21:25:19 -0000 1.3 *************** *** 27,36 **** } - void ExampleTestCases::testDivideByZero () - { - int zero = 0; - int result = 8 / zero; - } - void ExampleTestCases::testEquals () { --- 27,30 ---- Index: ExampleTestCases.h =================================================================== RCS file: /cvsroot/cppunit/cppunit/examples/qt/ExampleTestCases.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExampleTestCases.h 1 Feb 2006 21:10:59 -0000 1.2 --- ExampleTestCases.h 4 Mar 2006 21:25:19 -0000 1.3 *************** *** 17,21 **** CPPUNIT_TEST( anotherExample ); CPPUNIT_TEST( testAdd ); - CPPUNIT_TEST( testDivideByZero ); CPPUNIT_TEST( testEquals ); CPPUNIT_TEST_SUITE_END(); --- 17,20 ---- *************** *** 34,38 **** void anotherExample (); void testAdd (); - void testDivideByZero (); void testEquals (); }; --- 33,36 ---- |