use of org.talend.components.jdbc.module.JDBCConnectionModule in project components by Talend.
the class CommonUtilsTest method testSetCommonConnectionInfo.
@Test
public void testSetCommonConnectionInfo() {
JDBCConnectionModule module = new JDBCConnectionModule("module");
module.jdbcUrl.setValue("url");
AllSetting setting = new AllSetting();
CommonUtils.setCommonConnectionInfo(setting, module);
Assert.assertEquals("url", setting.getJdbcUrl());
}
Aggregations