Search in sources :

Example 1 with TestFileProvider

use of org.pentaho.di.plugins.fileopensave.providers.TestFileProvider in project pentaho-kettle by pentaho.

the class FileControllerTest method setup.

@Before
public void setup() {
    List<FileProvider> fileProviders = new ArrayList<>();
    fileProviders.add(new TestFileProvider());
    ProviderService providerService = new ProviderService(fileProviders);
    fileController = new FileController(new FileCache(), providerService);
}
Also used : ProviderService(org.pentaho.di.plugins.fileopensave.providers.ProviderService) FileProvider(org.pentaho.di.plugins.fileopensave.api.providers.FileProvider) TestFileProvider(org.pentaho.di.plugins.fileopensave.providers.TestFileProvider) TestFileProvider(org.pentaho.di.plugins.fileopensave.providers.TestFileProvider) ArrayList(java.util.ArrayList) FileCache(org.pentaho.di.plugins.fileopensave.cache.FileCache) Before(org.junit.Before)

Aggregations

ArrayList (java.util.ArrayList)1 Before (org.junit.Before)1 FileProvider (org.pentaho.di.plugins.fileopensave.api.providers.FileProvider)1 FileCache (org.pentaho.di.plugins.fileopensave.cache.FileCache)1 ProviderService (org.pentaho.di.plugins.fileopensave.providers.ProviderService)1 TestFileProvider (org.pentaho.di.plugins.fileopensave.providers.TestFileProvider)1