public class TermBoServiceTest extends AbstractBoTest
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
contextRepository, krmsAttributeDefinitionService, krmsTypeRepository
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
TermBoServiceTest() |
Modifier and Type | Method and Description |
---|---|
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() |
createContextDefinition, createKrmsGenericTypeDefinition, getBoService, getContextRepository, getKrmsTypeRepository, getNamespaceByContextName
getLoadApplicationLifecycle, getModuleName, getPerTestTablesNotToClear, getPerTestTablesToClear, getSuiteLifecycles, loadSuiteTestData
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
public TermBoServiceTest()
public void setUp() throws Exception
setUp
in class AbstractBoTest
Exception
public void testGetTermSpecificationById_nullOrBlank()
getTermSpecificationById
correctly returns
RiceIllegalArgumentException
when given null or empty IDs.public void testGetTermSpecificationById_invalid()
getTermSpecificationById
correctly returns null with no error when given the ID of an
object that does not exist in the database.public void testGetTermSpecificationById_valid()
getTermSpecificationById
correctly returns a non-null object when given the ID of an
object that exists in the database.public void testPersistTermSpecificationContextIds()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.