← Back to team overview

gtg-contributors team mailing list archive

Re: Need a test : Parent modified signal

 

On Fri, Aug 06, 2010 at 10:03:49AM +0200, Lionel Dricot wrote:
> Hi Luca,
> 
> I currently need a test for liblarch that check that, when a node is
> added/deleted, the parent of that node receive a modified signal.
> 
> Such a check should fail in the current liblarch_rebased branch.

I've added those tests, but they pass.
The "modified" signal is emitted with the parent id. I cannot check why or when
that is emitted, since signals are asynchronous. It could be emitted before the
expected timing, for another cause. I'm afraid that is not easily testable.

> 
> I will implement that as soon as the test is implemented (Look ma, I'm
> doing extreme programming !)

Awesome. Ma will be pleased :D

Luca

Attachment: signature.asc
Description: Digital signature


References