Search in sources :

Example 1 with KiePMMLTextIndex

use of org.kie.pmml.commons.model.expressions.KiePMMLTextIndex in project drools by kiegroup.

the class KiePMMLTextIndexInstanceFactoryTest method getKiePMMLTextIndex.

@Test
public void getKiePMMLTextIndex() {
    final TextIndex toConvert = getRandomTextIndex();
    final KiePMMLTextIndex retrieved = KiePMMLTextIndexInstanceFactory.getKiePMMLTextIndex(toConvert);
    commonVerifyKiePMMLTextIndex(retrieved, toConvert);
}
Also used : PMMLModelTestUtils.getRandomTextIndex(org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomTextIndex) KiePMMLTextIndex(org.kie.pmml.commons.model.expressions.KiePMMLTextIndex) TextIndex(org.dmg.pmml.TextIndex) InstanceFactoriesTestCommon.commonVerifyKiePMMLTextIndex(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLTextIndex) KiePMMLTextIndex(org.kie.pmml.commons.model.expressions.KiePMMLTextIndex) InstanceFactoriesTestCommon.commonVerifyKiePMMLTextIndex(org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLTextIndex) Test(org.junit.Test)

Aggregations

TextIndex (org.dmg.pmml.TextIndex)1 Test (org.junit.Test)1 KiePMMLTextIndex (org.kie.pmml.commons.model.expressions.KiePMMLTextIndex)1 PMMLModelTestUtils.getRandomTextIndex (org.kie.pmml.compiler.api.testutils.PMMLModelTestUtils.getRandomTextIndex)1 InstanceFactoriesTestCommon.commonVerifyKiePMMLTextIndex (org.kie.pmml.compiler.commons.factories.InstanceFactoriesTestCommon.commonVerifyKiePMMLTextIndex)1