use of org.pentaho.di.core.database.MonetDBDatabaseMeta in project pentaho-kettle by pentaho.
the class MonetDBBulkLoaderIT method testNoInput.
@Test
public void testNoInput() {
String oneStepname = "Monet Bulk Loader";
MonetDBBulkLoaderMeta meta = new MonetDBBulkLoaderMeta();
DatabaseMeta database = new DatabaseMeta();
database.setDatabaseInterface(new MonetDBDatabaseMeta());
meta.setDefault();
meta.setDatabaseMeta(database);
TransMeta transMeta = TransTestFactory.generateTestTransformation(new Variables(), meta, oneStepname);
try {
TransTestFactory.executeTestTransformation(transMeta, oneStepname, new ArrayList<RowMetaAndData>());
} catch (KettleException e) {
// The Monet DB Bulk Loader step should finish quietly if no input rows
fail();
}
}
Aggregations