Package ch.inftec.ju.util.general.DescriptorUtils

Examples of ch.inftec.ju.util.general.DescriptorUtils.AbstractDescriptionEvaluator.updateDescription()


    Assert.assertEquals("2", d.getDescription());
   
    // Make sure evaluate is only called after call to updateDescription
    evaluatorDescription = "3";
    Assert.assertEquals("2", d.getDescription());
    descriptionEvaluator.updateDescription();
    Assert.assertEquals("3", d.getDescription());
   
    // Check event
    TestUpdateListener<Descriptor> testListener = JuEventUtils.newTestUpdateListener();
    d.getUpdateNotifier().addListener(testListener);
View Full Code Here


   
    // Check event
    TestUpdateListener<Descriptor> testListener = JuEventUtils.newTestUpdateListener();
    d.getUpdateNotifier().addListener(testListener);
    evaluatorDescription = "4";
    descriptionEvaluator.updateDescription();
    Assert.assertEquals("4", d.getDescription());
    testListener.assertOneCall();
 
 
//  @Test
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.