org.kuali.student.r2.common.datadictionary
Class TestRiceDataDictionaryValidatorImplAgainstLpr

java.lang.Object
  extended by org.kuali.student.r2.common.datadictionary.TestRiceDataDictionaryValidatorImplAgainstLpr

public class TestRiceDataDictionaryValidatorImplAgainstLpr
extends Object

Author:
nwright

Constructor Summary
TestRiceDataDictionaryValidatorImplAgainstLpr()
           
 
Method Summary
protected  List<String> getConfigLocations()
          Subclasses may override this method to customize the location(s) of the Rice configuration.
protected  Config getTestHarnessConfig()
           
 DataDictionaryValidator getValidator()
           
 void setUp()
           
static void setUpClass()
           
 void tearDown()
           
static void tearDownClass()
           
 void testValidate()
          Test of validate method, of class RiceValidatorImpl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRiceDataDictionaryValidatorImplAgainstLpr

public TestRiceDataDictionaryValidatorImplAgainstLpr()
Method Detail

setUpClass

public static void setUpClass()
                       throws Exception
Throws:
Exception

tearDownClass

public static void tearDownClass()
                          throws Exception
Throws:
Exception

getTestHarnessConfig

protected Config getTestHarnessConfig()

getConfigLocations

protected List<String> getConfigLocations()
Subclasses may override this method to customize the location(s) of the Rice configuration. By default it is: classpath:META-INF/" + getModuleName().toLowerCase() + "-test-config.xml"

Returns:
List of config locations to add to this tests config location.

setUp

public void setUp()

tearDown

public void tearDown()

getValidator

public DataDictionaryValidator getValidator()

testValidate

public void testValidate()
                  throws Exception
Test of validate method, of class RiceValidatorImpl. Because there is no constraintProcessors provided for DictionaryValidationService in rice all tests are just to validate the xml file syntax. Any element setting is not validated.

Throws:
Exception


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