Class FindTestElementsUpToRootTraverser

  • All Implemented Interfaces:
    org.apache.jorphan.collections.HashTreeTraverser

    
    public class FindTestElementsUpToRootTraverser
     implements HashTreeTraverser
                        

    HashTreeTraverser implementation that stores in a Stack all the Test Elements on the path to a particular node.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void addNode(Object node, HashTree subTree)
      void subtractNode()
      void processPath()
      List<Controller> getControllersToRoot() Returns all controllers that where in Tree down to nodeToFind in reverse order (from leaf to root)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FindTestElementsUpToRootTraverser

        FindTestElementsUpToRootTraverser(Object nodeToFind)
        Parameters:
        nodeToFind - Node to find