incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <>
Subject Re: svn commit: r418319 - /incubator/stdcxx/trunk/tests/strings/
Date Sat, 01 Jul 2006 01:11:49 GMT wrote:
> Author: antonp
> Date: Fri Jun 30 09:22:31 2006
> New Revision: 418319
> URL:
> Log:
> 2006-06-30  Anton Pevtsov  <>
> 	* New test exercising
> Added:
>     incubator/stdcxx/trunk/tests/strings/   (with props)

I've been studying the test and made a few very minor tweaks to
the test here:

I believe the test needs to be enhanced to exercise exceptions
thrown from the streambuf virtual functions. We should probably
do this in a loop analogously to the other string tests that
induce a bad_alloc or some similar kind of exception during
the operation. One tricky thing with this approach, I suspect,
might be getting right the expected contents of the string
argument for the extractors. If it turns out to be too hard
to do an alternative approach would be to specify for each test
case at which point an exception should be thrown and hardcode
the result.


View raw message