use of org.talend.components.api.component.runtime.JarRuntimeInfo in project components by Talend.
the class TSalesforceInputDefinitionTest method assertRuntimeInfo.
private void assertRuntimeInfo(RuntimeInfo runtimeInfo) {
assertNotNull(runtimeInfo);
assertThat(runtimeInfo, instanceOf(JarRuntimeInfo.class));
JarRuntimeInfo jarRuntimeInfo = (JarRuntimeInfo) runtimeInfo;
assertNotNull(jarRuntimeInfo.getJarUrl());
assertNotNull(jarRuntimeInfo.getDepTxtPath());
assertEquals(SOURCE_CLASS, jarRuntimeInfo.getRuntimeClassName());
}
use of org.talend.components.api.component.runtime.JarRuntimeInfo in project components by Talend.
the class TSalesforceOutputBulkDefinitionTest method assertRuntimeInfo.
private void assertRuntimeInfo(RuntimeInfo runtimeInfo) {
assertNotNull(runtimeInfo);
assertThat(runtimeInfo, instanceOf(JarRuntimeInfo.class));
JarRuntimeInfo jarRuntimeInfo = (JarRuntimeInfo) runtimeInfo;
assertNotNull(jarRuntimeInfo.getJarUrl());
assertNotNull(jarRuntimeInfo.getDepTxtPath());
assertEquals(BULK_FILE_SINK_CLASS, jarRuntimeInfo.getRuntimeClassName());
}
use of org.talend.components.api.component.runtime.JarRuntimeInfo in project components by Talend.
the class TSalesforceBulkExecDefinitionTest method assertRuntimeInfo.
private void assertRuntimeInfo(RuntimeInfo runtimeInfo, String clazz) {
assertNotNull(runtimeInfo);
assertThat(runtimeInfo, instanceOf(JarRuntimeInfo.class));
JarRuntimeInfo jarRuntimeInfo = (JarRuntimeInfo) runtimeInfo;
assertNotNull(jarRuntimeInfo.getJarUrl());
assertNotNull(jarRuntimeInfo.getDepTxtPath());
assertEquals(clazz, jarRuntimeInfo.getRuntimeClassName());
}
use of org.talend.components.api.component.runtime.JarRuntimeInfo in project components by Talend.
the class TSalesforceGetServerTimestampDefinitionTest method assertRuntimeInfo.
private void assertRuntimeInfo(RuntimeInfo runtimeInfo) {
assertNotNull(runtimeInfo);
assertThat(runtimeInfo, instanceOf(JarRuntimeInfo.class));
JarRuntimeInfo jarRuntimeInfo = (JarRuntimeInfo) runtimeInfo;
assertNotNull(jarRuntimeInfo.getJarUrl());
assertNotNull(jarRuntimeInfo.getDepTxtPath());
assertEquals(SOURCE_CLASS, jarRuntimeInfo.getRuntimeClassName());
}
Aggregations