Search in sources :

Example 1 with StepDatabaseConnectionAnalyzer

use of org.pentaho.metaverse.api.analyzer.kettle.step.StepDatabaseConnectionAnalyzer in project pentaho-metaverse by pentaho.

the class DatabaseConnectionAnalyzerTest method setUp.

/**
 * @throws java.lang.Exception
 */
@Before
public void setUp() throws Exception {
    IMetaverseObjectFactory factory = MetaverseTestUtils.getMetaverseObjectFactory();
    when(builder.getMetaverseObjectFactory()).thenReturn(factory);
    dbConnectionAnalyzer = new StepDatabaseConnectionAnalyzer();
    dbConnectionAnalyzer.setMetaverseBuilder(builder);
}
Also used : IMetaverseObjectFactory(org.pentaho.metaverse.api.IMetaverseObjectFactory) StepDatabaseConnectionAnalyzer(org.pentaho.metaverse.api.analyzer.kettle.step.StepDatabaseConnectionAnalyzer) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 IMetaverseObjectFactory (org.pentaho.metaverse.api.IMetaverseObjectFactory)1 StepDatabaseConnectionAnalyzer (org.pentaho.metaverse.api.analyzer.kettle.step.StepDatabaseConnectionAnalyzer)1