You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Anton Pevtsov <an...@moscow.vdiweb.com> on 2006/03/24 17:12:29 UTC

Re: svn commit: r387195 - /incubator/stdcxx/trunk/tests/strings/21.string.erase.cpp

The updated test version which uses generic strings (/*.*Gs} format is
attached.
Also I replaced integer "which" parameter with the enum EraseTags like
it was done in the replace test.

Here is the change log:

2006-03-24  Anton Pevtsov  <an...@moscow.vdiweb.com>

    * 21.string.erase.cpp (EraseTags): New enum determining which
    erase version to test.
    (test_erase): Changed "which" parameter type to use new enum,
    changed strings output in rw_assert calls to use generic
    strings.
    (note_test_disabled): Changed "which" parameter type to
    EraseTags enum.
    (run_test): Updated to use new enum EraseTags instead of
    integer.

With best wishes,
Anton Pevtsov


-----Original Message-----
From: antonp@apache.org [mailto:antonp@apache.org]
Sent: Monday, March 20, 2006 15:19
To: stdcxx-commits@incubator.apache.org
Subject: svn commit: r387195 -
/incubator/stdcxx/trunk/tests/strings/21.string.erase.cpp


Author: antonp
Date: Mon Mar 20 04:18:50 2006
New Revision: 387195

URL: http://svn.apache.org/viewcvs?rev=387195&view=rev
Log:
2006-03-20  Anton Pevtsov  <an...@moscow.vdiweb.com>

    * 21.string.erase.cpp (main): Fixed bug with missed '#' sign.

Modified:
    incubator/stdcxx/trunk/tests/strings/21.string.erase.cpp

Modified: incubator/stdcxx/trunk/tests/strings/21.string.erase.cpp
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/strings/21.st
ring.erase.cpp?rev=387195&r1=387194&r2=387195&view=diff
========================================================================
======
--- incubator/stdcxx/trunk/tests/strings/21.string.erase.cpp (original)
+++ incubator/stdcxx/trunk/tests/strings/21.string.erase.cpp Mon Mar 20
+++ 04:18:50 2006
@@ -1,6 +1,6 @@
 
/***********************************************************************
****
  *
- * erase.cpp - string test exercising [lib.string::erase]
+ * 21.string.erase.cpp - string test exercising [lib.string::erase]
  *
  * $Id$
  *
@@ -554,7 +554,7 @@
                     "|-no-erase-pos# "
                     "|-no-erase-count# "
                     "|-no-erase-iterator# "
-                    "|-no-erase-range",
+                    "|-no-erase-range#",
                     &rw_opt_no_char_traits,
                     &rw_opt_no_user_traits,
                     &rw_opt_no_user_chars,

Re: svn commit: r387195 - /incubator/stdcxx/trunk/tests/strings/21.string.erase.cpp

Posted by Martin Sebor <se...@roguewave.com>.
Anton Pevtsov wrote:

> The updated test version which uses generic strings (/*.*Gs} format is
> attached.
> Also I replaced integer "which" parameter with the enum EraseTags like
> it was done in the replace test.

Great! Okay to commit.

Thanks
Martin