incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Pevtsov" <Ant...@moscow.vdiweb.com>
Subject RE: string exception safety tests
Date Wed, 03 May 2006 16:02:00 GMT
I am not that I understand your completely. Do you mean that the
exception safety should be verified for each test case (say first pass
with exception and second with expected result) instead of the
verification on the special cases only (current state)?
If yes, I expect that the execution time of each test doubled.

With best wishes,
Anton Pevtsov


-----Original Message-----
From: Martin Sebor [mailto:sebor@roguewave.com] 
Sent: Wednesday, May 03, 2006 05:26
To: stdcxx-dev@incubator.apache.org
Subject: string exception safety tests


Currently there is just one exception safety per member function. But
since the exception safety test loops until no exception is thrown and
the operation succeeds, returning the expected result, is there any
reason not to exercise exception safety in each test case
unconditionally?

Martin

Mime
View raw message