org.kuali.rice.krad.datadictionary.validation.constraint
Class FloatingPointPatternConstraintTest

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.constraint.FloatingPointPatternConstraintTest

public class FloatingPointPatternConstraintTest
extends Object

Things this test should check: 1. empty value check. (failure) testValueEmpty() 2. value with valid positive number. (success) testValueValidPositiveNumber() 3. value with invalid negative number as allowNegative set to false. (failure) testValueInvalidNegativeNumber() 4. value with valid negative number as allowNegative set to true. (success) testValueValidNegativeNumber() 5. value with invalid negative number as allowNegative set to true.. (failure) testValueInvalidNegativeNumber1() 6. value with invalid positive number. (failure) testValueInvalidPositiveNumber() 7. value with valid negative number as allowNegative set to true. (success) #testValueValidNegativeNumber1)

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
FloatingPointPatternConstraintTest()
           
 
Method Summary
 void setUp()
           
 void testValueEmpty()
           
 void testValueInvalidNegativeNumber()
           
 void testValueInvalidNegativeNumber1()
           
 void testValueInvalidPositiveNumber()
           
 void testValueValidNegativeNumber()
           
 void testValueValidNegativeNumber1()
           
 void testValueValidPositiveNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatingPointPatternConstraintTest

public FloatingPointPatternConstraintTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testValueEmpty

public void testValueEmpty()

testValueValidPositiveNumber

public void testValueValidPositiveNumber()

testValueInvalidNegativeNumber

public void testValueInvalidNegativeNumber()

testValueValidNegativeNumber

public void testValueValidNegativeNumber()

testValueInvalidNegativeNumber1

public void testValueInvalidNegativeNumber1()

testValueInvalidPositiveNumber

public void testValueInvalidPositiveNumber()

testValueValidNegativeNumber1

public void testValueValidNegativeNumber1()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.