use of org.talend.daikon.i18n.I18nMessages in project components by Talend.
the class SnowflakeReaderTest method testI18NMessages.
@Test
public void testI18NMessages() {
I18nMessages i18nMessages = GlobalI18N.getI18nMessageProvider().getI18nMessages(SnowflakeReader.class);
String errorDuringProcessQueryMessage = i18nMessages.getMessage("error.processQuery");
Assert.assertFalse(errorDuringProcessQueryMessage.equals("error.processQuery"));
}
use of org.talend.daikon.i18n.I18nMessages in project components by Talend.
the class SnowflakeSinkTest method testI18NMessages.
@Test
public void testI18NMessages() {
I18nMessages i18nMessages = GlobalI18N.getI18nMessageProvider().getI18nMessages(SnowflakeSink.class);
String wrongPropertiesTypeMessage = i18nMessages.getMessage("debug.wrongPropertiesType");
Assert.assertFalse(wrongPropertiesTypeMessage.equals("debug.wrongPropertiesType"));
}
Aggregations