public void SetupWorkspaceWithSampleDb() { _testConfiguration = ConfigureWorkspaceWithSampleDb(); _executionService = new CommandLineExecutionService(_testConfiguration.CliProcessPath); //create test data service provider var testDataServiceFactory = new TestDataServiceFactory(); _testDataService = testDataServiceFactory.Create(_testConfiguration.Platform); }
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 void Setup() { _testConfiguration = ConfigureWithEmptyWorkspace(); //create test data service provider var testDataServiceFactory = new TestDataServiceFactory(); _testDataService = testDataServiceFactory.Create(_testConfiguration.Platform); //create data service factory for migration proper _directoryService = new DirectoryService(); _traceService = new FileTraceService(_directoryService) { IsDebugEnabled = true }; _migrationServiceFactory = new MigrationServiceFactory(_traceService); }