protected override Task Context() { _snapshotTask = A.Fake <ISnapshotTask>(); _jsonSerializer = A.Fake <IJsonSerializer>(); _workspace = A.Fake <ICoreWorkspace>(); _workspacePersistor = A.Fake <IWorkspacePersistor>(); _exportSimulationRunner = A.Fake <IExportSimulationRunner>(); _logger = A.Fake <ILogger>(); _dataRepositoryTask = A.Fake <IDataRepositoryTask>(); _markdownReporterTask = A.Fake <IMarkdownReporterTask>(); sut = new QualificationRunner(_snapshotTask, _jsonSerializer, _workspace, _workspacePersistor, _exportSimulationRunner, _dataRepositoryTask, _markdownReporterTask, _logger); _runOptions = new QualificationRunOptions(); _qualificationConfiguration = new QualifcationConfiguration(); return(_completed); }
public QualificationRunner(ISnapshotTask snapshotTask, IJsonSerializer jsonSerializer, ICoreWorkspace workspace, IWorkspacePersistor workspacePersistor, IExportSimulationRunner exportSimulationRunner, IDataRepositoryExportTask dataRepositoryExportTask, IMarkdownReporterTask markdownReporterTask, ILogger logger ) { _snapshotTask = snapshotTask; _jsonSerializer = jsonSerializer; _workspace = workspace; _workspacePersistor = workspacePersistor; _logger = logger; _exportSimulationRunner = exportSimulationRunner; _dataRepositoryExportTask = dataRepositoryExportTask; _markdownReporterTask = markdownReporterTask; }
public ExportMarkdownUICommand(IMarkdownReporterTask markdownReporterTask, IDialogCreator dialogCreator) { _markdownReporterTask = markdownReporterTask; _dialogCreator = dialogCreator; }