[EMAIL PROTECTED] 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  <[EMAIL PROTECTED]>

        * 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

Reply via email to