use of org.talend.daikon.runtime.RuntimeInfo in project components by Talend.
the class ElasticsearchDatastoreDefinitionTest method testRuntimeInfo.
/**
* Check {@link ElasticsearchDatastoreDefinition#getRuntimeInfo(ElasticsearchDatastoreProperties) returns RuntimeInfo,
* which runtime class name is "org.talend.components.elasticsearch.runtime_2_4.ElasticsearchDatastoreRuntime"
*/
@Test
@Ignore("This can't work unless the runtime jar is already installed in maven!")
public void testRuntimeInfo() {
RuntimeInfo runtimeInfo = datastoreDefinition.getRuntimeInfo(null);
assertEquals("org.talend.components.elasticsearch.runtime_2_4.ElasticsearchDatastoreRuntime", runtimeInfo.getRuntimeClassName());
}
use of org.talend.daikon.runtime.RuntimeInfo in project components by Talend.
the class ElasticsearchOutputDefinitionTest method testRuntimeInfo.
/**
* Check {@link ElasticsearchOutputDefinition#getSupportedConnectorTopologies()} returns ConnectorTopology.INCOMING
*/
@Test
@Ignore("This can't work unless the runtime jar is already installed in maven!")
public void testRuntimeInfo() {
RuntimeInfo runtimeInfo = outputDefinition.getRuntimeInfo(ExecutionEngine.BEAM, null, null);
assertEquals("org.talend.components.elasticsearch.runtime_2_4.ElasticsearchOutputRuntime", runtimeInfo.getRuntimeClassName());
}
use of org.talend.daikon.runtime.RuntimeInfo in project components by Talend.
the class SimpleFileIODatasetDefinitionTest method testRuntimeInfo.
/**
* Checks the {@link RuntimeInfo} of the definition.
*/
@Test
public void testRuntimeInfo() {
RuntimeInfo runtimeInfo = def.getRuntimeInfo(null);
assertThat(runtimeInfo.getRuntimeClassName(), is("org.talend.components.simplefileio.runtime.SimpleFileIODatasetRuntime"));
// The integration module tests things that aren't available in the RuntimeInfo module until after it is
// installed in the local maven repository.
}
use of org.talend.daikon.runtime.RuntimeInfo in project components by Talend.
the class SimpleFileIOInputDefinitionTest method testRuntimeInfo.
/**
* Checks the {@link RuntimeInfo} of the definition.
*/
@Test
public void testRuntimeInfo() {
RuntimeInfo runtimeInfo = def.getRuntimeInfo(ExecutionEngine.BEAM, null, ConnectorTopology.OUTGOING);
assertThat(runtimeInfo.getRuntimeClassName(), is("org.talend.components.simplefileio.runtime.SimpleFileIOInputRuntime"));
// The integration module tests things that aren't available in the RuntimeInfo module until after it is
// installed in the local maven repository.
}
use of org.talend.daikon.runtime.RuntimeInfo in project components by Talend.
the class SimpleFileIOOutputDefinitionTest method testRuntimeInfo.
/**
* Checks the {@link RuntimeInfo} of the definition.
*/
@Test
public void testRuntimeInfo() {
RuntimeInfo runtimeInfo = def.getRuntimeInfo(ExecutionEngine.BEAM, null, ConnectorTopology.INCOMING);
assertThat(runtimeInfo.getRuntimeClassName(), is("org.talend.components.simplefileio.runtime.SimpleFileIOOutputRuntime"));
// The integration module tests things that aren't available in the RuntimeInfo module until after it is
// installed in the local maven repository.
}
Aggregations