/// <summary>
		/// Local Test Service constructor
		/// </summary>
		/// <param name="testFileLocker">the testFileLocker</param>
		/// <param name="testsystemRepository">the testSystemRepository</param>
		/// <param name="languageRepository">the languageRepository</param>
		/// <param name="browserRepository">the browserRepository</param>
		/// <param name="testerRepository">the testerRepository</param>
		/// <param name="testsuiteRepository">the testsuiteRepository</param>
		/// <param name="testcaseRepository">the testcaseRepository</param>
		/// <param name="testPool">the testPool</param>
		public LocalTestService(ITestFileLocker testFileLocker, ITestsystemRepository testsystemRepository,
			ILanguageRepository languageRepository, IBrowserRepository browserRepository, ITesterRepository testerRepository,
			ITestsuiteRepository testsuiteRepository, ITestcaseRepository testcaseRepository, ITestPool testPool)
		{
			if (testFileLocker == null)
				throw new ArgumentNullException("testFileLocker");
			if (testsystemRepository == null)
				throw new ArgumentNullException("testsystemRepository");
			if (languageRepository == null)
				throw new ArgumentNullException("languageRepository");
			if (browserRepository == null)
				throw new ArgumentNullException("browserRepository");
			if (testerRepository == null)
				throw new ArgumentNullException("testerRepository");
			if (testsuiteRepository == null)
				throw new ArgumentNullException("testsuiteRepository");
			if (testcaseRepository == null)
				throw new ArgumentNullException("testcaseRepository");
			if (testPool == null)
				throw new ArgumentNullException("testPool");

			_testFileLocker = testFileLocker;
			_testsystemRepository = testsystemRepository;
			_languageRepository = languageRepository;
			_browserRepository = browserRepository;
			_testerRepository = testerRepository;
			_testsuiteRepository = testsuiteRepository;
			_testcaseRepository = testcaseRepository;
			_testPool = testPool;
		}
Пример #2
0
        /// <summary>
        /// Create a new SettingsService
        /// </summary>
        /// <param name="browserRepository">the BrowserRepository</param>
        /// <param name="languageRepository">the LanguageRepository</param>
        /// <param name="testerRepository">the TesterRepository</param>
        /// <param name="testsystemRepository">the TestsystemRepository</param>
        /// <param name="testcaseRepository">the TestcaseRepository</param>
        /// <param name="testsuiteRepository">the TestsuiteRepository</param>
        public SettingsService(IBrowserRepository browserRepository, ILanguageRepository languageRepository,
                               ITesterRepository testerRepository, ITestsystemRepository testsystemRepository, ITestcaseRepository testcaseRepository, ITestsuiteRepository testsuiteRepository)
        {
            if (browserRepository == null)
            {
                throw new ArgumentNullException("browserRepository");
            }
            if (languageRepository == null)
            {
                throw new ArgumentNullException("languageRepository");
            }
            if (testerRepository == null)
            {
                throw new ArgumentNullException("testerRepository");
            }
            if (testsystemRepository == null)
            {
                throw new ArgumentNullException("testsystemRepository");
            }
            if (testcaseRepository == null)
            {
                throw new ArgumentNullException("testcaseRepository");
            }
            if (testsuiteRepository == null)
            {
                throw new ArgumentNullException("testsuiteRepository");
            }

            _browserRepository    = browserRepository;
            _languageRepository   = languageRepository;
            _testerRepository     = testerRepository;
            _testsystemRepository = testsystemRepository;
            _testcaseRepository   = testcaseRepository;
            _testsuiteRepository  = testsuiteRepository;
        }
Пример #3
0
 /// <summary>
 /// Create a new nodeService
 /// </summary>
 /// <param name="testPool">the testPool</param>
 /// <param name="testFileLocker">the testFileLocker</param>
 /// <param name="resultRepository">the resultRepository</param>
 /// <param name="historyResultRepository">the historyResultRepository</param>
 /// <param name="browserRepository">the browserRepository</param>
 public NodeService(ITestPool testPool, ITestFileLocker testFileLocker, IResultRepository resultRepository, IHistoryResultRepository historyResultRepository, IBrowserRepository browserRepository)
 {
     if (testPool == null)
     {
         throw new ArgumentNullException("testPool");
     }
     if (testFileLocker == null)
     {
         throw new ArgumentNullException("testFileLocker");
     }
     if (resultRepository == null)
     {
         throw new ArgumentNullException("resultRepository");
     }
     if (historyResultRepository == null)
     {
         throw new ArgumentNullException("historyResultRepository");
     }
     if (browserRepository == null)
     {
         throw new ArgumentNullException("browserRepository");
     }
     _testPool                = testPool;
     _testFileLocker          = testFileLocker;
     _resultRepository        = resultRepository;
     _historyResultRepository = historyResultRepository;
     _browserRepository       = browserRepository;
 }
Пример #4
0
 public ProjectAppService(ISearchRepository searchRepository, IClientIdSettingsRepository settingsRepository, ILocalDatabaseRepository databaseRepository, IBrowserRepository browserRepository, IShareRepository shareRepository)
 {
     _searchRepository   = searchRepository;
     _settingsRepository = settingsRepository;
     _databaseRepository = databaseRepository;
     _browserRepository  = browserRepository;
     _shareRepository    = shareRepository;
 }
Пример #5
0
        /// <summary>
        /// Local Test Service constructor
        /// </summary>
        /// <param name="testFileLocker">the testFileLocker</param>
        /// <param name="testsystemRepository">the testSystemRepository</param>
        /// <param name="languageRepository">the languageRepository</param>
        /// <param name="browserRepository">the browserRepository</param>
        /// <param name="testerRepository">the testerRepository</param>
        /// <param name="testsuiteRepository">the testsuiteRepository</param>
        /// <param name="testcaseRepository">the testcaseRepository</param>
        /// <param name="testPool">the testPool</param>
        public LocalTestService(ITestFileLocker testFileLocker, ITestsystemRepository testsystemRepository,
                                ILanguageRepository languageRepository, IBrowserRepository browserRepository, ITesterRepository testerRepository,
                                ITestsuiteRepository testsuiteRepository, ITestcaseRepository testcaseRepository, ITestPool testPool)
        {
            if (testFileLocker == null)
            {
                throw new ArgumentNullException("testFileLocker");
            }
            if (testsystemRepository == null)
            {
                throw new ArgumentNullException("testsystemRepository");
            }
            if (languageRepository == null)
            {
                throw new ArgumentNullException("languageRepository");
            }
            if (browserRepository == null)
            {
                throw new ArgumentNullException("browserRepository");
            }
            if (testerRepository == null)
            {
                throw new ArgumentNullException("testerRepository");
            }
            if (testsuiteRepository == null)
            {
                throw new ArgumentNullException("testsuiteRepository");
            }
            if (testcaseRepository == null)
            {
                throw new ArgumentNullException("testcaseRepository");
            }
            if (testPool == null)
            {
                throw new ArgumentNullException("testPool");
            }

            _testFileLocker       = testFileLocker;
            _testsystemRepository = testsystemRepository;
            _languageRepository   = languageRepository;
            _browserRepository    = browserRepository;
            _testerRepository     = testerRepository;
            _testsuiteRepository  = testsuiteRepository;
            _testcaseRepository   = testcaseRepository;
            _testPool             = testPool;
        }
Пример #6
0
		/// <summary>
		/// Create a new nodeService
		/// </summary>
		/// <param name="testPool">the testPool</param>
		/// <param name="testFileLocker">the testFileLocker</param>
		/// <param name="resultRepository">the resultRepository</param>
		/// <param name="historyResultRepository">the historyResultRepository</param>
		/// <param name="browserRepository">the browserRepository</param>
		public NodeService(ITestPool testPool, ITestFileLocker testFileLocker, IResultRepository resultRepository, IHistoryResultRepository historyResultRepository, IBrowserRepository browserRepository)
		{
			if (testPool == null)
				throw new ArgumentNullException("testPool");
			if (testFileLocker == null)
				throw new ArgumentNullException("testFileLocker");
			if (resultRepository == null)
				throw new ArgumentNullException("resultRepository");
			if (historyResultRepository == null)
				throw new ArgumentNullException("historyResultRepository");
			if (browserRepository == null)
				throw new ArgumentNullException("browserRepository");
			_testPool = testPool;
			_testFileLocker = testFileLocker;
			_resultRepository = resultRepository;
			_historyResultRepository = historyResultRepository;
			_browserRepository = browserRepository;
		}
Пример #7
0
		/// <summary>
		/// Create a new SettingsService
		/// </summary>
		/// <param name="browserRepository">the BrowserRepository</param>
		/// <param name="languageRepository">the LanguageRepository</param>
		/// <param name="testerRepository">the TesterRepository</param>
		/// <param name="testsystemRepository">the TestsystemRepository</param>
		/// <param name="testcaseRepository">the TestcaseRepository</param>
		/// <param name="testsuiteRepository">the TestsuiteRepository</param>
		public SettingsService(IBrowserRepository browserRepository, ILanguageRepository languageRepository, 
			ITesterRepository testerRepository, ITestsystemRepository testsystemRepository, ITestcaseRepository testcaseRepository, ITestsuiteRepository testsuiteRepository)
		{
			if (browserRepository == null)
				throw new ArgumentNullException("browserRepository");
			if (languageRepository == null)
				throw new ArgumentNullException("languageRepository");
			if (testerRepository == null)
				throw new ArgumentNullException("testerRepository");
			if (testsystemRepository == null)
				throw new ArgumentNullException("testsystemRepository");
			if (testcaseRepository == null)
				throw new ArgumentNullException("testcaseRepository");
			if (testsuiteRepository == null)
				throw new ArgumentNullException("testsuiteRepository");

			_browserRepository = browserRepository;
			_languageRepository = languageRepository;
			_testerRepository = testerRepository;
			_testsystemRepository = testsystemRepository;
			_testcaseRepository = testcaseRepository;
			_testsuiteRepository = testsuiteRepository;
		}
Пример #8
0
 public override void SetRepositories()
 {
     _Service = new BrowserService <BrowserViewModel>((U, P, C, A) =>
                                                      ExecuteQueryWithReturnTypeAndNetworkAccessAsync <BrowserViewModel>(U, P, C, A));
     _Reposetory = new BrowserRepository <BrowserViewModel>(_MasterRepo, _Service);
 }
Пример #9
0
 public ShopBrowserKernel(IBrowserRepository repository)
 {
     _repository = repository;
 }
 public UserSessionContainer(IBrowserRepository browserRepository)
 {
     this.browserRepository = browserRepository;
 }