Menu

[r196]: / trunk / cppunit / ChangeLog  Maximize  Restore  History

Download this file

1101 lines (752 with data), 37.7 kB

2001-10-03 Baptiste Lepilleur <gaiacrtn@free.fr>

	* NEWS : updated.

	* include/cppunit/Exception.h : added include Portability.h.

	* include/cppunit/TestResult.* : changed TestFailures to a deque.
	added tests().

	* examples/cppunittest/CppUnitTest.dsp : 
	* examples/cppunittest/MakeFile.am : 
	* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp : Added 
	XmlTestResultOutputterTest.*, XmlUniformiser.*, XmlUniformiserTest.*,
	UnitTestToolSuite.h, OutputSuite.h.

	* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp : revised project
	folders structure. Added missing NoteEqualExceptionTest.*.

	* examples/cppunittest/CppUnitTestSuite.cpp : added 'Output' and
	'UnitTestTool' suites.

	* src/cppunit/cppunit.dsp: removed estring.h. Revised project folders
	structure. Removed TestRegistry.*. Added TestSetUp.h, 
	XmlTestResultOutputter.*. 

	* src/cppunit/MakeFile.am: added XmlTestResultOutputter.*.

	* src/testrunner/TestRunnerDlg.cpp: removed disabled code.

2001-10-03 Baptiste Lepilleur <gaiacrtn@free.fr>

	* include/cppunit/TestFailure.cpp :
	* include/cppunit/TestFailure.h : fixed some constness issues. Added
	argument to indicate the type of failure to constructor. Added
	isError().

	* include/cppunit/TestListener.h : removed addError(). addFailure()
	now take a TestFailure as argument.

	* include/cppunit/TestResult.h :
	* include/cppunit/TestResult.cpp : removed errors(). Refactored. Fixed
	some constness issues. Added typedef TestFailures for vector returned 
	by failures(). failures() returns a const reference on the list of 
	failure. added testFailuresTotal(). Constructor can take an optional 
	synchronization object.

	* include/cppunit/TextTestResult.h :
	* include/cppunit/TextTestResult.cpp : removed printErrors(). 
	Refactored. Updated to suit new TestResult, errors and failures are
	reported in the same list.

	* examples/cppunittest/TestFailureTest.cpp :
	* examples/cppunittest/TestFailureTest.h : modified to use the new
	TestFailure constructor. Added one test.

	* examples/cppunittest/TestListenerTest.cpp: removed addError(). 
	Refactored to suit new TestListener.

	* examples/cppunittest/TestResultTest.h :
	* examples/cppunittest/TestResultTest.cpp : modified to suit the
	new TestResult. 

2001-10-02 Baptiste Lepilleur <gaiacrtn@free.fr>

	* include/cppunit/extensions/TestFactoryRegistry.h
	* src/cppunit/TestFactoryRegistry.cpp : fixed memory leaks that 
	occured when a TestFactoryRegistry was registered into another
	TestFactoryRegistry.

	* include/cppunit/extensions/AutoRegisterSuite.h : updated doc.

	* include/cppunit/extensions/HelperMacros.h : added macro
	CPPUNIT_TEST_SUITE_NAMED_REGISTRATION to register a suite into
	a named suite. Updated doc.

	* examples/cppunittest/CoreSuite.h:
	* examples/cppunittest/ExtensionSuite.h:
	* examples/cppunittest/HelperSuite.h: added, declaration of suite for
	use with CPPUNIT_TEST_SUITE_NAMED_REGISTRATION.

	* examples/cppunittest/makefile.am : added HelperSuite.h, CoreSuite.h,
	ExtensionSuite.h, CppUnitTestSuite.h and CppUnitTestSuite.cpp.

	* examples/cppunittest/CppUnitTestSuite.*: added.

	* examples/cppunittest/ExceptionTest.cpp:
	* examples/cppunittest/TestAssertTest.cpp:
	* examples/cppunittest/TestCaseTest.cpp: 
	* examples/cppunittest/TestFailureTest.cpp:
	* examples/cppunittest/TestListenerTest.cpp:
	* examples/cppunittest/TestResultTest.cpp:
	* examples/cppunittest/TestSuiteTest.cpp: moved into named suite
	"Core" using CPPUNIT_TEST_SUITE_NAMED_REGISTRATION.

	* examples/cppunittest/OrthodoxTest.cpp:
	* examples/cppunittest/RepeatedTest.cpp:
	* examples/cppunittest/TestDecoratorTest.cpp:
	* examples/cppunittest/TestSetUpTest.cpp: moved into named suite
	"Extension" using CPPUNIT_TEST_SUITE_NAMED_REGISTRATION.

	* examples/cppunittest/HelperMacrosTest.cpp:
	* examples/cppunittest/TestCallerTest.cpp: moved into named suite
	"Helper" using CPPUNIT_TEST_SUITE_NAMED_REGISTRATION.

	* examples/cppunittest/CppUnitTest.dsp : 
	* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp : added 
	Makefile.am, HelperSuite.h, CoreSuite.h, ExtensionSuite.h,
	CppUnitTestSuite.h and CppUnitTestSuite.cpp.

2001-10-01 Baptiste Lepilleur <gaiacrtn@free.fr>

	* NEWS : updated.

	* doc/other_documentation.dox : added all the authors to the list of
	authors.

	* examples/cppunittest/HelperMacrosTest.*: added unit tests for
	CPPUNIT_TEST_FAIL & CPPUNIT_TEST_EXCEPTION.

	* examples/cppunittest/TestAssertTest.*: added unit tests for
	CPPUNIT_FAIL. Corrected spelling error. Relaxed constraint on message
	produced by CPPUNIT_ASSERT_MESSAGE. Refactored some tests.

	* include/cppunit/extensions/HelperMacros.h : added macro
	CPPUNIT_TEST_EXCEPTION to create a test case for the specified method
	that must throw an exception of the specified type.

	* include/cppunit/extensions/TestSuiteBuilder.h : made makeTestName() public.
	Added addTestCallerForException() to add a test case expecting an exception of
	the specified type to be caught.

	* include/cppunit/TestAssert.h : added macro CPPUNIT_FAIL as a 
	shortcut for CPPUNIT_ASSERT_MESSAGE( message, false ).

2001-09-30  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* configure.in: Set version to 1.7.0.

2001-09-30  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* Release 1.6.1.

	* doc/footer.html: Do not meddle with font size.

	* doc/header.html: Add link to FAQ.  Do not meddle with font size.

	* doc/Doxyfile.in (PROJECT_NAME): Set to "CppUnit", to be
	consistent on capitalization.
	(PROJECT_NUMBER): Include "Version" in the string.

	* doc/Makefile.am (EXTRA_DIST): Distribute FAQ.

	* Makefile.am (EXTRA_DIST): Distribute contrib/msvc/CppUnit.WWTpl
	and contrib/msvc/readme.txt.
	(dist-hook): Change line endings of these files.

	* include/cppunit/extensions/RepeatedTest.h
	* src/cppunit/RepeatedTest.cpp (countTestCases, toString): 
	Add const qualifier to function.

2001-09-30 Baptiste Lepilleur <gaiacrtn@free.fr>

	* contrib/msvc/CppUnit.WWTpl: added, template for WorkSpace Whiz! 
	to create new classes and unit tests.

	* doc/FAQ:
	* INSTALL-WIN32.txt: moved FAQ from install-WIN32 to that file. Added
	a generic question to hint at the helper macros.

	* include/cppunit/extensions/HelperMacros.h: bug #464844, moved
	declaration of ThisTestCaseFactory from CPPUNIT_TEST_SUITE_END to
	CPPUNIT_TEST_SUITE where the Fixture class name is available from
	the macro parameter.

2001-09-30  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* include/cppunit/config-mac.h: New.  Macintosh configuration,
	courtesy of Duane Murphy.

	* include/cppunit/Portability.h: Move <string> include inside
	#if-block that needs it.

	* doc/Makefile.am (doc-dist): Creates tar file of HTML doc files.
	Remove all wildcarded filenames.  Do not bother with manpages.

	* Makefile.am (EXTRA_DIST): Distribute INSTALL-unix and
	cppunit-config.1.
	(man_MANS): Install cppunit-config.1.
	(doc-dist): Use "make doc-dist" in doc directory.

	* cppunit-config.1: Document --prefix and --exec-prefix.

	* cppunit-config.in (Usage): Remove "[LIBRARIES]" from help string.

2001-09-29  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* configure.in: Set version to 1.6.1.

2001-09-29 Baptiste Lepilleur <gaiacrtn@free.fr>

	* example/cppunittest/TestCaller.*: remove some memory leaks.
	TestCaller exception catching features is now tested correctly.
	Previous test tested nothing!

2001-09-23  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* configure.in: Set version to 1.6.0.

	* Makefile.am (EXTRA_DIST): Add BUGS.

	* NEWS: Incorporate Baptiste's notes.

	* BUGS: New file for list of known bugs.

	* README: Note about file BUGS.

2001-09-24 Baptiste Lepilleur <gaiacrtn@free.fr>

	* include/cppunit/TestAssert.h : changed header order to remove
	warning on VC++

	* include/cppunit/TestCaller.h : bugfix: threw 'new Exception'
	instead of 'Exception'.

2001-09-23  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* doc/footer.html: Put devel list in mailto tag.

	* doc/Makefile.am (man_MANS): Restore ability to install manpages.
	(htmldir): HTML pages installed under $(pkgdatadir).

	* doc/other_documentation.dox: Reference cookbook.html
	in same directory.  Remove obsolete text.

	* configure.in: Do not set CFLAGS; remove --enable-debug-mode.

	* include/cppunit/Portability.h: 
	* include/cppunit/extensions/HelperMacros.h: Allow user
	to request the old-style CU_TEST family of macros.

	* doc/Doxyfile.in (EXCLUDE_PATTERNS): Remove estring.h.

	* README: Add contact and bug-reporting info.

	* INSTALL-unix: New.  Move the unix install notes here
	from README.

	* AUTHORS: Put myself on the list.

2001-09-21 Baptiste Lepilleur <gaiacrtn@free.fr>
	
	* include/cppunit/TestFailure.h : made destructor virtual.

	* INSTALL-WIN32.txt : added some more infos about DSPlugIn.

	* src/msvc6/DSPlugIn/DSPlugIn.rgs: added some registry data
	that where missing to register the COM object.

	* src/msvc6/DSPlugIn/DSPlugIn.rc: updated some dll version info.

	* src/msvc6/DSPlugIn/DSPlugIn.dsp: fixed the custom build step to
	register the DLL using regsvr32.exe. Added a post-build step to 
	copy the dll to the lib/ directory. This prevent a blocking 
	compilation error if the DLL is in use by VC++.

2001-09-20  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* Makefile.am (snapshot): Replace "date -I" GNUism with portable
	specification for ISO date format.
	(dist-hook): Correct rule to change line endings for INSTALL-WIN32.txt.

	* include/cppunit/Portability.h: 
	* config/ac_cxx_have_strstream.m4 (AC_CXX_HAVE_STRSTREAM): Extend
	to check for and use <strstream> in preference to <strstream.h>.
	Patrick Hartling reports the former is required for the SGI
	MIPSpro 7.3.1.2 compiler.

2001-09-19 Baptiste Lepilleur <gaiacrtn@free.fr>

	* examples/cppunittest/makefile.am : added TestSetupTest.(cpp/h)

	* examples/examples.dsw: removed some unnecessary dependencies. 

	* examples/msvc6/HostApp/HostApp.dsp: fixed release configuration

	* src/msvc6/DSPlugIn/DSPlugIn.dsp: fixed release configuration, and
	disabled the custom build command that does not work.

	* include/cppunit/extensions/HelperMacros.h: reordered header to remove
	some warning with VC++.

	* INSTALL-WIN32.txt : detailed what was in each project. Added a FAQ 
	about the failing test case in cppunittest.

2001-09-19  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* README: Describe how to check if libtool is fixed.

	* Makefile.am (dist-hook): Include INSTALL-WIN32.txt in the list
	of files to convert to MSDOS line endings.
	(snapshot): Use ISO-8601 compliant date for filename.
	(ACLOCAL_AMFLAGS): Specify local directory.

2001-09-18  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* include/cppunit/TextTestResult.h: Change include from <iosfwd>
	to <iostream>.  Sugggested by Peer Sommerlund.

	* include/cppunit/Portability.h: Qualify ostrstream with std.
	Suggested by Patrick Hartling.

2001-09-18 Baptiste Lepilleur <gaiacrtn@free.fr>

	* examples/examples.dsw:
	* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsw:
	* examples/msvc6/HostApp/HostApp.dsw:
	* examples/msvc6/TestPlugIn/TestPlugIn.dsw: Added missing
	project dependency.

	* src/msvc6/DSPlugIn/DSPlugIn.dsp: fixed *.tlb output directory.

	* include/msvc6/testrunner/TestPlugInInterface.h: does not define
	NOMINMAX if already defined.

2001-09-17 Baptiste Lepilleur <gaiacrtn@free.fr>

	* Makefile.am: Added INSTALL-WIN32.txt to EXTRA_DIST.

	* INSTALL-WIN32.txt: added, short documentation for CppUnit and VC++.

	* include/cppunit/extensions/HelperMacros.h: bug #448363, removed 
	an extraneous ';' at the end of CPPUNIT_TEST_SUITE_END macro.

	* examples/cppunittest/TestCallerTest.cpp: bug #448332, fixed
	memory leaks.

	* src/msvc6/testrunner/TestRunnerDlg.h:
	* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h:
	* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: change to define
	IDD to a dummy value when subclassing the dialog.

	* src/cppunit/cppunit.dsp:
	* src/msvc6/testrunner/TestRunner.dsp:
	* src/msvc6/testpluginrunner/TestPlugInRunner.dsp:
	* examples/cppunitttest/CppUnitTestMain.dsp:
	* examples/hierarchy.dsp:
	* examples/msvc6/TestPlugIn/TestPlugIn.dsp:
	* examples/msvc6/HostApp/HostApp.dsp: all configurations can be compiled.

	* src/msvc6/testpluginrunner/TestPlugInRunner.dsw: added dependency to
	cppunit.dsp and TestRunner.dsp.

2001-09-16  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* Revert TestFixture-related changes from 2001-07-15:

	* src/cppunit/cppunit.dsp (SOURCE): Remove TestFixture.h.

	* src/cppunit/TestCase.cpp (setUp, tearDown): Restore function
	bodies.

	* include/cppunit/TestCase.h (class TestCase): Do not derive
	from class TestFixture.  Restore member functions setUp()
	and tearDown().

	* include/cppunit/TestCaller.h: Do not include
	<cppunit/TestFixture.h>.

	* include/cppunit/Makefile.am (libcppunitinclude_HEADERS): Remove
	TestFixture.h.

2001-09-14 Baptiste Lepilleur <gaiacrtn@free.fr>
	* src/msvc6/testrunner/TestRunner.dsp: fixed release configuration.

	* src/msvc6/testrunner/TestRunner.dsw: added DSPlugIn.dsp. TestRunner
	depends on DSPlugIn.

	* src/msvc6/testrunner/TestRunner.cpp:
	* src/msvc6/testrunner/TestRunnerDlg.h:
	* src/msvc6/testrunner/TestRunnerDlg.cpp: 
	* src/msvc6/testrunner/MsDevCallerListCtrl.cpp: 
	* src/msvc6/testrunner/MsDevCallerListCtrl.h:
	* src/msvc6/DSPlugIn/*: integrated patch from 
	Patrick Berny (PPBerny@web.de). An add-ins for VC++. Double-cliking
	a failed test in the TestRunner, VC++ will open the source file and 
	go to the failure location.

	* src/cppunit/Exception.cpp:
	* include/cppunit/Exception.h: compile fix, call to overrided
	operator = of parent class failed. Using typedef to the parent
	class fix that.

	* src/cppunit/cppunit.dsp: added TestFixture.h

	* src/cppunit/TestFactoryRegistry.cpp: removed <utility> which isn't
	needed any more.

	* include/cppunit/TestCase.h:
	* include/cppunit/TestSuite.h:
	* include/cppunit/extensions/TestFactoryRegistry.h: added
	include <Portability.h> before any other includes to remove warning
	with VC++.

	* include/cppunit/Portability.h: moved platform specific includes at 
	the beginning of the header. fixed CPPUNIT_HAVE_CPP_SOURCE_ANNOTATION 
	declaration.

	* include/cppunit/config-msvc6.h: removed pragma once (useless, should 
	be put in each header to have an effect).

2001-08-07  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* doc/Makefile.am: Add workaround for broken Doxygen.

	* src/cppunit/TextTestResult.cpp (operator<<): Remove CppUnit::
	prefix.

	* configure.in: Add check for <cmath>.
	* src/cppunit/TestAssert.cpp: Use <math.h> if <cmath> not
	available.
	* src/cppunit/TestCase.cpp: Do not include <cmath>.

	* include/cppunit/config-bcb5.h (HAVE_CMATH): 
	* include/cppunit/config-msvc6.h (HAVE_CMATH): Add.

	* src/cppunit/Exception.cpp: Qualify std::exception.

	* examples/cppunittest/OrthodoxTest.h (TestCase): Add assignment
	operator.  MIPSpro fails to compile without one.

	* Makefile.am: Removed automake conditional "DOC".
	* doc/Makefile.am: Placed "DOC" conditional around
	rules that invoke Doxygen.

	* config/Makefile.am: Removed.
	* configure.in: Do not create config/Makefile.
	* Makefile.am (EXTRA_DIST): Distribute config/*.m4.
	(SUBDIRS): Do not descend into config.

2001-07-15  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* include/cppunit/TestFixture.h: New.  Declare class TextFixture.

	* include/cppunit/TestCaller.h:
	* include/cppunit/TestCase.h:
	* src/cppunit/TestCase.cpp: 
	* include/cppunit/Makefile.am: Subclass TestCase from TestFixture.

2001-07-14  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* include/cppunit/Exception.h:
	* include/cppunit/Test.h:
	* include/cppunit/TestCaller.h:
	* include/cppunit/TestCase.h:
	* include/cppunit/TestFailure.h:
	* include/cppunit/TestListener.h:
	* include/cppunit/TestSuite.h:
	* include/cppunit/extensions/RepeatedTest.h:
	* include/cppunit/extensions/TestDecorator.h:
	* src/cppunit/TestCase.cpp:  Add documentation.

2001-07-13  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* examples/cppunittest/TestAssertTest.h:
	* examples/cppunittest/TestAssertTest.cpp: Add tests 
	for CPPUNIT_ASSERT_EQUAL.

2001-07-12  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* configure.in: Set to version 1.5.6.  On the assumption that
	backwards compatibility has been broken (though I'm not certain),
	set the binary age and interface age to zero.

	* examples/cppunittest/TestFailureTest.h:
	* include/cppunit/Exception.h:
	* include/cppunit/NotEqualException.h:
	* src/cppunit/Exception.cpp:
	* src/cppunit/NotEqualException.cpp: Add "throw()" to overridden
	std::exception destructors; required for GCC 3.0.

2001-07-07  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* include/cppunit/Makefile.am: Clean config-auto.h using
	DISTCLEANFILES.

	* doc/Makefile.am: Temporarily disable manpage installation.  
	Fix html installation to ensure files removed by uninstall.

	* src/cppunit/estring.h: Removed.

	* src/cppunit/Makefile.am:
	* src/cppunit/TestCase.cpp:
	* src/cppunit/TextTestResult.cpp: Recode to avoid use of estring.

	* examples/cppunittest/OrthodoxTest.h: Add const qualifier
	to operator== methods.

	* include/cppunit/config-bcb5.h:
	* include/cppunit/config-msvc6.h: Define CPPUNIT_HAVE_SSTREAM to 1.

	* config/ac_cxx_have_sstream.m4: New.  Defines macro
	AC_CXX_HAVE_SSTREAM.  Taken from the autoconf archive.

	* config/ac_cxx_have_strstream.m4: New.  Copy of above,
	modified to check for presence of strstream; defines
	macro AC_CXX_HAVE_STRSTREAM.

	* configure.in: Invoke AC_CXX_HAVE_SSTREAM and
	AC_CXX_HAVE_STRSTREAM.

	* include/cppunit/Portability.h: Define class
	CppUnit::OStringStream.

	* include/cppunit/TestAssert.h:
	* src/cppunit/TestFactoryRegistry.cpp: Replace std::ostringstream
	by CppUnit::OStringStream.


2001-07-06  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* configure.in: Add --disable-typeinfo-name option.

	* README: Add note about new configure option.

	* configure.in: Remove AM_DISABLE_STATIC.

	* INSTALL: Update to version from autoconf 2.50.

2001-07-05  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* include/cppunit/Portability.h: Remove definition of
	CPPUNIT_USE_TYPEINFO.

	* configure.in: Define USE_TYPEINFO_NAME in config.h.

	* include/cppunit/config-msvc6.h (CPPUNIT_USE_TYPEINFO_NAME): 
	* include/cppunit/config-bcb5.h (CPPUNIT_USE_TYPEINFO_NAME): Add
	definition.

	* include/cppunit/TestCaller.h: 
	* include/cppunit/extensions/TypeInfoHelper.h: 
	* include/cppunit/extensions/TestSuiteBuilder.h: 
	* include/cppunit/extensions/HelperMacros.h: 
	* src/cppunit/TypeInfoHelper.cpp: 
	* src/cppunit/TestFactoryRegistry.cpp: 
	* src/cppunit/TestCase.cpp (toString): 
	Switch from CPPUNIT_USE_TYPEINFO to CPPUNIT_USE_TYPEINFO_NAME.

	* src/cppunit/TestAssert.cpp: Remove include of estring.h.

	* configure.in: Invoke AC_PROG_CC to workaround a automake
	bug.  Move probes for CC/CXX ahead of the libtool macros.

	* examples/hierarchy/Makefile.am: 
	* examples/cppunittest/Makefile.am: 
	* src/cppunit/Makefile.am (INCLUDES): Search
	$(top_builddir)/include for <cppunit/config-auto.h>.

2001-06-27 Baptiste Lepilleur <gaiacrtn@free.fr>

	* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp:
	moved dll copy from post-build to custom build setting, so that the 
	dll is copied even if the CppUnitTestApp was not modified.

	* examples/msvc6/TestPlugIn/: a new example of test plug in.

	* src/msvc6/TestRunner/ListCtrlFormatter.*
	* src/msvc6/TestRunner/ListCtrlSetter.*:
	added, helper to manipulate list control.

	* src/msvc6/TestRunner/TestRunnerDlg.*: change to make the error list 
	more compact. text moved to string resources. icons added for typ
	test tfailure type.

	* src/msvc6/TestRunner/MostRecentTests.*: added, classes that will
	replace the current implementation of MRU test which make it hard
	to subclass the dialog.

	* src/msvc6/TestRunner/res/errortype.bmp: added, bitmap with error
	types (failure and error).

	* src/msvc6/TestPlugInRunner/: A test runner to run test plug in.
	Test plug in are DLL that publish a specified plug in interface.
	Those DLL are loaded and reloaded by the TestPlugInRunner to run
	tests. This remove the need to wrap DLL with a executable to test
	them.

	* src/cppunit/cppunit.dsp: 
	removed config.h from project
	added Portability.h and config-msvc6.h

	* include/cppunit/config-msvc6.h:
	undef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST


2001-06-20  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* autogen.sh: Stop when tool fails.  Try /usr/local/share/aclocal
	only if aclocal fails without it.

	* README.CVS: New.

2001-06-18  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* include/cppunit/Portability.h (CPPUNIT_USE_TYPEINFO):
	(CPPUNIT_ENABLE_NAKED_ASSERT):
	(CPPUNIT_HAVE_CPP_SOURCEANNOTATION): Fix setting of
	default values.

2001-06-17  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* configure.in: Require autoconf 2.50 or better.

2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* configure.in: moved config.h from include/ to config/

	* configure.in: added AC_CREATE_PREFIX_CONFIG_H call
	
	* config/ac_create_prefix_config_h.m4: added

	* configure.in: removed include/cppunit/config.h from AC_OUTPUT
	* include/cppunit/config.h.in: obsoleted by
	AC_CREATE_PREFIX_CONFIG_H macro.
	
	* configure.in:
	* config/bb_enable_doxygen.m4: moved doxygen stuff into 
	BB_ENABLE_DOXYGEN macro

	* include/cppunit/Makefile.am: removed config.h, added config-auto.h,
	config-msvc6.h, config-bcb5.h, Portability.h
	
	* include/cppunit/Makefile.am: added dist-hook to exclude 
	config-auto.h from dist tar
	
	* include/cppunit/TestAssert.h:
	* include/cppunit/extensions/TypeInfoHelper.h:
	* include/cppunit/extensions/TestSuiteBuilder.h:
	* include/cppunit/extensions/HelperMacros.h:
	* src/cppunit/TypeInfoHelper.cpp:
	* src/cppunit/TestRegistry.cpp:
	* src/cppunit/TestFactoryRegistry.cpp:
	* src/cppunit/TestCase.cpp: replaced #include of <config.h> with 
	<cppunit/Portability.h>
	
	* src/cppunit/TypeInfoHelper.cpp: use new macro name 
	CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
	

2001-06-12 Baptiste Lepilleur <gaiacrtn@free.fr>
	
	* include/cppunit/NotEqualException.h
	* src/cppunit/NotEqualException.h:
	Fixed constructor and operator = (aren't unit test nice?). Added 
	methods expectedValue() and actualValue().

	* include/cppunit/TestAssert.h:
	* src/cppunit/TestAssert.cpp:
	Use NotEqualException to report equality failure.

	* src/cppunit/TestFactoryRegistry.cpp: fixed makeTest(). It did not use m_name for
	naming the suite.

	* src/cppunit/TestResult.cpp:
	Report expect/was on different line for assertEquals failure.

	* examples/cppunittest/NotEqualExceptionTest.*: added unit tests for
	NotEqualException. 

	* examples/cppunittest/OrthodoxTest.*: operator ! use explicit construction.

	* examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp: modified so that the dialog
	is not displayed after the tests are run.

2001-06-11  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* examples/cppunittest/TestResultTest.cpp (testAddTwoErrors,
	testAddTwoFailures): Replace vector::at() with more portable
	vector::operator[]; GCC doesn't have the former.

	* include/cppunit/extensions/TestDecorator.h (countTestCases):
	Declare return type.

	* src/cppunit/Makefile.am (libcppunit_la_SOURCES): Add
	TestAssert.cpp, RepeatedTest.cpp.

	* include/cppunit/TestCaller.h (NoExceptionExpected): Fix
	constructor name.

2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr>

	* include/cppunit/Exception.h: now inherit from std::exception
	instead of ::exception. Added clone(), type(), and isInstanceOf()
	methods for subclassing support. Changed UNKNOWNLINENUMBER type to
	long for consistence with lineNumber().

	* include/cppunit/NotEqualException.h: addded, exception to be
	used with assertEquals().

	* include/cppunit/TestAssert.h: changed TestAssert into a
	namespace instead of a class. This remove the need of template
	member methods and does not cause compiler internal error on
	VC++. Macro CPPUNIT_ASSERT_MESSAGE has been added to fail test
	with a specified message.

	* include/cppunit/TestCaller.h: added "Expected exception"
	support.  Based on Tim Jansen patch (#403745), but use a traits
	instead of RTTI to distingh between "No expected exception" and
	"Excepted exception".  Exception type name is reported using RTTI
	if CPPUNIT_USE_TYPEINFO is defined.

	* include/cppunit/extensions/HelperMacros.h: static method suite()
	implemented by CPPUNIT_TEST_SUITE_END macro now returns a
	TestSuite instead of a Test.

	* include/cppunit/extensions/RepeatedTest.h: corrected
	countTestCases, operator = declaration.

	* include/cppunit/extensions/TestDecorator.h: removed const from
	run() method. Did not match run() declaration of Test class.

	* include/cppunit/extensions/TestFactory.h: fixed a comment.

	* include/cppunit/extensions/TestSetup.h: corrected run() method
	declaration. Methods setUp() and tearDown() were not declared
	virtual.

	* include/cppunit/extensions/TestSuiteBuilder.h: added a method
	addTestCaller() which take a pointer on a fixture.

	* include/cppunit/NotEqualException.cpp: addded, exception to be
	used with assertEquals().

	* src/cppunit/RepeatedTest.cpp: added to reduce header dependency
	(TestResult.h was missing).

	* src/cppunit/TestAssert.cpp: added to put non template functions
	there.
	
	* src/cppunit/TestCase.cpp: added std:: prefix to catch
	(exception& e). Integrated a modified version of Tim Jansen patch
	(#403745) for TestCase to make the unit test (TestCaseTest)
	pass. If the setUp() fail then neither the runTest() nor the
	tearDown() method is called.

	* examples/examples.dsw: added cppunittest projects to workspace.

	* examples/cppunittest/TestResultTest.*: renamed
	TestListenerTest.*

	* examples/cppunittest/*: added unit tests for: HelperMacros,
	TestAssert, TestCaller, TestCase, TestFailure, TestResult,
	TestSuite, TestDecoratorTest, TestSetUp, RepeatedTestTest,
	Orthodox, Exception.

2001-06-05 Baptiste Lepilleur <gaiacrtn@free.fr>

	* src/cppunit/TypeInfoHelper.cpp: removed #include <config.h>,
	cppunit/config.h was already included.

	* src/cppunit/cppunit.dsp: removed TestAssert.cpp from project.

	* added/updated .cvsignore files for beter handling of windows
	projects.

	* added include/cppunit/config.h with a default configuration for
	VC++ 6.0.

	* include/cppunit/.cvsignore: removed config.h from the list of
	ignored file.

	* renamed VC++ configurations without RTTI from "Debug No
	CU_USE_TYPEINFO" to "Debug Crossplatform".

	* include/cppunit/TestAssert.h: added include <math.h> for fabs().

2001-06-02  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* src/cppunit/Exception.cpp: Remove unnecessary namespace
	declaration; it confuses Doxygen.

2001-06-02  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* configure.in: Add AC_CXX_STRING_COMPARE_STRING_FIRST.

	* autogen.sh: Add "-I config" to aclocal flags, to pick up 
	the new .m4 files.

	* config/ac_cxx_namespaces.m4: New.  Taken from
	http://cryp.to/autoconf-archive.

	* config/ac_cxx_string_compare_string_first.m4: New.  Detect
	if std::string::compare() takes string argument first.

2001-06-02  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* include/cppunit/TestAssert.h: Declare generic assertion_traits
	class.  Replace notEqualsMessage functions for long and double by
	a generic, template function.  Replace assertEquals for longs by a
	generic template function.  Inline all class methods.  Define new
	assertion macros CPPUNIT_ASSERT, CPPUNIT_ASSERT_EQUAL, and
	CPPUNIT_ASSERT_DOUBLES_EQUAL; the old names are available by
	editing <cppunit/config.h>.

	* src/cppunit/TestAssert.cpp: Removed.  Move code to inline
	functions.

	* config/ac_cxx_rtti.m4: New.  Taken from
	http://cryp.to/autoconf-archive.

	* include/cppunit/config.h.in: New.  Input file for installable,
	generated config.h file.

	* configure.in: Use AC_CXX_RTTI; generate include/cppunit/config.h.

	* include/cppunit/extensions/HelperMacros.h: 
	* include/cppunit/extensions/TestSuiteBuilder.h:
	* include/cppunit/extensions/TypeInfoHelper.h:
	* src/cppunit/TestCase.cpp:
	* src/cppunit/TestFactoryRegistry.cpp:
	* src/cppunit/TypeInfoHelper.cpp:
	Use "#if CPPUNIT_USE_TYPEINFO" rather than "#ifdef".

	* src/cppunit/TypeInfoHelper.cpp: Allow for std::string::compare()
	that takes the string in the first argument.

	* doc/cookbook.html:
	* examples/cppunittest/TestCallerTest.cpp:
	* examples/cppunittest/TestResultTest.cpp:
	* examples/hierarchy/BoardGameTest.h:
	* examples/hierarchy/ChessTest.h:
	* examples/msvc6/HostApp/ExampleTestCase.cpp:
	* include/cppunit/TestCase.h: 
	* include/cppunit/extensions/Orthodox.h:
 	Replace assert by CPPUNIT_ASSERT.
	Replace assertLongsEqual by CPPUNIT_ASSERT_EQUAL.
	Replace assertDoublesEqual by CPPUNIT_ASSERT_DOUBLES_EQUAL.

	* * (CU_TEST_SUITE, CU_TEST, CU_TEST_SUITE_END,
	CU_TEST_SUITE_REGISTRATION): Replace prefix CU_ with CPPUNIT_.
	
	* examples/cppunittest/.cvsignore: Add UNIX generated files.

2001-06-01 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* examples/cppunittest/Makefile.am: added

	* configure.in: added examples/cppunittest/Makefile to AC_OUTPUT.

	* examples/cppunittest/TestCallerTest (suite),
	examples/cppunittest/TestResultTest (suite): fixed 'ISO C++ 
	forbids taking the address of a bound member function to form 
	a pointer to member function' bug reported by g++.

	* examples/cppunittest/TestCallerTest (suite),
	examples/cppunittest/TestResultTest (suite): removed dependency on
	RTTI.
	
2001-06-01 Baptiste Lepilleur <gaiacrtn@free.fr>

	* added project cppunittest to examples/: unit tests to test cppunit.
	The main file is CppUnitTestMain.cpp. Unit tests have been implemented
	for TestCaller and TestListener.

	* added project CppUnitTestApp to examples/msvc6: graphical runner 
	for cppunittest. 

	* added TestListener to TestResult. It is a port of junit 
	TestListener.

	* updated some .cvsignore to ignore files generated with VC++.

2001-05-30 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* src/cppunit/TestCase.cpp (toString): put type_info in std 
	namespace and inside CU_USE_TYPEINFO ifdef.
	
2001-05-29  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* examples/hierarchy/main.cpp: Remove extraneous includes.

	* src/cppunit/TextTestResult.cpp (addError, addFailure): Do not
	emit a newline.

	* include/cppunit/extensions/HelperMacros.h: Rework documentation.
	(CU_TEST_SUITE): Move definition of member function suite() ...
	(CU_TEST_SUITE_END): ... to here.
	(CU_TEST): Use '&' to take address of member function
	"testMethod".

	* include/cppunit/extensions/AutoRegisterSuite.h: Declare "factory"
	as a TestFactory*.

2001-05-28  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* doc/other_documentation.dox: Don't include "CppUnit" in
	anchor text, since Doxygen puts its own anchor around it.

	* doc/Makefile.am (html/index.html): Depend on
	other_documentation.dox.

	* doc/Doxyfile.in (EXCLUDE): Move config.h and estring.h to
	EXCLUDE_PATTERNS; they were not being excluded.

	* ChangeLog: Reformat all entries to start with <TAB>.  See
	<http://www.red-bean.com/cvs2cl/changelogs.html> for change log
	format.

	* doc/cookbook.html: Update all code examples, except for TestRunner
	section.

2001-05-23 Baptiste Lepilleur <gaiacrtn@free.fr>

	* Updated CU_TEST_SUITE macro documentation. It is now stated
	explicitly that you do not need to specify template parameter as
	macro argument.  The documentation example has been updated to
	reflect that.

2001-05-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* autogen.sh: added '--add-missing' option to automake.
	* autogen.sh: added '--force' option to libtoolize and removed 
	  '--copy'.
	* config: removed generated files from CVS.

2001-05-20 Baptiste Lepilleur <gaiacrtn@free.fr>

	* Fixed bug #424320 (VC++ TestRunner): access violation caused by
	NULL pointer in history list. NULL pointer are not added to the
	history anymore.

2001-05-19 Baptiste Lepilleur <gaiacrtn@free.fr>

	* Added some items to the TODO list for VC++ TestRunner.
  
	* "Debug" configuration is now the default configuration in VC++
	project.
  
	* Modified sort order in the test browser of VC++ TestRunner so
	that tests are in the same order as in the suite. Suites are still
	sorted alphabetically.
  
	* Merged Steve M. Robbins patch to replace assertImplementation
	with assert in hierarchy example.
  
	* Added a TextTestRunner to runner tests. It is based on Michael
	Feather's version, but have been rewriten.
  
	* Removed traces that printed the test name in TextTestResult
	while running.
  
	* Added the test name to error and failure report in
	TextTestResult.
  
	* Updated hierarchy example to use TextTestRunner.

2001-05-18 Baptiste Lepilleur <gaiacrtn@free.fr>

	* Symbol CU_USE_TYPEINFO must be defined instead of USE_TYPEINFO
	to compile RTTI.
  
	* Added back default constructor to TestSuiteBuilder which use
	RTTI.  It is available only if CU_USE_TYPEINFO is defined.
  
	* Moved TypeInfoHelper.h from src/cppunit to
	include/cppunit/extensions.
  
	* Macro CU_TEST_SUITE in HelperMacros.h now use TestSuiteBuilder
	default constructor if CU_USE_TYPEINFO is defined, otherwise it
	use the type name given to the CU_TEST_SUITE macro.
  
	* TestFactoryRegistry::registerFactory(factory) now generate a
	dummy name based on a serial number instead of using RTTI. The
	macro CU_TEST_SUITE_REGISTRATION and class AutoRegisterSuite can
	now when CU_USE_TYPEINFO is not defined.
  
	* Added a new Configuration named "Debug Without CU_USE_TYPEINFO"
	to msvc6 projects. The flag CU_USE_TYPEINFO is not defined in that
	configuration.

2001-05-17  Steve M. Robbins  <steve@nyongwa.montreal.qc.ca>

	* Makefile.am (dist-hook): Copy files relative to $(top_srcdir).

	* doc/Makefile.am: Generated doc files depend on Doxyfile.

	* doc/Doxyfile.in: Use autoconf substitutions in file names.

	* examples/hierarchy/Makefile.am (check_PROGRAMS): Build hierarchy
          with "make check", not "make all".

	* examples/hierarchy/Makefile.am (INCLUDES): 

	* src/cppunit/Makefile.am (INCLUDES): Search in 
	  $(top_srcdir)/include.

	* Added .cvsignore files.

2001-05-16 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* Merged Debian packaging support files by Christian Leutloff from
	debian package version 1.5.4-2.  Added make target 'debian' for
	debian package creation.
	
2001-05-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* Release as 1.5.5.

	* Finished CppUnitW 1.2 merge.  Removed RTTI depency from
	TestSuite.  Added TestCaller constructor for calling methods in
	existing TestCases.
	
2001-04-29 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* Merged Baptiste Lepilleurs CppUnitW 1.2. Some differences:
	TypeInfo stuff (in TestSuite) compiled in only if USE_TYPEINFO is
	set.  TestSuite.getTests now returns a const ref instead of taking
	a ref as parameter.  Removed auto_ptr stuff from
	TestFactoryRegistry: auto_ptr cannot be used in containers.
	
2001-04-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* Merged MSVC++ specific TestRunner and example adapted from
	Micheal Feathers version by Baptiste Lepilleur.

	* Moved cppunit subdir into src.
	
2001-04-24 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* Merged Baptiste Lepilleurs patch for TestRegistry: now TestCases
	do not automatically register with the Registry anymore.

	* Added extension headers from Micheal Feathers port to
	include/cppunit/extensions.
	
2001-04-19 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* Added MSVC++ workspace and project files, submitted by Baptiste
	Lepilleur.
	
2001-04-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* Moved public headers from cppunit into new subdir
	include/cppunit.  This should make more clear which headers are
	used internally only (like estring.h).
	
	* Moved autoconf auxiliary stuff into new subdir config, to make
	the top dir less crowded.

	* Prefixed std:: to cerr, cout and endl.
	
2001-04-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>

	* Release as 1.5.4
	
	* Added support for RPM generation.
	
	* Added autoconf support for Doxygen document generation: Doxygen
	and GraphViz dot are automatically detected and LaTeX and HTML can
	be switch on or off.
	
	* cppunit/TextTestResult.cpp: changed cout to stream.  Fixes bug
	#232636

	* cppunit/TextTestReulst.cpp: add '#include <iostream>'.  Fixes
	bug #223290
	
	* cppunit/*.cpp: removed bogus 'inline' specifiers.  Fixes bug
	#224542 and #223291.

	* doc/header.html: corrected link to CppUnit project page Fixes
	bug #414073

	* cppunit/*.cpp, examples/hierarchy/main.cpp: removed all 'using
	namespace ...' occurences.
	
2001-01-31 Tim Jansen <timj@systembureau.com>

	* cppunit/TestCase.cpp, cppunit/TestCase.h, cppunit/TestSuite.h,
	cppunit/TestSuite.cpp: applied patch #402271 by bwithrow.  Fixes
	bug #220207

	* cppunit/TestSuite.cpp (deleteContents): clear vector after
	contents have been deleted (so there are no invalid pointers in
	the vector) Patch #403540 / #403542
	
	* cppunit/TestCaller.h: create Fixture with empty constructor so
	that only the TestCaller but not the Fixture instance is
	registered in the TestRegistry Patch #403541 / #403542

	* examples/hierarchy/BoardGameTest.h,
	examples/hierarchy/ChessTest.h, examples/hierarchy/main.cpp:
	initialize example TestCases with TestSuite so that the
	TestCallers are registered in the TestRegistry Patch
	#403542. Fixes bug #415249
 
	* cppunit/TestCaller.h, cppunit/TestCase.cpp, cppunit/TestCase.h:
	changed documentation; made hopefully clearer which constructor
	registers the instance in the TestRegistry; corrected syntax in
	code example Patch #403542.
MongoDB Logo MongoDB