Ejemplo n.º 1
0
 protected override void Context()
 {
     _populationPKAnalysesTask         = A.Fake <IPKAnalysesTask>();
     _simulationResultsCreator         = A.Fake <ISimulationResultsCreator>();
     _displayUnitUpdater               = A.Fake <IDisplayUnitUpdater>();
     _dataRepositoryFromResultsCreator = A.Fake <IDataRepositoryFromResultsCreator>();
     sut = new SimulationResultsSynchronizer(_populationPKAnalysesTask, _simulationResultsCreator, _displayUnitUpdater, _dataRepositoryFromResultsCreator);
 }
Ejemplo n.º 2
0
 public SimulationResultsTask(IChartTemplatingTask chartTemplatingTask, ISimulationResultsSynchronizer simulationResultsSynchronizer, ICloner cloner, ISimulationResultsCreator simulationResultsCreator,
                              IDataRepositoryFromResultsCreator dataRepositoryCreator)
 {
     _chartTemplatingTask           = chartTemplatingTask;
     _simulationResultsSynchronizer = simulationResultsSynchronizer;
     _cloner = cloner;
     _simulationResultsCreator = simulationResultsCreator;
     _dataRepositoryCreator    = dataRepositoryCreator;
 }
Ejemplo n.º 3
0
 public SimulationResultsLoader(ISimulationResultsQuery simulationResultsQuery, IDataRepositoryQuery dataRepositoryQuery,
                                ICompressedSerializationManager serializationManager, ISimulationResultsCreator simulationResultsCreator, IDataRepositoryFromResultsCreator dataRepositoryFromResultsCreator)
 {
     _simulationResultsQuery           = simulationResultsQuery;
     _dataRepositoryQuery              = dataRepositoryQuery;
     _serializationManager             = serializationManager;
     _simulationResultsCreator         = simulationResultsCreator;
     _dataRepositoryFromResultsCreator = dataRepositoryFromResultsCreator;
 }
Ejemplo n.º 4
0
 protected override void Context()
 {
     _chartTemplatingTask           = A.Fake <IChartTemplatingTask>();
     _renameBuildingBlockTask       = A.Fake <IRenameBuildingBlockTask>();
     _simulationResultsSynchronizer = A.Fake <ISimulationResultsSynchronizer>();
     _simulationResultsCreator      = A.Fake <ISimulationResultsCreator>();
     _dataRepositoryCreator         = A.Fake <IDataRepositoryFromResultsCreator>();
     _cloner = A.Fake <ICloner>();
     sut     = new SimulationResultsTask(_chartTemplatingTask, _simulationResultsSynchronizer, _cloner, _simulationResultsCreator, _dataRepositoryCreator);
 }
 public SimulationResultsSynchronizer(
     IPKAnalysesTask populationPKAnalysesTask,
     ISimulationResultsCreator simulationResultsCreator,
     IDisplayUnitUpdater displayUnitUpdater,
     IDataRepositoryFromResultsCreator dataRepositoryFromResultsCreator)
 {
     _populationPKAnalysesTask         = populationPKAnalysesTask;
     _simulationResultsCreator         = simulationResultsCreator;
     _displayUnitUpdater               = displayUnitUpdater;
     _dataRepositoryFromResultsCreator = dataRepositoryFromResultsCreator;
 }