Search in sources :

Example 1 with SpoonTransformationDelegate

use of org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate in project pentaho-kettle by pentaho.

the class SharedObjectSyncUtilTest method setUp.

@Before
public void setUp() {
    spoon = mock(Spoon.class);
    // when( spoon.getRepository() ).thenReturn( spoon.rep );
    spoonDelegates = mock(SpoonDelegates.class);
    spoonDelegates.jobs = new SpoonJobDelegate(spoon);
    spoonDelegates.trans = new SpoonTransformationDelegate(spoon);
    spoonDelegates.db = new SpoonDBDelegate(spoon);
    spoonDelegates.slaves = new SpoonSlaveDelegate(spoon);
    spoonDelegates.partitions = new SpoonPartitionsDelegate(spoon);
    spoonDelegates.clusters = new SpoonClustersDelegate(spoon);
    spoon.delegates = spoonDelegates;
    sharedUtil = new SharedObjectSyncUtil(spoon);
    repository = mock(Repository.class);
}
Also used : SpoonSlaveDelegate(org.pentaho.di.ui.spoon.delegates.SpoonSlaveDelegate) SpoonTransformationDelegate(org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate) Repository(org.pentaho.di.repository.Repository) SpoonPartitionsDelegate(org.pentaho.di.ui.spoon.delegates.SpoonPartitionsDelegate) SpoonClustersDelegate(org.pentaho.di.ui.spoon.delegates.SpoonClustersDelegate) SpoonDBDelegate(org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate) SpoonDelegates(org.pentaho.di.ui.spoon.delegates.SpoonDelegates) SpoonJobDelegate(org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 Repository (org.pentaho.di.repository.Repository)1 SpoonClustersDelegate (org.pentaho.di.ui.spoon.delegates.SpoonClustersDelegate)1 SpoonDBDelegate (org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate)1 SpoonDelegates (org.pentaho.di.ui.spoon.delegates.SpoonDelegates)1 SpoonJobDelegate (org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate)1 SpoonPartitionsDelegate (org.pentaho.di.ui.spoon.delegates.SpoonPartitionsDelegate)1 SpoonSlaveDelegate (org.pentaho.di.ui.spoon.delegates.SpoonSlaveDelegate)1 SpoonTransformationDelegate (org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate)1