public class RuleManagementContextDefinitionTest extends RuleManagementBaseTest
KRMSTestCase.BootstrapTest
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
actionBoService, agendaBoService, CLASS_DISCRIMINATOR, contextRepository, dataObjectService, functionBoService, krmsAttributeDefinitionService, krmsTypeRepository, ruleBoService, ruleManagementService, termBoService
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
RuleManagementContextDefinitionTest() |
Modifier and Type | Method and Description |
---|---|
void |
setClassDiscriminator()
Extending test classes can override setClassDiscriminator method and set a unique value for the class
The override method should be called @before tests to ensure a unique discriminator for the class
Test object naming is comprised of class, test and object uniqueness discriminators.
|
void |
testCreateContext()
Test testCreateContext()
This test focuses specifically on the RuleManagementServiceImpl
.createContext(ContextDefinition contextDefinition) method
|
void |
testDeleteContext()
Test testDeleteContext()
This test focuses specifically on the RuleManagementServiceImpl
.deleteContext(String contextId) method
|
void |
testFindContextIds()
Test testFindContextIds()
This test focuses specifically on the RuleManagementServiceImpl
.findContextIds(QueryByCriteria queryByCriteria) method
|
void |
testFindCreateContext()
Test testFindCreateContext()
This test focuses specifically on the RuleManagementServiceImpl
.findCreateContext(ContextDefinition contextDefinition) method
|
void |
testGetContext()
Test testGetContext()
This test focuses specifically on the RuleManagementServiceImpl
.getContext(String contextId) method
|
void |
testGetContextByNameAndNamespace()
Test testGetContextByNameAndNamespace()
This test focuses specifically on the RuleManagementServiceImpl
.getContextByNameAndNamespace(String name, String namespace) method
|
void |
testUpdateContext()
Test testUpdateContext()
This test focuses specifically on the RuleManagementServiceImpl
.updateContext(ContextDefinition contextDefinition) method
|
buildComplexAgenda, buildTestActionDefinition, buildTestActionDefinition, buildTestAgendaItemDefinition, buildTestContext, buildTestNaturalLanguageUsage, buildTestRuleDefinition, createComplexAgenda, createKrmsActionTypeDefinition, createKrmsTypeDefinition, createKrmsTypeDefinition, createReferenceObjectBinding, createTestAgenda, createTestAgenda, createTestCompoundProposition, createTestKrmsAttribute, createTestNaturalLanguageTemplate, createTestNaturalLanguageTemplate, createTestPropositionForRule, createTestPropositionForTranslation, createTestReferenceObjectBinding, createTestSimpleProposition, createTestTermSpecification, getPerTestTablesNotToClear, setup
getLoadApplicationLifecycle, getModuleName, getPerTestTablesToClear, getSuiteLifecycles, loadSuiteTestData
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
public RuleManagementContextDefinitionTest()
public void setClassDiscriminator()
RuleManagementBaseTest
setClassDiscriminator
in class RuleManagementBaseTest
public void testCreateContext()
public void testFindCreateContext()
public void testUpdateContext()
public void testDeleteContext()
public void testGetContext()
public void testGetContextByNameAndNamespace()
public void testFindContextIds()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.