public override void Asserts(DBVersionsUITestContext testContext) { _devEnv_Restore_SyncDB_API.Asserts(testContext); _dbVersionsViewModelAsserts.AssertScriptErrorForMiddleState(this.GetType().Name, _dbVersionsViewModel, testContext.ProjectConfig.DevEnvironment); _dbVersionsViewModelAsserts.AssertViewStateHistory(this.GetType().Name, testContext.ViewStatesHistory, DBVersionsViewStateType.ReadyToRunSync); }
public override void Asserts(CLITestContext testContext) { _devEnv_Restore_SyncDB_API.Asserts(testContext); AssertTextByLines assertConsoleOutTextByLines = new AssertTextByLines(GetType().Name, "FinalConsoleOut", testContext.FinalConsoleOut, 1); assertConsoleOutTextByLines.AssertLineMessage("> Run 'sync' for 'IntegrationTestProject'", true); AssertTextByLines assertErrorsTextByLines = new AssertTextByLines(GetType().Name, "ConsoleError", testContext.ConsoleError, null); assertErrorsTextByLines.AssertLineMessage(CLITextResources.ProcessCompleteWithErrors, true); assertErrorsTextByLines.AssertLineMessage("--------------------------------", true); assertErrorsTextByLines.AssertLineMessage("incScript_0004_CreateTransTable1.sql 0% (0/1) >>> Execute Script Block. Error: System.Exception: Error Message: 'Column, parameter, or variable #3: Cannot find data type nvarcharaaaa.', Script: ", false); }