org.kuali.rice.krms.test
Class KSLumKRMSDataSetupTest

java.lang.Object
  extended by org.junit.Assert
      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.krms.test.KRMSTestCase
                              extended by org.kuali.rice.krms.test.KSLumAbstractBoTest
                                  extended by org.kuali.rice.krms.test.KSLumKRMSDataSetupTest
All Implemented Interfaces:
MethodAware

public class KSLumKRMSDataSetupTest
extends KSLumAbstractBoTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
static String CAMPUS_CODE_TERM_NAME
           
 
Fields inherited from class org.kuali.rice.krms.test.KSLumAbstractBoTest
contextRepository, krmsAttributeDefinitionService, krmsTypeRepository, ksLumAttributeDefinitions
 
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
KSLumKRMSDataSetupTest()
           
 
Method Summary
protected  void createAllLumTermDefinitions(String nameSpace)
           
protected  List<String> getPerTestTablesNotToClear()
          Setting it up so that KRMS tables are not reset between test methods to make it run much faster
protected  List<Lifecycle> getSuiteLifecycles()
           
 void setup()
           
 void testNothing()
           
 void testSelectAgendaByAttributeAndName()
           
 void testSelectAgendaByName()
           
 void testSelectMultipleAgendasByAttribute()
           
 
Methods inherited from class org.kuali.rice.krms.test.KSLumAbstractBoTest
createAllLumAttributeDefinitions, createContext, createContextDefinition, createContextType, createKrmsGenericTypeDefinition, getBoService
 
Methods inherited from class org.kuali.rice.krms.test.KRMSTestCase
getLoadApplicationLifecycle, getModuleName, loadSuiteTestData
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesToClear, getRollbackPerTestLifecycles, setUp
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, 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 org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAMPUS_CODE_TERM_NAME

public static final String CAMPUS_CODE_TERM_NAME
See Also:
Constant Field Values
Constructor Detail

KSLumKRMSDataSetupTest

public KSLumKRMSDataSetupTest()
Method Detail

getPerTestTablesNotToClear

protected List<String> getPerTestTablesNotToClear()
Setting it up so that KRMS tables are not reset between test methods to make it run much faster

Overrides:
getPerTestTablesNotToClear in class KRMSTestCase
Returns:

setup

public void setup()

testNothing

public void testNothing()

testSelectAgendaByAttributeAndName

@Transactional
public void testSelectAgendaByAttributeAndName()

testSelectAgendaByName

@Transactional
public void testSelectAgendaByName()

testSelectMultipleAgendasByAttribute

@Transactional
public void testSelectMultipleAgendasByAttribute()

getSuiteLifecycles

protected List<Lifecycle> getSuiteLifecycles()
Overrides:
getSuiteLifecycles in class KRMSTestCase

createAllLumTermDefinitions

protected void createAllLumTermDefinitions(String nameSpace)


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