Package org.emftrace.metamodel.URNModel

Examples of org.emftrace.metamodel.URNModel.Concern


    }
   
    @Test
    public void testProcessCreateLinkResult()
    {
        Concern c1 = URNModelFactory.eINSTANCE.createConcern();
        Concern c2 = URNModelFactory.eINSTANCE.createConcern();
        accessLayer.addElement(project, c1);
        accessLayer.addElement(project, c2);
       
        List<List<EObject>> result = new ArrayList<List<EObject>>();
        result.add(new ArrayList<EObject>());
View Full Code Here


    }
   
    @Test
    public void testProcessReportImpactResult()
    {
        Concern c1 = URNModelFactory.eINSTANCE.createConcern();
        Concern c2 = URNModelFactory.eINSTANCE.createConcern();
        accessLayer.addElement(project, c1);
        accessLayer.addElement(project, c2);
       
        AtomicChangeType type = ChangeModelFactory.eINSTANCE.createAtomicChangeType();
        accessLayer.addElement(project, type);
View Full Code Here

    }
   
    @Test
    public void testRun()
    {              
        Concern c1 = URNModelFactory.eINSTANCE.createConcern();
        Concern c2 = URNModelFactory.eINSTANCE.createConcern();
        accessLayer.addElement(project, c1);
        accessLayer.addElement(project, c2);
       
        List<List<EObject>> result = new ArrayList<List<EObject>>();
        result.add(new ArrayList<EObject>());
View Full Code Here

    }

    @Test
    public void testApplyRule()
    {
        Concern c1 = URNModelFactory.eINSTANCE.createConcern();
        Actor   c2 = URNModelFactory.eINSTANCE.createActor();
        accessLayer.addElement(project, c1);
        accessLayer.addElement(project, c2);
       
        c1.setId("test_user");
        c2.setId("test_user");
               
        Rule rule = RuleModelFactory.eINSTANCE.createRule();
        accessLayer.addElement(project, rule);
       
View Full Code Here

    }
   
    @Test
    public void testApplyNotRule()
    {
        Concern c1 = URNModelFactory.eINSTANCE.createConcern(); // e1
        Concern c2 = URNModelFactory.eINSTANCE.createConcern(); // e2
        accessLayer.addElement(project, c1);
        accessLayer.addElement(project, c2);
       
        c1.setName("42");
        c2.setName("42");
       
        Rule rule = RuleModelFactory.eINSTANCE.createRule();
        accessLayer.addElement(project, rule);
       
        LogicCondition lc1 = RuleModelFactory.eINSTANCE.createLogicCondition();
View Full Code Here

        e2.setAlias("e2");
        rule.getElements().add(e1);
        rule.getElements().add(e2);
        TraceLink link = LinkModelFactory.eINSTANCE.createTraceLink();
        accessLayer.addElement(project, link);
        Concern concern = URNModelFactory.eINSTANCE.createConcern();
        accessLayer.addElement(project, concern);
       
        List<List<EObject>> results = new ArrayList<List<EObject>>();
        results.clear();
       
View Full Code Here

        e2.setAlias("e2");
        rule.getElements().add(e1);
        rule.getElements().add(e2);
        TraceLink link = LinkModelFactory.eINSTANCE.createTraceLink();
        accessLayer.addElement(project, link);
        Concern concern = URNModelFactory.eINSTANCE.createConcern();
        accessLayer.addElement(project, concern);
       
        List<List<EObject>> list = new ArrayList<List<EObject>>();
        list.clear();
       
View Full Code Here

    }
   
    @Test
    public void testCloneTuple()
    {
      Concern c1 = URNModelFactory.eINSTANCE.createConcern();
      Concern c2 = URNModelFactory.eINSTANCE.createConcern();
      Concern c3 = URNModelFactory.eINSTANCE.createConcern();
      Concern c4 = URNModelFactory.eINSTANCE.createConcern();
     
      EObject[] tuple = new EObject[4];
      tuple[0] = c1;
      tuple[1] = c2;
      tuple[2] = c3;
View Full Code Here

       * A1----A2----A3
       *        \__A4
       *
       */
     
      Concern a1 = URNModelFactory.eINSTANCE.createConcern();
      Concern a2 = URNModelFactory.eINSTANCE.createConcern();
      Concern a3 = URNModelFactory.eINSTANCE.createConcern();
      Concern a4 = URNModelFactory.eINSTANCE.createConcern();
     
      accessLayer.addElement(project, a1);
      accessLayer.addElement(project, a2);
      accessLayer.addElement(project, a3);
      accessLayer.addElement(project, a4);
View Full Code Here

    }

    @Test
    public void testAddElement() throws EmfStoreException
    {       
        Concern test = URNModelFactory.eINSTANCE.createConcern();
       
        assertEquals("Result", 0, project.getModelElements().size());
        accessLayer.addElement(project, test);
        assertEquals("Result", 1, project.getModelElements().size());
       
View Full Code Here

TOP

Related Classes of org.emftrace.metamodel.URNModel.Concern

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.