예제 #1
0
 public SimVersionCache(
     IEnsureAuthenticated ensureAuthenticated,
     ISimVersionClient simVersionClient,
     ILogger <SimVersionCache> logger)
 {
     this.ensureAuthenticated = ensureAuthenticated;
     this.simVersionClient    = simVersionClient;
     this.logger = logger;
 }
예제 #2
0
 public GetDefaultConfig(
     IGetDefaultConfigPath getDefaultConfigPath,
     ISimVersionClient simVersionClient,
     ILogger <GetDefaultConfig> logger)
 {
     this.getDefaultConfigPath = getDefaultConfigPath;
     this.simVersionClient     = simVersionClient;
     this.logger = logger;
 }
        public SimVersionCacheTests()
        {
            this.ensureAuthenticated = Substitute.For <IEnsureAuthenticated>();
            this.simVersionClient    = Substitute.For <ISimVersionClient>();
            this.logger = Substitute.For <ILogger <SimVersionCache> >();

            this.target = new SimVersionCache(
                this.ensureAuthenticated,
                this.simVersionClient,
                this.logger);
        }
예제 #4
0
 public GetSchemas(
     IEnsureAuthenticated ensureAuthenticated,
     ISimVersionCache simVersionCache,
     ISimVersionClient simVersionClient,
     IWriteFile writeFile,
     IGetCreatedOutputFolder getCreatedOutputFolder,
     ILogger <GetSchemas> logger)
 {
     this.ensureAuthenticated    = ensureAuthenticated;
     this.simVersionCache        = simVersionCache;
     this.simVersionClient       = simVersionClient;
     this.writeFile              = writeFile;
     this.getCreatedOutputFolder = getCreatedOutputFolder;
     this.logger = logger;
 }
예제 #5
0
 public GetConfigs(
     IEnsureAuthenticated ensureAuthenticated,
     IGetDefaultConfigPath getDefaultConfigPath,
     ISimVersionCache simVersionCache,
     ISimVersionClient simVersionClient,
     IConfigClient configClient,
     IGetConfigs getConfigs,
     IWriteFileMock writeFileMock,
     ILogger <GetConfigs> logger)
 {
     this.ensureAuthenticated  = ensureAuthenticated;
     this.getDefaultConfigPath = getDefaultConfigPath;
     this.simVersionCache      = simVersionCache;
     this.simVersionClient     = simVersionClient;
     this.configClient         = configClient;
     this.getConfigs           = getConfigs;
     this.writeFileMock        = writeFileMock;
     this.logger = logger;
 }
예제 #6
0
 public GetStudy(
     IEnsureAuthenticated ensureAuthenticated,
     ISimVersionCache simVersionCache,
     IGetDefaultConfig getDefaultConfig,
     IGetDefaultConfigPath getDefaultConfigPath,
     ISimVersionClient simVersionClient,
     IStudyClient studyClient,
     IWaitForStudy waitForStudy,
     IGetStudy getStudy,
     IDownloadBlobDirectoryMock downloadBlobDirectoryMock,
     ILogger <GetStudy> logger)
 {
     this.ensureAuthenticated       = ensureAuthenticated;
     this.simVersionCache           = simVersionCache;
     this.getDefaultConfig          = getDefaultConfig;
     this.getDefaultConfigPath      = getDefaultConfigPath;
     this.simVersionClient          = simVersionClient;
     this.studyClient               = studyClient;
     this.waitForStudy              = waitForStudy;
     this.getStudy                  = getStudy;
     this.downloadBlobDirectoryMock = downloadBlobDirectoryMock;
     this.logger = logger;
 }