Package net.sf.parteg.base.testcasegraph.testsuite

Examples of net.sf.parteg.base.testcasegraph.testsuite.EventParameterInstance


              // referenced parameter
              if(oReferencedTCGParameter != null)
              {
                // try to find matching eventparameterinstances and reuse them
                // TODO: check: klappt das immer?
                EventParameterInstance oEPInstance =
                  oTransitionInstance.getInstanceForTCGParameter(oReferencedTCGParameter);
               
                // if not found: create a new one
                if(oEPInstance == null) {
                  oEPInstance = new EventParameterInstance(oReferencedTCGParameter, oTransitionInstance);
                  oTransitionInstance.getParameterInstances().add(oEPInstance);
                }
               
                // remove the atom from the list of searched elements
                colRemovedElements.add(oAtom);
View Full Code Here


    // select one of the remaining parameter instances
    // just select the first one -> does not work always -> algorithm for value selection is not mature
    // -> y>z && y+z>x if only x is known -> ??? may lead to wrong results
    // first work-around: try any sequence of parameters until values are found
    for(int i = 0; i < in_colEPIs.size(); ++i) {
      EventParameterInstance oEPI = in_colEPIs.get(i);
      in_colEPIs.remove(oEPI);
     
      // build up map from atoms to concrete test values
      Map<TCGOCLAtom, TestCaseValidValue> colAtomValues =
        new LinkedHashMap<TCGOCLAtom, TestCaseValidValue>();
View Full Code Here

TOP

Related Classes of net.sf.parteg.base.testcasegraph.testsuite.EventParameterInstance

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.