use of org.talend.cwm.relational.TdExpression in project tdq-studio-se by Talend.
the class TextIndicatorForNetezzaTest method testSoundex.
@Test
public void testSoundex() {
TdExpression expression = findExpressionForNetezza(SOUNDEX_FREQUENCY);
Assert.assertNotNull(expression);
Assert.assertEquals(SOUNDEX_FREQUENCY_SQL, expression.getBody());
}
use of org.talend.cwm.relational.TdExpression in project tdq-studio-se by Talend.
the class TextIndicatorForNetezzaTest method testMinLengthNull.
@Test
public void testMinLengthNull() {
TdExpression expression = findExpressionForNetezza(MINIMAL_LENGTH_WITH_NULL);
Assert.assertNotNull(expression);
Assert.assertEquals(MINIMAL_LENGTH_WITH_NULL_SQL, expression.getBody());
}
use of org.talend.cwm.relational.TdExpression in project tdq-studio-se by Talend.
the class TextIndicatorForNetezzaTest method testSoundexLow.
@Test
public void testSoundexLow() {
TdExpression expression = findExpressionForNetezza(SOUNDEX_LOW_FREQUENCY);
Assert.assertNotNull(expression);
Assert.assertEquals(SOUNDEX_LOW_FREQUENCY_SQL, expression.getBody());
}
use of org.talend.cwm.relational.TdExpression in project tdq-studio-se by Talend.
the class TextIndicatorForNetezzaTest method testMaxLengthWithNull.
@Test
public void testMaxLengthWithNull() {
TdExpression expression = findExpressionForNetezza(MAXIMAL_LENGTH_WITH_NULL);
Assert.assertNotNull(expression);
Assert.assertEquals(MAXIMAL_LENGTH_WITH_NULL_SQL, expression.getBody());
}
use of org.talend.cwm.relational.TdExpression in project tdq-studio-se by Talend.
the class TextIndicatorForNetezzaTest method testAverageLengthWithBlankAndNull.
@Test
public void testAverageLengthWithBlankAndNull() {
TdExpression expression = findExpressionForNetezza(AVERAGE_LENGTH_WITH_BLANK_AND_NULL);
Assert.assertNotNull(expression);
Assert.assertEquals(AVERAGE_LENGTH_WITH_BLANK_AND_NULL_SQL, expression.getBody());
}
Aggregations