org.kuali.rice.krad.datadictionary.validation
Class ValidationTestUtils

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

public final class ValidationTestUtils
extends Object

ValidationTestUtils has test values and a utility method for testing validation patterns

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

Method Summary
static void assertPatternMatches(ValidationPattern pattern, boolean[] expectedValues)
          checks that the test values, when matched to the supplied pattern, result in the expected value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertPatternMatches

public static final void assertPatternMatches(ValidationPattern pattern,
                                              boolean[] expectedValues)
checks that the test values, when matched to the supplied pattern, result in the expected value

Parameters:
pattern - - a validation pattern
expectedValues - - an array containing boolean values for each expected result


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.