[Clam-devel] Re: Segmentation component to Pool

David García Garzón dgarcia at iua.upf.edu
Wed Jun 18 02:53:34 PDT 2008


On Wednesday 18 June 2008 03:23:21 JunJun wrote:
> > On Dimarts 17 Juny 2008, JunJun wrote:
> > > Below is the statuses of each step in this patch.
> > > storing array tests:  status- GREEN
> > > loading maxpos:  status- GREEN
> > > loading without maxpos:  status- GREEN
> > > loading arrays: status- RED
> > >
> > > I've no idea whether the implementation of an array
> > > "XmlStorage::Restore(segmentations, stream);" is right or not, any
> > > idea?
> > >
> > > Bests,
> > > June
> >
> > If the segmentations in the xml are not equal why do you expect equal
> > segmentations on the assert sentences?
>
>  To make sure that it will be RED.


Ah, ok, that's perfect, a RED is a required step but it should last for 
short. ;-) But if the current implementation is also RED no need to fake the 
test. Anyway i think that the implementation should work.

The problem is not on the implementation but again in the test. Add an assert 
on the array size and you will get a hint on what's happening.

David.




More information about the clam-devel mailing list