public class ComponentServiceTest extends CORETestCase
CORETestCase.BootstrapTest
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
ComponentServiceTest() |
Modifier and Type | Method and Description |
---|---|
void |
establishServices() |
void |
testGetActiveComponentsByNamespaceCode()
Ensure that
ComponentService.getAllComponentsByNamespaceCode(String) returns a null Component
when no active records exist by that namespace and a not-null Component when an active record exists by
that namespace. |
void |
testGetAllComponentsByNamespaceCode()
Ensure that
ComponentService.getAllComponentsByNamespaceCode(String) returns a null Component
when no records exist by that namespace and a not-null Component when a record exists by that namespace. |
void |
testGetComponentByCode()
Ensure that
ComponentService.getComponentByCode(String, String) returns a null Component when no
records exist by that namespace and code and a not-null Component when a record exists by that namespace
and code. |
void |
testGetComponentByDataObjectService()
Ensure that an existing
Component can be fetched by the {link DataObjectService}. |
getLoadApplicationLifecycle, getPerTestTablesToClear
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
public ComponentServiceTest()
public void establishServices()
public void testGetComponentByDataObjectService()
Component
can be fetched by the {link DataObjectService}.public void testGetComponentByCode()
ComponentService.getComponentByCode(String, String)
returns a null Component
when no
records exist by that namespace and code and a not-null Component
when a record exists by that namespace
and code.public void testGetAllComponentsByNamespaceCode()
ComponentService.getAllComponentsByNamespaceCode(String)
returns a null Component
when no records exist by that namespace and a not-null Component
when a record exists by that namespace.public void testGetActiveComponentsByNamespaceCode()
ComponentService.getAllComponentsByNamespaceCode(String)
returns a null Component
when no active records exist by that namespace and a not-null Component
when an active record exists by
that namespace.Copyright © 2005–2015 The Kuali Foundation. All rights reserved.