incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r397022 - in /incubator/stdcxx/trunk/tests: include/21.strings.h src/21.strings.cpp strings/21.string.append.cpp strings/21.string.assign.cpp strings/21.string.insert.cpp strings/21.string.op.plus.equal.cpp strings/21.string.replace.cpp
Date Wed, 26 Apr 2006 00:36:53 GMT
sebor@apache.org wrote:
> Author: sebor
> Date: Tue Apr 25 16:44:57 2006
> New Revision: 397022

Anton, I hope this to be the last big change to the strings part
of the driver and the tests. It does away with the command line
options in each individual test and instead lets the driver take
care of specifying common command line options and examining their
setting.

Martin

> 
> URL: http://svn.apache.org/viewcvs?rev=397022&view=rev
> Log:
> 2006-04-25  Martin Sebor  <sebor@roguewave.com>
> 
> 	* 21.strings.h (run_test): Added function arguments.
> 	(opt_memfun_disabled, opt_no_user_char, opt_no_char_traits,
> 	opt_no_user_traits, opt_no_exceptions, opt_no_exception_safety,
> 	setvars): Removed.
> 	* 21.strings.cpp (_rw_char_names, _rw_traits_names, _rw_alloc_names,
> 	_rw_memfun_names): Moved from run_test to file scope to make them
> 	accessible from other functions.
> 	(_rw_ilog2): New helper to compute an integral base-2 logarithm.
> 	(_rw_setvars): Renamed from setvars and gave it internal linkage.
> 	(_rw_run_test): New helper. Handled command line options common
> 	to all tests.
> 	(run_test): Invoked _rw_run_test via a call to rw_test after
> 	setting and processing command line options common to all tests.
> 	* 21.string.append.cpp (run_test): Moved body into main and removed.
> 	(main): Called StringMembers::run_test.
> 	* 21.string.assign.cpp: Same.
> 	* 21.string.op.plus.equal.cpp: Same.
> 	* 21.string.replace.cpp: Same.
> 	* 21.string.insert.cpp: Same.

Mime
View raw message