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

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

public class DecimalNodeTest
extends Object

Test cases for the DecimalNode class.

Author:
Philipp Förmer

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

Constructor Detail

DecimalNodeTest

public DecimalNodeTest()
Method Detail

testValueConstructor

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

Throws:
Exception

testValueConstructorThrowsExceptionOnInvalidInput

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

Throws:
Exception

testValueParentNodeConstructor

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

Throws:
Exception


Copyright © 2010. All Rights Reserved.