Package org.emftrace.emffit.ui.commands.strategies

Examples of org.emftrace.emffit.ui.commands.strategies.UpdateStrategyDescriptionCommand


    Term term = EMFfitModelFactory.eINSTANCE.createTerm();
    term.setVisibleContent(newDescriptionContent);
    newDescription.getContent().add(term);
   
    //run command
    new UpdateStrategyDescriptionCommand(strategy, newDescription).runWithoutUnicaseCommand();
   
    //check
    assertEquals(1, strategy.getDescription().getContent().size());
    assertEquals(newDescriptionContent, ((Term)strategy.getDescription().getContent().get(0)).getVisibleContent());
  }
View Full Code Here


    Term term = EMFfitModelFactory.eINSTANCE.createTerm();
    term.setVisibleContent(newDescriptionContent);
    newDescription.getContent().add(term);
   
    //run command
    new UpdateStrategyDescriptionCommand(strategy, newDescription).runWithoutUnicaseCommand();
   
    //check
    assertEquals(1, strategy.getDescription().getContent().size());
    assertEquals(newDescriptionContent, ((Term)strategy.getDescription().getContent().get(0)).getVisibleContent());
  }
View Full Code Here

TOP

Related Classes of org.emftrace.emffit.ui.commands.strategies.UpdateStrategyDescriptionCommand

Copyright © 2018 www.massapicom. 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.