Search in sources :

Example 1 with FileIO

use of com.trivago.files.FileIO in project cucable-plugin by trivago.

the class FeatureFileConverterTest method setup.

@Before
public void setup() {
    gherkinDocumentParser = mock(GherkinDocumentParser.class);
    featureFileContentRenderer = mock(FeatureFileContentRenderer.class);
    runnerFileContentRenderer = mock(RunnerFileContentRenderer.class);
    fileIO = mock(FileIO.class);
    fileSystemManager = mock(FileSystemManager.class);
    logger = mock(CucableLogger.class);
    propertyManager = new PropertyManager(logger, fileIO);
    featureFileConverter = new FeatureFileConverter(propertyManager, gherkinDocumentParser, featureFileContentRenderer, runnerFileContentRenderer, fileIO, fileSystemManager, logger);
}
Also used : PropertyManager(com.trivago.properties.PropertyManager) CucableLogger(com.trivago.logging.CucableLogger) RunnerFileContentRenderer(com.trivago.runners.RunnerFileContentRenderer) GherkinDocumentParser(com.trivago.gherkin.GherkinDocumentParser) FileSystemManager(com.trivago.files.FileSystemManager) FileIO(com.trivago.files.FileIO) Before(org.junit.Before)

Example 2 with FileIO

use of com.trivago.files.FileIO in project cucable-plugin by trivago.

the class RunnerFileContentRendererTest method setup.

@Before
public void setup() {
    fileIO = mock(FileIO.class);
    propertyManager = mock(PropertyManager.class);
    CucableLogger logger = mock(CucableLogger.class);
    runnerFileContentRenderer = new RunnerFileContentRenderer(fileIO, propertyManager, logger);
}
Also used : PropertyManager(com.trivago.properties.PropertyManager) CucableLogger(com.trivago.logging.CucableLogger) FileIO(com.trivago.files.FileIO) Before(org.junit.Before)

Aggregations

FileIO (com.trivago.files.FileIO)2 CucableLogger (com.trivago.logging.CucableLogger)2 PropertyManager (com.trivago.properties.PropertyManager)2 Before (org.junit.Before)2 FileSystemManager (com.trivago.files.FileSystemManager)1 GherkinDocumentParser (com.trivago.gherkin.GherkinDocumentParser)1 RunnerFileContentRenderer (com.trivago.runners.RunnerFileContentRenderer)1