public class TermBoServiceTest extends AbstractBoTest
BaselineTestCase.BaselineMode, BaselineTestCase.ModecontextRepository, krmsAttributeDefinitionService, krmsTypeRepositorydirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, 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, getNamespaceByContextNamegetLoadApplicationLifecycle, getModuleName, getPerTestTablesNotToClear, getPerTestTablesToClear, getSuiteLifecycles, loadSuiteTestDatagetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecyclesgetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethodpublic TermBoServiceTest()
public void setUp() throws Exception
setUp in class AbstractBoTestExceptionpublic 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–2016 The Kuali Foundation. All rights reserved.