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: r399914 - in /incubator/stdcxx/trunk/tests/strings: 21.string.append.cpp 21.string.assign.cpp 21.string.insert.cpp 21.string.op.plus.equal.cpp 21.string.replace.cpp
Date Fri, 05 May 2006 02:00:37 GMT
sebor@apache.org wrote:
> Author: sebor
> Date: Thu May  4 18:49:19 2006
> New Revision: 399914
> 
> URL: http://svn.apache.org/viewcvs?rev=399914&view=rev
> Log:
> 2006-05-04  Martin Sebor  <sebor@roguewave.com>
> 
> 	* 21.string.append.cpp (test_append): Simplified the handling
> 	of the _RWSTD_NO_REPLACEABLE_NEW_DELETE config macro.
> 	* 21.string.assign.cpp (test_assign): Same.
> 	* 21.string.insert.cpp (test_insert): Same.
> 	* 21.string.plus_equal.cpp (test_op_plus_eq): Same.
> 	* 21.string.replace.cpp (test_replace): Same.

Anton, this simplifies the exception safety setup. Another change
(http://svn.apache.org/viewcvs?rev=399884&view=rev) simplifies the
detection and reporting of exception safety violations. Please take
a look at it and let me know if it makes sense. Assuming you don't
find any major issues with it I'd like us to start using this in
all new tests. Going forward, I would also like to simplify as
much as possible the setup and handling of other types of
exceptions (e.g., length_error). Finally, as the last step, we
need to exercise string with a user-defined allocator (which will
allow us to throw more exceptions). I'll try to cook one up over
the weekend or sometime next week.

Btw., I noticed that the 21.string.copy.cpp hasn't been converted
to the new simplified format yet. This is just a reminder that we
should remember to do so before we move on to other (non-string)
tests.

Martin

Mime
View raw message