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

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

public class PhoneNumberPatternConstraintTest
extends Object

Things this test should check: 1. empty value check. (failure) testValueInvalidPhoneNumberEmpty() 2. value with valid phone number. (success) testValueValidPhoneNumber() 3. value with invalid phone number. (failure) testValueInvalidPhoneNumber() 4. value with invalid phone number. (failure) testValueInvalidPhoneNumber1() 5. value with invalid phone number. (failure) testValueInvalidPhoneNumber2() 6. value with invalid phone number. (failure) testValueInvalidPhoneNumber3() 7. value with invalid phone number. (failure) testValueInvalidPhoneNumber4() 8. value with invalid phone number. (failure) testValueInvalidPhoneNumber5() 9. value with invalid phone number. (failure) testValueInvalidPhoneNumber6()

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

Constructor Summary
PhoneNumberPatternConstraintTest()
           
 
Method Summary
 void setUp()
           
 void testValueInvalidPhoneNumber()
           
 void testValueInvalidPhoneNumber1()
           
 void testValueInvalidPhoneNumber2()
           
 void testValueInvalidPhoneNumber3()
           
 void testValueInvalidPhoneNumber4()
           
 void testValueInvalidPhoneNumber5()
           
 void testValueInvalidPhoneNumber6()
           
 void testValueInvalidPhoneNumberEmpty()
           
 void testValueValidPhoneNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhoneNumberPatternConstraintTest

public PhoneNumberPatternConstraintTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testValueInvalidPhoneNumberEmpty

public void testValueInvalidPhoneNumberEmpty()

testValueValidPhoneNumber

public void testValueValidPhoneNumber()

testValueInvalidPhoneNumber

public void testValueInvalidPhoneNumber()

testValueInvalidPhoneNumber1

public void testValueInvalidPhoneNumber1()

testValueInvalidPhoneNumber2

public void testValueInvalidPhoneNumber2()

testValueInvalidPhoneNumber3

public void testValueInvalidPhoneNumber3()

testValueInvalidPhoneNumber4

public void testValueInvalidPhoneNumber4()

testValueInvalidPhoneNumber5

public void testValueInvalidPhoneNumber5()

testValueInvalidPhoneNumber6

public void testValueInvalidPhoneNumber6()


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