public class RuleManagementNaturalLanguageUsageTest extends RuleManagementBaseTest
KRMSTestCase.BootstrapTestBaselineTestCase.BaselineMode, BaselineTestCase.ModeactionBoService, agendaBoService, CLASS_DISCRIMINATOR, contextRepository, dataObjectService, functionBoService, krmsAttributeDefinitionService, krmsTypeRepository, ruleBoService, ruleManagementService, termBoServicedirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
RuleManagementNaturalLanguageUsageTest() |
| 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 |
testCompoundTranslateNaturalLanguageTreeForProposition()
Test testCompoundTranslateNaturalLanguageTreeForProposition()
This test focuses specifically on the RuleManagementServiceImpl
.translateNaturalLanguageTreeForProposition(String naturalLanguageUsageId,
PropositionDefinition propositionDefinintion,
String languageCode) method
where the PropositionDefinition is a Compound proposition
|
void |
testCreateNaturalLanguageUsage()
Test testCreateNaturalLanguageUsage()
This test focuses specifically on the RuleManagementServiceImpl
.createNaturalLanguageUsage(NaturalLanguageUsage) method
|
void |
testDeleteNaturalLanguageUsage()
Test testDeleteNaturalLanguageUsage()
This test focuses specifically on the RuleManagementServiceImpl
.deleteNaturalLanguageUsage(String naturalLanguageUsageId) method
|
void |
testEmptyTranslateNaturalLanguageTreeForProposition()
Test testEmptyTranslateNaturalLanguageTreeForProposition()
This test focuses specifically on the RuleManagementServiceImpl
.translateNaturalLanguageTreeForProposition(String naturalLanguageUsageId,
PropositionDefinition propositionDefinintion,
String languageCode) method
where there is no NaturalLanguageTemplate associated with the PropositionDefinition and languageCode
|
void |
testGetNaturalLanguageUsage()
Test testGetNaturalLanguageUsage()
This test focuses specifically on the RuleManagementServiceImpl .getNaturalLanguageUsage(String id) method
|
void |
testGetNaturalLanguageUsageByNameAndNamespace()
Test testGetNaturalLanguageUsageByNameAndNamespace()
This test focuses specifically on the RuleManagementServiceImpl
.getNaturalLanguageUsageByNameAndNamespace(String name, String namespace) method
|
void |
testGetNaturalLanguageUsagesByNamespace()
Test testGetNaturalLanguageUsagesByNamespace()
This test focuses specifically on the RuleManagementServiceImpl
.getNaturalLanguageUsagesByNamespace(String namespace) method
|
void |
testNullTranslateNaturalLanguageTreeForProposition()
Test testNullTranslateNaturalLanguageTreeForProposition()
This test focuses specifically on the RuleManagementServiceImpl
.translateNaturalLanguageTreeForProposition(String naturalLanguageUsageId,
PropositionDefinition propositionDefinintion,
String languageCode) method
where there is no NaturalLanguageTemplate
|
void |
testTranslateNaturalLanguageForObject()
Test testTranslateNaturalLanguageForObject()
This test focuses specifically on the RuleManagementServiceImpl
.translateNaturalLanguageForObject(String naturalLanguageUsageId,
String typeId,
String krmsObjectId,
String languageCode) method
|
void |
testTranslateNaturalLanguageForProposition()
Test testTranslateNaturalLanguageForProposition()
This test focuses specifically on the RuleManagementServiceImpl
.translateNaturalLanguageForProposition(String naturalLanguageUsageId,
PropositionDefinition proposition,
String languageCode) method
|
void |
testTranslateNaturalLanguageTreeForProposition()
Test testTranslateNaturalLanguageTreeForProposition()
This test focuses specifically on the RuleManagementServiceImpl
.translateNaturalLanguageTreeForProposition(String naturalLanguageUsageId,
PropositionDefinition propositionDefinintion,
String languageCode) method
|
void |
testUpdateNaturalLanguageUsage()
Test testUpdateNaturalLanguageUsage()
This test focuses specifically on the RuleManagementServiceImpl
.updateNaturalLanguageUsage(NaturalLanguageUsage) 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, setupgetLoadApplicationLifecycle, getModuleName, getPerTestTablesToClear, getSuiteLifecycles, loadSuiteTestDatagetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUpgetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic RuleManagementNaturalLanguageUsageTest()
public void setClassDiscriminator()
RuleManagementBaseTestsetClassDiscriminator in class RuleManagementBaseTestpublic void testCreateNaturalLanguageUsage()
public void testGetNaturalLanguageUsage()
public void testUpdateNaturalLanguageUsage()
public void testDeleteNaturalLanguageUsage()
public void testGetNaturalLanguageUsagesByNamespace()
public void testGetNaturalLanguageUsageByNameAndNamespace()
public void testTranslateNaturalLanguageForObject()
public void testTranslateNaturalLanguageForProposition()
public void testTranslateNaturalLanguageTreeForProposition()
public void testCompoundTranslateNaturalLanguageTreeForProposition()
public void testNullTranslateNaturalLanguageTreeForProposition()
public void testEmptyTranslateNaturalLanguageTreeForProposition()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.