Package net.sf.jmd.metarepresentation

Examples of net.sf.jmd.metarepresentation.IParameter


      List<IDifference> results = membersModified.check(differences);
        assertNotNull("The results must not be null", results);
        assertTrue(results.isEmpty());
       
        //now we modify a bit and run the check again.
        IParameter parameter = new Parameter();
        parameter.setName("newSize");
        ((IOperation)dmMember).addParameter(parameter);
        results = membersModified.check(differences);
        int size = results.size();
        assertTrue("Now there must be a difference <" + size + ">", size == 1);
    }
View Full Code Here


      List<IDifference> results = membersModified.check(differences);
        assertNotNull("The results must not be null", results);
        assertTrue(results.isEmpty());
       
        //now we modify a bit and run the check again.
        IParameter parameter = new Parameter();
        parameter.setName("newSize");
        ((IOperation)dmMember).addParameter(parameter);
        results = membersModified.check(differences);
        int size = results.size();
        assertTrue("Now there must be a difference <" + size + ">", size == 1);
    }
View Full Code Here

TOP

Related Classes of net.sf.jmd.metarepresentation.IParameter

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.