org.kuali.rice.core.test
Class AnnotationTestParent

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.rice.core.test.CORETestCase
                          extended by org.kuali.rice.core.test.AnnotationTestParent
All Implemented Interfaces:
MethodAware
Direct Known Subclasses:
DataLoaderAnnotationOverrideTest, DataLoaderAnnotationTest

@PerSuiteUnitTestData(value={@UnitTestData(value="insert into EN_UNITTEST_T (COL) values (\'1\')"),@UnitTestData(filename="classpath:org/kuali/rice/test/AnnotationTestParentData.sql")})
public abstract class AnnotationTestParent
extends CORETestCase

AnnotationTestParent is used by the DataLoaderAnnotationTest and DataLoaderAnnotationOverrideTest classes to verify parent class annotation usage

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
protected static String TEST_TABLE_NAME
           
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
LOG, moduleName
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
AnnotationTestParent()
           
 
Method Summary
protected  int countTableResults(String valueToVerify)
           
protected  boolean hasTableResults(String valueToVerify)
           
protected  void verifyCount(String valueToVerify, int count)
           
protected  void verifyCount(String valueToVerify, int count, String message)
           
protected  void verifyExistence(String valueToVerify)
           
protected  void verifyNonExistent(String valueToVerify)
           
 
Methods inherited from class org.kuali.rice.core.test.CORETestCase
getLoadApplicationLifecycle
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEST_TABLE_NAME

protected static final String TEST_TABLE_NAME
See Also:
Constant Field Values
Constructor Detail

AnnotationTestParent

public AnnotationTestParent()
Method Detail

verifyCount

protected void verifyCount(String valueToVerify,
                           int count)
                    throws SQLException
Throws:
SQLException

verifyCount

protected void verifyCount(String valueToVerify,
                           int count,
                           String message)
                    throws SQLException
Throws:
SQLException

verifyExistence

protected void verifyExistence(String valueToVerify)
                        throws SQLException
Throws:
SQLException

verifyNonExistent

protected void verifyNonExistent(String valueToVerify)
                          throws SQLException
Throws:
SQLException

hasTableResults

protected boolean hasTableResults(String valueToVerify)

countTableResults

protected int countTableResults(String valueToVerify)


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