de.uka.ipd.sdq.pcmsolver.tests
Class MarkovTestHelper

java.lang.Object
  extended by de.uka.ipd.sdq.pcmsolver.tests.MarkovTestHelper

public class MarkovTestHelper
extends Object

This class provides additional functionality for the Markov Test Cases. To use this functionality, the Test Case has to be run as a JUnit Plug-in Test (not only a JUnit Test).

Author:
brosch

Constructor Summary
MarkovTestHelper()
           
 
Method Summary
 Identifier getModelElement(Identifier root, String guid)
          Searches a tree of PCM model elements for an element with a certain GUID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkovTestHelper

public MarkovTestHelper()
Method Detail

getModelElement

public Identifier getModelElement(Identifier root,
                                  String guid)
Searches a tree of PCM model elements for an element with a certain GUID. Returns a reference to this element.

Parameters:
root - the root element of the tree to search
guid - the guid of the element to find
Returns:
the reference to the element