1 Reply Latest reply on Dec 22, 2010 5:09 PM by UbuntuPenguin

    Unit testing advice for FlexEvent.UPDATE_COMPLETE

    nikos101 Level 2

           I'm testing a label (total1)whose text is bound to various properties of other UI stuff.


      Should I do this

                  Async.proceedOnEvent( this, view.total1, FlexEvent.UPDATE_COMPLETE, 400 );
                  Assert.assertEquals(view.total1.text,'TOTAL 140');

      I'm worried that UPDATE_COMPLETE may be called multiple times.