Package net.sf.jmd.metarepresentation.impl

Examples of net.sf.jmd.metarepresentation.impl.Variable


     * Test method for {@link de.dlr.sistec.modi.checks.impl
     * .MembersModified#check(java.util.List)}.
     */
    public void testCheckVariableModified() {
      //A Variable adds the Value to the member
      amMember = new Variable();
      dmMember = new Variable();
     
      amModelItem.addMember(amMember);
      dmModelItem.addMember(dmMember);
      List<IDifference> results = membersModified.check(differences);
        assertNotNull("The results must not be null", results);
View Full Code Here


    /**
     * @see junit.framework.TestCase#setUp()
     */
    protected void setUp() throws Exception {
        super.setUp();
        variable = new Variable();
        variable.setName("myVar");
        variable.setNamespace(NAMESPACE);
    }
View Full Code Here

        parameter.setName("aParameter");
        parameter.setNamespace(operation.getIdentifier());
       
        operation.addParameter(parameter);
       
        Variable variable = new Variable();
        variable.setName("aVariable");
        variable.setNamespace(item.getIdentifier());

        item.addMember(operation);
        item.addMember(variable);
       
        //these two models are equal
View Full Code Here

    public void setUp() {
        operation = new Operation();
        operation.setName("execute");
        operation.setNamespace(NAMESPACE);
       
        variable = new Variable();
        variable.setName("aMember");
        variable.setNamespace(NAMESPACE);
    }
View Full Code Here

        parameter.setName("aParameter");
        parameter.setNamespace(operation.getIdentifier());
       
        operation.addParameter(parameter);
       
        Variable variable = new Variable();
        variable.setName("aVariable");
        variable.setNamespace(item.getIdentifier());

        item.addMember(operation);
        item.addMember(variable);
       
        //these two models are equal
View Full Code Here

    public void setUp() {
        operation = new Operation();
        operation.setName("execute");
        operation.setNamespace(NAMESPACE);
       
        variable = new Variable();
        variable.setName("aMember");
        variable.setNamespace(NAMESPACE);
    }
View Full Code Here

    /**
     * @see junit.framework.TestCase#setUp()
     */
    protected void setUp() throws Exception {
        super.setUp();
        variable = new Variable();
        variable.setName("myVar");
        variable.setNamespace(NAMESPACE);
    }
View Full Code Here

     * Test method for {@link de.dlr.sistec.modi.checks.impl
     * .MembersModified#check(java.util.List)}.
     */
    public void testCheckVariableModified() {
      //A Variable adds the Value to the member
      amMember = new Variable();
      dmMember = new Variable();
     
      amModelItem.addMember(amMember);
      dmModelItem.addMember(dmMember);
      List<IDifference> results = membersModified.check(differences);
        assertNotNull("The results must not be null", results);
View Full Code Here

        }

    }

    private void doVariableLevelActions(AST node) {
        memberVariable = new Variable();
        for (AST tmp = node.getFirstChild(); tmp != null; tmp = tmp
                .getNextSibling()) {

            int type = tmp.getType();
            switch (type) {
View Full Code Here

        }

    }

    private void doVariableLevelActions(AST node) {
        memberVariable = new Variable();
        for (AST tmp = node.getFirstChild(); tmp != null; tmp = tmp
                .getNextSibling()) {

            int type = tmp.getType();
            switch (type) {
View Full Code Here

TOP

Related Classes of net.sf.jmd.metarepresentation.impl.Variable

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.