Search in sources :

Example 1 with PropertyManager

use of com.trivago.rta.properties.PropertyManager in project cucable-plugin by trivago.

the class CucableLoggerTest method setup.

@Before
public void setup() {
    mockedLogger = mock(Log.class);
    PropertyManager propertyManager = mock(PropertyManager.class);
    logger = new CucableLogger();
}
Also used : Log(org.apache.maven.plugin.logging.Log) PropertyManager(com.trivago.rta.properties.PropertyManager) Before(org.junit.Before)

Example 2 with PropertyManager

use of com.trivago.rta.properties.PropertyManager 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);
    CucableLogger logger = mock(CucableLogger.class);
    propertyManager = new PropertyManager(logger);
    featureFileConverter = new FeatureFileConverter(propertyManager, gherkinDocumentParser, featureFileContentRenderer, runnerFileContentRenderer, fileIO, logger);
}
Also used : PropertyManager(com.trivago.rta.properties.PropertyManager) CucableLogger(com.trivago.rta.logging.CucableLogger) RunnerFileContentRenderer(com.trivago.rta.runners.RunnerFileContentRenderer) GherkinDocumentParser(com.trivago.rta.gherkin.GherkinDocumentParser) FileIO(com.trivago.rta.files.FileIO) Before(org.junit.Before)

Example 3 with PropertyManager

use of com.trivago.rta.properties.PropertyManager in project cucable-plugin by trivago.

the class CucablePluginTest method setup.

@Before
public void setup() {
    logger = mock(CucableLogger.class);
    mojoLogger = mock(Log.class);
    logger.initialize(mojoLogger, "default");
    PropertyManager propertyManager = mock(PropertyManager.class);
    FileSystemManager fileSystemManager = mock(FileSystemManager.class);
    FeatureFileConverter featureFileConverter = mock(FeatureFileConverter.class);
    cucablePlugin = new CucablePlugin(propertyManager, fileSystemManager, featureFileConverter, logger);
}
Also used : Log(org.apache.maven.plugin.logging.Log) PropertyManager(com.trivago.rta.properties.PropertyManager) FeatureFileConverter(com.trivago.rta.features.FeatureFileConverter) CucableLogger(com.trivago.rta.logging.CucableLogger) FileSystemManager(com.trivago.rta.files.FileSystemManager) Before(org.junit.Before)

Aggregations

PropertyManager (com.trivago.rta.properties.PropertyManager)3 Before (org.junit.Before)3 CucableLogger (com.trivago.rta.logging.CucableLogger)2 Log (org.apache.maven.plugin.logging.Log)2 FeatureFileConverter (com.trivago.rta.features.FeatureFileConverter)1 FileIO (com.trivago.rta.files.FileIO)1 FileSystemManager (com.trivago.rta.files.FileSystemManager)1 GherkinDocumentParser (com.trivago.rta.gherkin.GherkinDocumentParser)1 RunnerFileContentRenderer (com.trivago.rta.runners.RunnerFileContentRenderer)1