Examples of NewFTICPackageDefaultFactorTablesCommand


Examples of org.emftrace.emffit.ui.commands.fticpackages.NewFTICPackageDefaultFactorTablesCommand

  public void testDoRun() {
   
    //clear all tables
    fTICPackage.getTables().clear();
    //run the command
    new NewFTICPackageDefaultFactorTablesCommand(fTICPackage, false, false).runWithoutUnicaseCommand();
 
    assertEquals(3 , fTICPackage.getTables().size()); // the 3 created factor tables
    assertEquals(33 , project.getAllModelElements().size()); // only the 3 created factor tables
     
    //check type of created factor tables
View Full Code Here

Examples of org.emftrace.emffit.ui.commands.fticpackages.NewFTICPackageDefaultFactorTablesCommand

    task.setName("foo task");
    task.setType(IntentionalElementType.TASK);
    project.addModelElement(task);
   
    //run the command
    new NewFTICPackageDefaultFactorTablesCommand(fTICPackage, true, false, configFilePath).runWithoutUnicaseCommand();
 
    assertEquals(3 , fTICPackage.getTables().size()); // the 3 created factor tables + 3 urn models
    assertEquals(46 , project.getAllModelElements().size()); // only the 3 created factor tables + 3 urn models + 2 factors
     
    //check type of created factor tables
View Full Code Here

Examples of org.emftrace.emffit.ui.commands.fticpackages.NewFTICPackageDefaultFactorTablesCommand

  @Test
  public void testDoRunForGetDefaultEntries() {
    //clear all
    fTICPackage.getTables().clear();
    //run the command
    new NewFTICPackageDefaultFactorTablesCommand(fTICPackage, false, true, configFilePath).runWithoutUnicaseCommand();
 
    assertEquals(3 , fTICPackage.getTables().size()); // the 3 created factor tables
    assertEquals(50 , project.getAllModelElements().size()); // only the 3 created factor tables
     
    //check type of created factor tables
View Full Code Here

Examples of org.emftrace.emffit.ui.commands.fticpackages.NewFTICPackageDefaultFactorTablesCommand

    task.setType(IntentionalElementType.TASK);
    project.addModelElement(task);

   
    //run the command
    new NewFTICPackageDefaultFactorTablesCommand(fTICPackage, true, true, configFilePath).runWithoutUnicaseCommand();
 
    assertEquals(3 , fTICPackage.getTables().size()); // the 3 created factor tables + 1 goal + 1 task
    assertEquals(57 , project.getAllModelElements().size());
     
    //check type of created factor tables
View Full Code Here

Examples of org.emftrace.emffit.ui.commands.fticpackages.NewFTICPackageDefaultFactorTablesCommand

      break;

    default:
      break;
    }
    new NewFTICPackageDefaultFactorTablesCommand(fTICPackage, withGoals, withDefaultEntries ).runAsJob();
    return true;
  }
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.