use of org.pentaho.di.core.logging.LogChannelInterfaceFactory in project pentaho-kettle by pentaho.
the class TransSplitterTest method setUp.
@Before
public void setUp() throws Exception {
LogChannelInterfaceFactory logChannelInterfaceFactory = mock(LogChannelInterfaceFactory.class);
LogChannelInterface logChannelInterface = mock(LogChannelInterface.class);
oldLogChannelInterfaceFactory = KettleLogStore.getLogChannelInterfaceFactory();
KettleLogStore.setLogChannelInterfaceFactory(logChannelInterfaceFactory);
when(logChannelInterfaceFactory.create(any(), any(LoggingObjectInterface.class))).thenReturn(logChannelInterface);
}
use of org.pentaho.di.core.logging.LogChannelInterfaceFactory in project pentaho-kettle by pentaho.
the class DimensionLookupMetaTest method setUp.
@Before
public void setUp() throws Exception {
LogChannelInterfaceFactory logChannelInterfaceFactory = mock(LogChannelInterfaceFactory.class);
LogChannelInterface logChannelInterface = mock(LogChannelInterface.class);
KettleLogStore.setLogChannelInterfaceFactory(logChannelInterfaceFactory);
when(logChannelInterfaceFactory.create(any(), any(LoggingObjectInterface.class))).thenReturn(logChannelInterface);
}
use of org.pentaho.di.core.logging.LogChannelInterfaceFactory in project pentaho-kettle by pentaho.
the class OpenMappingExtensionTest method setKettleLogFactoryWithMock.
private void setKettleLogFactoryWithMock() {
LogChannelInterfaceFactory logChannelInterfaceFactory = mock(LogChannelInterfaceFactory.class);
logChannelInterface = mock(LogChannelInterface.class);
when(logChannelInterfaceFactory.create(any())).thenReturn(logChannelInterface);
KettleLogStore.setLogChannelInterfaceFactory(logChannelInterfaceFactory);
}
Aggregations