public override ITestContext Arrange(TestArgs testArgs) { ITestContext testContext = _projectConfigWithDBArrangeAndAssert.Arrange(testArgs, false, DBBackupFileType.FinalState_DeliveryEnv, ScriptFilesStateType.RepeatableChanged); return(testContext); }
public override ITestContext Arrange(TestArgs testArgs) { ITestContext testContext = _projectConfigWithDBArrangeAndAssert.Arrange(testArgs, true, DBBackupFileType.MiddleState, ScriptFilesStateType.IncrementalChanged); return(testContext); }
public override ITestContext Arrange(TestArgs testArgs) { ITestContext testContext = _projectConfigWithDBArrangeAndAssert.Arrange(testArgs, true, DBBackupFileType.FinalState_DevEnv, ScriptFilesStateType.ValidScripts); ClearScriptsFiles(testContext); return(testContext); }
public override ITestContext Arrange(TestArgs testArgs) { ITestContext testContext = _projectConfigWithDBArrangeAndAssert.Arrange(testArgs, false, DBBackupFileType.MiddleState, ScriptFilesStateType.ValidScripts); ClearDeployFiles(testContext); return(testContext); }
public override ITestContext Arrange(TestArgs testArgs) { DBVersionsUITestContext testContext = new DBVersionsUITestContext(_projectConfigWithDBArrangeAndAssert.Arrange(testArgs, true, DBBackupFileType.MiddleState, ScriptFilesStateType.IncrementalChanged)); MockObjectsProvider.SetTestContextDataByMockCallbacksForUI(testContext); _dbVersionsViewModel.SetProjectConfig(testContext.ProjectConfig.Id); testContext.ClearProcessData(); return(testContext); }
public override ITestContext Arrange(TestArgs testArgs) { DBVersionsUITestContext testContext = new DBVersionsUITestContext(_projectConfigWithDBArrangeAndAssert.Arrange(testArgs, false, DBBackupFileType.FinalState_DeliveryEnv, ScriptFilesStateType.RepeatableChanged)); MockObjectsProvider.SetTestContextDataByMockCallbacksForUI(testContext); _dbVersionsViewModel.SetProjectConfig(testContext.ProjectConfig.Id); testContext.ClearProcessData(); return(testContext); }
public override ITestContext Arrange(TestArgs testArgs) { ITestContext testContext = _projectConfigWithDBArrangeAndAssert.Arrange(testArgs, false, DBBackupFileType.FinalState_DeliveryEnv, ScriptFilesStateType.ValidScripts); if (File.Exists(ScriptFullPath_DevDummyData_scriptName1)) { File.Delete(ScriptFullPath_DevDummyData_scriptName1); } return(testContext); }
public override ITestContext Arrange(TestArgs testArgs) { ITestContext testContext = _projectConfigWithDBArrangeAndAssert.Arrange(testArgs, false, DBBackupFileType.FinalState_DeliveryEnv, ScriptFilesStateType.ValidScripts); testContext.ProjectConfig.DeliveryArtifactFolderPath += "_NotExistFolderSuffix"; if (Directory.Exists(testContext.ProjectConfig.DeliveryArtifactFolderPath)) { Directory.Delete(testContext.ProjectConfig.DeliveryArtifactFolderPath); } _projectConfigsStorageHelper.PrepareTestProject(testContext.ProjectConfig); return(testContext); }
public override ITestContext Arrange(TestArgs testArgs) { return(_projectConfigWithDBArrangeAndAssert.Arrange(testArgs, true, DBBackupFileType.MiddleState, ScriptFilesStateType.ValidScripts)); }
public override ITestContext Arrange(TestArgs testArgs) { return(_projectConfigWithDBArrangeAndAssert.Arrange(testArgs, true, DBBackupFileType.EmptyDB, ScriptFilesStateType.NoScriptFiles)); }
public override ITestContext Arrange(TestArgs testArgs) { return(_projectConfigWithDBArrangeAndAssert.Arrange(testArgs, false, DBBackupFileType.FinalState_DeliveryEnv, ScriptFilesStateType.ValidScripts)); }
public override ITestContext Arrange(TestArgs testArgs) { return(_projectConfigWithDBArrangeAndAssert.Arrange(testArgs, false, DBBackupFileType.EmptyDBWithSystemTables, ScriptFilesStateType.ValidScripts)); }
public override ITestContext Arrange(TestArgs testArgs) { return(_projectConfigWithDBArrangeAndAssert.Arrange(testArgs, true, DBBackupFileType.FinalState_DevEnv, ScriptFilesStateType.MissingFile)); }
public override ITestContext Arrange(TestArgs testArgs) { return(_projectConfigWithDBArrangeAndAssert.Arrange(testArgs, false, DBBackupFileType.MiddleState, ScriptFilesStateType.WithDevDummyDataFiles)); }
public override ITestContext Arrange(TestArgs testArgs) { return(_projectConfigWithDBArrangeAndAssert.Arrange(testArgs, true, DBBackupFileType.FinalState_MissingSystemTables, ScriptFilesStateType.ValidScripts)); }