org.mod4j.runtime.validation
Class BusinessRuleUtilsTest

java.lang.Object
  extended by org.mod4j.runtime.validation.BusinessRuleUtilsTest

public class BusinessRuleUtilsTest
extends java.lang.Object

Author:
Eric Jan Malotaux *

Constructor Summary
BusinessRuleUtilsTest()
           
 
Method Summary
 void testAutoboing()
           
 void testValidateEmptyOrWhitespace()
          Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateEmptyOrWhitespace(org.springframework.validation.Errors, java.lang.String).
 void testValidateMaxLengthFail()
          Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateMaxLength(org.springframework.validation.Errors, java.lang.String, int).
 void testValidateMaxLengthSucceed()
          Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateMaxLength(org.springframework.validation.Errors, java.lang.String, int).
 void testValidateMaxLengthWithLong()
           
 void testValidateMaxValueFail()
           
 void testValidateMaxValueSucceed()
           
 void testValidateMaxValueSucceedWithInteger()
           
 void testValidateMaxValueWithString()
           
 void testValidateMinLengthFail()
          Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateMinLength(org.springframework.validation.Errors, java.lang.String, int).
 void testValidateMinLengthSucceed()
          Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateMinLength(org.springframework.validation.Errors, java.lang.String, int).
 void testValidateMinLengthWithLong()
           
 void testValidateMinValueFail()
           
 void testValidateMinValueSucceed()
           
 void testValidateMinValueSucceedWithInteger()
           
 void testValidateMinValueWithString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessRuleUtilsTest

public BusinessRuleUtilsTest()
Method Detail

testValidateEmptyOrWhitespace

public void testValidateEmptyOrWhitespace()
Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateEmptyOrWhitespace(org.springframework.validation.Errors, java.lang.String).


testValidateMinLengthFail

public void testValidateMinLengthFail()
Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateMinLength(org.springframework.validation.Errors, java.lang.String, int).


testAutoboing

public void testAutoboing()

testValidateMinLengthSucceed

public void testValidateMinLengthSucceed()
Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateMinLength(org.springframework.validation.Errors, java.lang.String, int).


testValidateMaxLengthFail

public void testValidateMaxLengthFail()
Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateMaxLength(org.springframework.validation.Errors, java.lang.String, int).


testValidateMaxLengthSucceed

public void testValidateMaxLengthSucceed()
Test method for org.mod4j.runtime.validation.BusinessRuleUtils#validateMaxLength(org.springframework.validation.Errors, java.lang.String, int).


testValidateMaxValueFail

public void testValidateMaxValueFail()

testValidateMaxValueSucceed

public void testValidateMaxValueSucceed()

testValidateMaxValueSucceedWithInteger

public void testValidateMaxValueSucceedWithInteger()

testValidateMinValueFail

public void testValidateMinValueFail()

testValidateMinValueSucceed

public void testValidateMinValueSucceed()

testValidateMinValueSucceedWithInteger

public void testValidateMinValueSucceedWithInteger()

testValidateMinLengthWithLong

public void testValidateMinLengthWithLong()

testValidateMaxLengthWithLong

public void testValidateMaxLengthWithLong()

testValidateMinValueWithString

public void testValidateMinValueWithString()

testValidateMaxValueWithString

public void testValidateMaxValueWithString()


Copyright © 2010 Mod4j. All Rights Reserved.