Package org.emftrace.emffit.ui.commands.ftentries

Examples of org.emftrace.emffit.ui.commands.ftentries.SetFTEntryNumberingCommand


public class SetFTEntryNumberingCommandTest extends EMFfitTestCase {

  @Test
  public void testDoRunForCategory() {
    FactorCategory fc1st  = (FactorCategory) factorTable.getEntries().get(0);
    new SetFTEntryNumberingCommand(fc1st,"X1.2.3").runWithoutUnicaseCommand();
    assertEquals("X1.2.3", fc1st.getNumbering());

  }
View Full Code Here


  public void testDoRunForFactor() {
    FactorCategory fc1st  = (FactorCategory) factorTable.getEntries().get(0);
    Factor factor1st = (Factor) fc1st.getChildren().get(1);

   
    new SetFTEntryNumberingCommand(factor1st,"X1.2.3").runWithoutUnicaseCommand();
    assertEquals("X1.2.3", factor1st.getNumbering());

  }
View Full Code Here

TOP

Related Classes of org.emftrace.emffit.ui.commands.ftentries.SetFTEntryNumberingCommand

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.