public class RuleManagementNaturalLanguageTemplateTest 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 |
---|
RuleManagementNaturalLanguageTemplateTest() |
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 |
testCreateNaturalLanguageTemplate()
Test testCreateNaturalLanguageTemplate()
This test focuses specifically on the RuleManagementServiceImpl .createNaturalLanguageTemplate(NaturalLanguageTemplate) method
|
void |
testCreateNaturalLanguageTemplateWithGeneratedId()
Test testCreateNaturalLanguageTemplate()
This test focuses specifically on the RuleManagementServiceImpl.
|
void |
testDeleteNaturalLanguageTemplate()
Test testDeleteNaturalLanguageTemplate()
This test focuses specifically on the RuleManagementServiceImpl .deleteNaturalLanguageTemplate("naturalLanguageTemplateId") method
|
void |
testFindNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId()
Test testFindNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId()
This test focuses specifically on the RuleManagementServiceImpl
.findNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId(String languageCode, String typeId, String naturalLanguageUsageId) method
|
void |
testFindNaturalLanguageTemplatesByLanguageCode()
Test testFindNaturalLanguageTemplatesByLanguageCode()
This test focuses specifically on the RuleManagementServiceImpl .findNaturalLanguageTemplatesByLanguageCode("languageCode") method
|
void |
testFindNaturalLanguageTemplatesByNaturalLanguageUsage()
Test testFindNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId()
This test focuses specifically on the RuleManagementServiceImpl
.findNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId(String languageCode, String typeId, String naturalLanguageUsageId) method
|
void |
testFindNaturalLanguageTemplatesByTemplate()
Test testFindNaturalLanguageTemplatesByTemplate()
This test focuses specifically on the RuleManagementServiceImpl
.findNaturalLanguageTemplatesByTemplate(String template) method
|
void |
testFindNaturalLanguageTemplatesByType()
Test testFindNaturalLanguageTemplatesByType()
This test focuses specifically on the RuleManagementServiceImpl
.findNaturalLanguageTemplatesByType(String typeId) method
|
void |
testGetNaturalLanguageTemplate()
Test testGetNaturalLanguageTemplate()
This test focuses specifically on the RuleManagementServiceImpl .getNaturalLanguageTemplate("naturalLanguageTemplateId") method
|
void |
testUpdateNaturalLanguageTemplate()
Test testUpdateNaturalLanguageTemplate()
This test focuses specifically on the RuleManagementServiceImpl .updateNaturalLanguageTemplate(NaturalLanguageTemplate) 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 RuleManagementNaturalLanguageTemplateTest()
public void setClassDiscriminator()
RuleManagementBaseTest
setClassDiscriminator
in class RuleManagementBaseTest
public void testCreateNaturalLanguageTemplate()
public void testGetNaturalLanguageTemplate()
public void testUpdateNaturalLanguageTemplate()
public void testDeleteNaturalLanguageTemplate()
public void testFindNaturalLanguageTemplatesByLanguageCode()
public void testFindNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId()
public void testFindNaturalLanguageTemplatesByNaturalLanguageUsage()
public void testFindNaturalLanguageTemplatesByType()
public void testFindNaturalLanguageTemplatesByTemplate()
public void testCreateNaturalLanguageTemplateWithGeneratedId()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.