use of org.talend.components.api.component.runtime.JarRuntimeInfo in project components by Talend.
the class TSalesforceOutputDefinitionTest 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(SINK_CLASS, jarRuntimeInfo.getRuntimeClassName());
}
use of org.talend.components.api.component.runtime.JarRuntimeInfo in project components by Talend.
the class TSalesforceGetUpdatedDefinitionTest 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 SalesforceInputDefinitionTest 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(DATAPREP_SOURCE_CLASS, jarRuntimeInfo.getRuntimeClassName());
}
use of org.talend.components.api.component.runtime.JarRuntimeInfo in project components by Talend.
the class SalesforceDatasetDefinitionTest 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(DATASET_RUNTIME_CLASS, jarRuntimeInfo.getRuntimeClassName());
}
use of org.talend.components.api.component.runtime.JarRuntimeInfo in project components by Talend.
the class SalesforceDatastoreDefinitionTest 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(DATASTORE_RUNTIME_CLASS, jarRuntimeInfo.getRuntimeClassName());
}
Aggregations