public void TestInitialize() { _tldc = new TestLocalDataContext(); TestDataFiller.Fill(_tldc); _testDataService = new TestDataService(_tldc); _dataContext = new DataContext(_testDataService); }
public NotesController( INoteService noteService, IUserSettingsService userSettingsService, ITestDataService testDataService) { _noteService = noteService; _userSettingsService = userSettingsService; _testDataService = testDataService; }
public void SetupWorkspaceWithSampleDb() { _testConfiguration = ConfigureWorkspaceWithSampleDb(); _executionService = new CommandLineExecutionService(_testConfiguration.CliProcessPath); //create test data service provider var testDataServiceFactory = new TestDataServiceFactory(); _testDataService = testDataServiceFactory.Create(_testConfiguration.Platform); }
/// <summary> /// Initializes a new instance of the <see cref="ReportLinkDataService" /> class. /// </summary> /// <param name="mapperFactory">The mapper factory.</param> /// <param name="table">The table.</param> /// <param name="testDataService">The test data service.</param> /// <param name="sharedTestDataService">The shared test data service.</param> public ReportLinkDataService( IMapperFactory mapperFactory, IRepository <TblReportExecutionLinkData> table, ITestDataService testDataService, ISharedTestDataService sharedTestDataService) : base(mapperFactory, table) { this.testDataService = testDataService; this.sharedTestDataService = sharedTestDataService; }
public RibbonViewModel(ITestDataService testDataService, IFilterSchemeManager filterSchemeManager, IFilterService filterService, IUIVisualizerService uiVisualizerService) { _testDataService = testDataService; _filterSchemeManager = filterSchemeManager; _filterService = filterService; _uiVisualizerService = uiVisualizerService; RawItems = _testDataService.GetTestItems(); NewSchemeCommand = new Command(OnNewSchemeExecute); }
public void SetupWorkspaceWithSampleDb() { //ensures connection string values with double quote are preserved in when passed along the CLI _testConfiguration = ConfigureWorkspaceWithSampleDb(); _executionService = new CommandLineExecutionService(_testConfiguration.CliProcessPath); //create test data service provider var testDataServiceFactory = new TestDataServiceFactory(); _testDataService = testDataServiceFactory.Create(_testConfiguration.Platform); }
public RibbonViewModel(ITestDataService testDataService, IFilterSchemeManager filterSchemeManager, IFilterService filterService, IUIVisualizerService uiVisualizerService) { _testDataService = testDataService; _filterSchemeManager = filterSchemeManager; _filterService = filterService; _uiVisualizerService = uiVisualizerService; RawItems = _testDataService.GetTestItems(); NewSchemeCommand = new TaskCommand(OnNewSchemeExecuteAsync); }
public MainWindowViewModel(ITestDataService testDataService) { Argument.IsNotNull(() => testDataService); _testDataService = testDataService; RawItems = _testDataService.GenerateTestItems(); FilteredItems = new FastObservableCollection<TestEntity>(); FilteredItems.CollectionChanged += (sender, e) => Console.WriteLine("Collection updated"); }
public void Setup() { _testConfiguration = base.ConfigureWithEmptyWorkspace(); //create test data service provider var testDataServiceFactory = new TestDataServiceFactory(); _testDataService = testDataServiceFactory.Create(_testConfiguration.Platform); //create data service factory for migration proper _traceService = new FileTraceService(); _migrationServiceFactory = new MigrationServiceFactory(_traceService); }
public MainViewModel(ITestDataService testDataService, IFilterService filterService) { Argument.IsNotNull(() => testDataService); Argument.IsNotNull(() => filterService); _testDataService = testDataService; _filterService = filterService; _filterService.SelectedFilterChanged += OnFilterServiceSelectedFilterChanged; RawItems = _testDataService.GetTestItems(); FilteredItems = new FastObservableCollection<TestEntity>(); FilteredItems.CollectionChanged += (sender, e) => Log.Info("Collection updated"); }
public AmbulatoryViewModelFactory( IDbContextFactory <HospitalDbContext> contextFactory, ITestDataService testDataService, ITherapyDataService therapyDataService, AmbulatoryDataService ambulatoryDataService, EntryDataService entryDataServices) { _contextFactory = contextFactory; _testDataService = testDataService; _therapyDataService = therapyDataService; _ambulatoryDataService = ambulatoryDataService; _entryDataServices = entryDataServices; }
public MainViewModel(ITestDataService testDataService, IFilterService filterService) { Argument.IsNotNull(() => testDataService); Argument.IsNotNull(() => filterService); _testDataService = testDataService; _filterService = filterService; _filterService.SelectedFilterChanged += OnFilterServiceSelectedFilterChanged; RawItems = _testDataService.GetTestItems(); FilteredItems = new FastObservableCollection <TestEntity>(); FilteredItems.CollectionChanged += (sender, e) => Log.Info("Collection updated"); }
public TestDataController(ITestDataService testDataService) { _testDataService = testDataService; }
/// <summary> /// Initializes a new instance of the <see cref="TestController"/> class. /// </summary> /// <param name="loggerService">The logger service.</param> /// <param name="testService">The test service.</param> /// <param name="testDataService">The test data service.</param> public TestController(ILoggerService loggerService, ITestService testService, ITestDataService testDataService) : base(loggerService) { this.testService = testService; this.testDataService = testDataService; }
public MatchService(DbService dbService, ITestDataService testDataService, ITeamService teamService) { _dbService = dbService; _testDataService = testDataService; _teamService = teamService; }
public SetupController(ITestDataService service) { this.service = service; }
public MedCardController(ITestDataService dataService, EntryDataService entryDataService) { _testDataService = dataService; _entryDataService = entryDataService; }
public TestController(ITestDataService testDataService) { this.testDataService = testDataService; }
public TestDataController(ITestDataService testDataService) { this.TestDataService = testDataService; this.AddDisposableObject(testDataService); }
public TestApiController(IConfigurationService configuration, ITestDataService service) { this.configuration = configuration; this.service = service; }
public ExcepitionTaskTests() { _testDataService = _lifeTimeScope.Resolve <ITestDataService>(); }
public CreatePhoneCallForNewLeadTests() { _testDataService = _lifeTimeScope.Resolve <ITestDataService>(); }
public DraftService(ITestDataService testDataService) { _testDataService = testDataService; }
public UsersController(ITestDataService testDataService, IMapper mapper) { _testDataService = testDataService; _mapper = mapper; }
public TestContainer(ITestDataService testDataService) { _testDataService = testDataService; }
/// <summary> /// Initializes a new instance of the <see cref="TestDataController"/> class. /// </summary> /// <param name="loggerService">The logger service.</param> /// <param name="testDataService">The test data service.</param> /// <param name="testDataSharedTestDataMapService">The shared test data service.</param> public TestDataController(ILoggerService loggerService, ITestDataService testDataService, ITestDataSharedTestDataMapService testDataSharedTestDataMapService) : base(loggerService) { this.testDataService = testDataService; this.testDataSharedTestDataMapService = testDataSharedTestDataMapService; }
public CategoriesController(ITestDataService testDataService, IMapper mapper) { _testDataService = testDataService; _mapper = mapper; }
public DiagnosticViewModel(ITestDataService testDataService) { PhysicalContainer = new TestContainer(testDataService); ToolContainer = new TestContainer(testDataService); LabContainer = new TestContainer(testDataService); }
public CrmTestBase() { TestData = _lifeTimeScope.Resolve <ITestDataService>(); CrmTestDataService.AddCleanUpDeleteHanlder(new LeadDeleteHandler()); }