net.sf.sasl.language.placeholder.syntax
Class SimplePrefixTreeWalkerTest

java.lang.Object
  extended by net.sf.sasl.language.placeholder.syntax.SimplePrefixTreeWalkerTest

public class SimplePrefixTreeWalkerTest
extends Object

Test cases for the SimplePrefixTreeWalker class.

Author:
Philipp Förmer

Constructor Summary
SimplePrefixTreeWalkerTest()
           
 
Method Summary
 void testNullRootNode()
          Tests if no nodes will be returned if a null node is passed to the tree walker.
 void testTreeWalkWithNodeFilter()
          Tests if nodes selected by the node filter will be returned from the tree in correct order if a node filter is applied.
 void testTreeWalkWithoutNodeFilter()
          Tests if all nodes will be returned from the tree in correct order if no node filter is applied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePrefixTreeWalkerTest

public SimplePrefixTreeWalkerTest()
Method Detail

testNullRootNode

public void testNullRootNode()
                      throws Exception
Tests if no nodes will be returned if a null node is passed to the tree walker.

Throws:
Exception

testTreeWalkWithoutNodeFilter

public void testTreeWalkWithoutNodeFilter()
                                   throws Exception
Tests if all nodes will be returned from the tree in correct order if no node filter is applied.

Throws:
Exception

testTreeWalkWithNodeFilter

public void testTreeWalkWithNodeFilter()
                                throws Exception
Tests if nodes selected by the node filter will be returned from the tree in correct order if a node filter is applied.

Throws:
Exception


Copyright © 2010. All Rights Reserved.