[interfacekit] Re: A patch for BString

Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> On 2003-11-06 at 11:09:30 [+0100], Oliver Tappe wrote:
> > I have finally found the time to finish the patch (which is rather 
> > large,
> > I'm afraid...).
> > ...
> > - Several tests have been added.
> Very nice!

Indeed, and thanks a lot!

> >     CPPUNIT_ASSERT_DEBUGGER( s.Insert( "dummy", 20));
> > Does this kind of stuff already exist in cppunit? Is it feasible at 
> > all?
> AFAIK, it is not implemented and at the time I hit this problem 
> myself (a 
> year or so ago) I thought it wasn't possible to solve... Now I know 
> better. 
> :-)
> ...
> If noone objects, I can try and extend our unit test framework to 
> support 
> testing for debugger calls.

That would be great! How does it work, btw? :-)

> > In general, it seems obvious that BString needs some more work at a 
> > later
> > stage. IMHO the idea of accepting negative offsets/values does make 
> > sense
> > and there is a need for throwing exceptions (at least bad_alloc) 
> > but I
> > believe this is all work that should go into R2.
> Yep, let's postpone this. There are more important things to be done 
> at the 
> moment, like getting a working system in the first place. :-)

Wouldn't be that bad, right.

Bye,
   Axel.


Other related posts: