Beispiel #1
0
 public CreatedSmokeTestApplication(ISmokeTestApplication source, ISmokeTestApplicationRepository smokeTestApplicationRepository, IApprendaTestSession session)
 {
     AppAlias = source.AppAlias;
     SmokeTestApplicationName        = source.SmokeTestApplicationName;
     _smokeTestApplicationRepository = smokeTestApplicationRepository;
     _session = session;
 }
Beispiel #2
0
 protected BaseSmokeTest(ISmokeTestSettingsRepository connectionSettingsFactory,
                         ISmokeTestApplicationRepository smokeTestApplicationRepository,
                         ITelemetryReportingService reportingService,
                         IUserLoginRepository userLoginRepository   = null,
                         IApprendaApiClientFactory apiClientFactory = null)
 {
     _connectionSettingsFactory      = connectionSettingsFactory;
     _smokeTestApplicationRepository = smokeTestApplicationRepository;
     _reportingService    = reportingService;
     _apiClientFactory    = apiClientFactory ?? new ApprendaApiClientFactory(_connectionSettingsFactory);
     _userLoginRepository = userLoginRepository ?? new SingleUserLoginRepository(_connectionSettingsFactory);
 }