"SmallA.StringNum = '3'", //$NON-NLS-1$
"SmallA.StringKey = '4'" }); //$NON-NLS-1$
}
public void helpTestCombineCriteria(String primaryStr, String additionalStr, String expected) throws Exception {
Condition primaryCrit = (primaryStr == null ? null : convertCriteria(primaryStr));
Condition additionalCrit = (additionalStr == null ? null : convertCriteria(additionalStr));
// Execute
Condition crit = LanguageUtil.combineCriteria(primaryCrit, additionalCrit, LanguageFactory.INSTANCE);
// Compare
String critStr = (crit == null ? null : crit.toString());
assertEquals("Did not get expected criteria", expected, critStr); //$NON-NLS-1$
}