net.sf.sasl.language.placeholder.syntax.types
Class IntegerNodeTest

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

public class IntegerNodeTest
extends Object

Test cases for the IntegerNode class.

Author:
Philipp Förmer

Constructor Summary
IntegerNodeTest()
           
 
Method Summary
 void testValueConstructor()
          Test case for the IntegerNode(String) constructor.
 void testValueConstructorThrowsExceptionOnInvalidInput()
          Test if an illegal argument exception will be thrown by the IntegerNode(String) constructor if the input value is invalid.
 void testValueParentNodeConstructor()
          Test case for the IntegerNode(String, ASTNode) constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerNodeTest

public IntegerNodeTest()
Method Detail

testValueConstructor

public void testValueConstructor()
                          throws Exception
Test case for the IntegerNode(String) constructor.

Throws:
Exception

testValueConstructorThrowsExceptionOnInvalidInput

public void testValueConstructorThrowsExceptionOnInvalidInput()
                                                       throws Exception
Test if an illegal argument exception will be thrown by the IntegerNode(String) constructor if the input value is invalid.

Throws:
Exception

testValueParentNodeConstructor

public void testValueParentNodeConstructor()
                                    throws Exception
Test case for the IntegerNode(String, ASTNode) constructor.

Throws:
Exception


Copyright © 2010. All Rights Reserved.