org.kuali.rice.krms.test
Class TermBoServiceTest

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.krms.test.KRMSTestCase
                          extended by org.kuali.rice.krms.test.AbstractBoTest
                              extended by org.kuali.rice.krms.test.TermBoServiceTest
All Implemented Interfaces:
MethodAware

public class TermBoServiceTest
extends AbstractBoTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.krms.test.AbstractBoTest
contextRepository, krmsAttributeDefinitionService, krmsTypeRepository
 
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
TermBoServiceTest()
           
 
Method Summary
 void setUp()
           
 void testGetTermSpecificationById_invalid()
          Tests whether getTermSpecificationById correctly returns null with no error when given the ID of an object that does not exist in the database.
 void testGetTermSpecificationById_nullOrBlank()
          Tests whether getTermSpecificationById correctly returns RiceIllegalArgumentException when given null or empty IDs.
 void testGetTermSpecificationById_valid()
          Tests whether getTermSpecificationById correctly returns a non-null object when given the ID of an object that exists in the database.
 void testPersistTermSpecificationContextIds()
           
 
Methods inherited from class org.kuali.rice.krms.test.AbstractBoTest
createContextDefinition, createKrmsGenericTypeDefinition, getBoService, getContextRepository, getKrmsTypeRepository, getNamespaceByContextName
 
Methods inherited from class org.kuali.rice.krms.test.KRMSTestCase
getLoadApplicationLifecycle, getModuleName, getPerTestTablesNotToClear, getPerTestTablesToClear, getSuiteLifecycles, loadSuiteTestData
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, 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
 

Constructor Detail

TermBoServiceTest

public TermBoServiceTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractBoTest
Throws:
Exception

testGetTermSpecificationById_nullOrBlank

public void testGetTermSpecificationById_nullOrBlank()
Tests whether getTermSpecificationById correctly returns RiceIllegalArgumentException when given null or empty IDs.


testGetTermSpecificationById_invalid

public void testGetTermSpecificationById_invalid()
Tests whether getTermSpecificationById correctly returns null with no error when given the ID of an object that does not exist in the database.


testGetTermSpecificationById_valid

public void testGetTermSpecificationById_valid()
Tests whether getTermSpecificationById correctly returns a non-null object when given the ID of an object that exists in the database.


testPersistTermSpecificationContextIds

public void testPersistTermSpecificationContextIds()


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