コード例 #1
0
 public CommandRunner(
     IEnsureAuthenticated ensureAuthenticated,
     IProcessLocalStudyResults processLocalStudyResults)
 {
     this.ensureAuthenticated      = ensureAuthenticated;
     this.processLocalStudyResults = processLocalStudyResults;
 }
コード例 #2
0
 public SimVersionCache(
     IEnsureAuthenticated ensureAuthenticated,
     ISimVersionClient simVersionClient,
     ILogger <SimVersionCache> logger)
 {
     this.ensureAuthenticated = ensureAuthenticated;
     this.simVersionClient    = simVersionClient;
     this.logger = logger;
 }
コード例 #3
0
 public GetStudyTypes(
     IEnsureAuthenticated ensureAuthenticated,
     IStudyClient studyClient,
     ILogger <GetStudyTypes> logger)
 {
     this.studyClient         = studyClient;
     this.ensureAuthenticated = ensureAuthenticated;
     this.logger = logger;
 }
コード例 #4
0
 public CommandRunner(
     IEnsureAuthenticated ensureAuthenticated,
     IMembershipClient membershipClient,
     ILogger <CommandRunner> logger)
 {
     this.ensureAuthenticated = ensureAuthenticated;
     this.membershipClient    = membershipClient;
     this.logger = logger;
 }
コード例 #5
0
 public GetStudy(
     IEnsureAuthenticated ensureAuthenticated,
     IProcessLocalStudyResults processLocalStudyResults,
     IGetCreatedOutputFolder getCreatedOutputFolder,
     IDownloadStudy downloadStudy)
 {
     this.ensureAuthenticated      = ensureAuthenticated;
     this.processLocalStudyResults = processLocalStudyResults;
     this.getCreatedOutputFolder   = getCreatedOutputFolder;
     this.downloadStudy            = downloadStudy;
 }
コード例 #6
0
        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);
        }
コード例 #7
0
 public GetSchemas(
     IEnsureAuthenticated ensureAuthenticated,
     ISimVersionCache simVersionCache,
     IGetSchemas getSchemas,
     IWriteFileMock writeFileMock,
     ILogger <GetSchemas> logger)
 {
     this.ensureAuthenticated = ensureAuthenticated;
     this.simVersionCache     = simVersionCache;
     this.getSchemas          = getSchemas;
     this.writeFileMock       = writeFileMock;
     this.logger = logger;
 }
コード例 #8
0
 public RunDownloader(
     IEnsureAuthenticated ensureAuthenticated,
     IGetCreatedOutputFolder getCreatedOutputFolder,
     IMonitorDownloads monitorDownloads,
     IProcessDownloads processDownloads,
     ILogger <RunDownloader> logger)
 {
     this.getCreatedOutputFolder = getCreatedOutputFolder;
     this.ensureAuthenticated    = ensureAuthenticated;
     this.monitorDownloads       = monitorDownloads;
     this.processDownloads       = processDownloads;
     this.logger = logger;
 }
コード例 #9
0
        public RunDownloaderTests()
        {
            this.ensureAuthenticated    = Substitute.For <IEnsureAuthenticated>();
            this.getCreatedOutputFolder = Substitute.For <IGetCreatedOutputFolder>();
            this.monitorDownloads       = Substitute.For <IMonitorDownloads>();
            this.processDownloads       = Substitute.For <IProcessDownloads>();
            this.logger = Substitute.For <ILogger <RunDownloader> >();

            this.target = new (
                this.ensureAuthenticated,
                this.getCreatedOutputFolder,
                this.monitorDownloads,
                this.processDownloads,
                this.logger);
        }
コード例 #10
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;
 }
コード例 #11
0
 public GetConfigs(
     IEnsureAuthenticated ensureAuthenticated,
     ISimVersionCache simVersionCache,
     IGetUserIdFromUsername getUserIdFromUsername,
     IConfigClient configClient,
     IWriteFile writeFile,
     IGetCreatedOutputFolder getCreatedOutputFolder,
     ILogger <GetConfigs> logger)
 {
     this.ensureAuthenticated    = ensureAuthenticated;
     this.simVersionCache        = simVersionCache;
     this.getUserIdFromUsername  = getUserIdFromUsername;
     this.configClient           = configClient;
     this.writeFile              = writeFile;
     this.getCreatedOutputFolder = getCreatedOutputFolder;
     this.logger = logger;
 }
コード例 #12
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;
 }
コード例 #13
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;
 }