public class ComponentServiceTest extends CORETestCase
CORETestCase.BootstrapTestBaselineTestCase.BaselineMode, BaselineTestCase.ModedirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, 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, getPerTestTablesToCleargetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUpgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic 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–2016 The Kuali Foundation. All rights reserved.