use of com.trivago.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();
}
use of com.trivago.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);
fileSystemManager = mock(FileSystemManager.class);
logger = mock(CucableLogger.class);
propertyManager = new PropertyManager(logger, fileIO);
featureFileConverter = new FeatureFileConverter(propertyManager, gherkinDocumentParser, featureFileContentRenderer, runnerFileContentRenderer, fileIO, fileSystemManager, logger);
}
use of com.trivago.properties.PropertyManager 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);
}
use of com.trivago.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);
}
Aggregations