/// <summary>
        /// Required method for Designer support - do not modify 
        ///   the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            DatabaseTestAction ReturnsErrorCodeWhenAccountDoesNotExist_TestAction;
            var resources = new ComponentResourceManager(typeof(EditCurrentAccountTest));
            ScalarValueCondition scalarValueCondition1;
            this.ReturnsErrorCodeWhenAccountDoesNotExistData = new DatabaseTestActions();
            ReturnsErrorCodeWhenAccountDoesNotExist_TestAction = new DatabaseTestAction();
            scalarValueCondition1 = new ScalarValueCondition();

            // ReturnsErrorCodeWhenAccountDoesNotExistData
            this.ReturnsErrorCodeWhenAccountDoesNotExistData.PosttestAction = null;
            this.ReturnsErrorCodeWhenAccountDoesNotExistData.PretestAction = null;
            this.ReturnsErrorCodeWhenAccountDoesNotExistData.TestAction =
                ReturnsErrorCodeWhenAccountDoesNotExist_TestAction;

            // ReturnsErrorCodeWhenAccountDoesNotExist_TestAction
            ReturnsErrorCodeWhenAccountDoesNotExist_TestAction.Conditions.Add(scalarValueCondition1);
            resources.ApplyResources(
                ReturnsErrorCodeWhenAccountDoesNotExist_TestAction, "ReturnsErrorCodeWhenAccountDoesNotExist_TestAction");

            // scalarValueCondition1
            scalarValueCondition1.ColumnNumber = 1;
            scalarValueCondition1.Enabled = true;
            scalarValueCondition1.ExpectedValue = "0";
            scalarValueCondition1.Name = "scalarValueCondition1";
            scalarValueCondition1.NullExpected = false;
            scalarValueCondition1.ResultSet = 1;
            scalarValueCondition1.RowNumber = 1;
        }
Beispiel #2
0
        /// <summary>
        /// Required method for Designer support - do not modify 
        ///   the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            DatabaseTestAction AllowedToSelect_TestAction;
            var resources = new ComponentResourceManager(typeof(AccountUserTests));
            ScalarValueCondition scalarValueCondition1;
            DatabaseTestAction NotAllowedToDelete_TestAction;
            ScalarValueCondition scalarValueCondition2;
            DatabaseTestAction NotAllowedToUpdate_TestAction;
            ScalarValueCondition scalarValueCondition3;
            this.AllowedToSelectData = new DatabaseTestActions();
            this.NotAllowedToDeleteData = new DatabaseTestActions();
            this.NotAllowedToUpdateData = new DatabaseTestActions();
            AllowedToSelect_TestAction = new DatabaseTestAction();
            scalarValueCondition1 = new ScalarValueCondition();
            NotAllowedToDelete_TestAction = new DatabaseTestAction();
            scalarValueCondition2 = new ScalarValueCondition();
            NotAllowedToUpdate_TestAction = new DatabaseTestAction();
            scalarValueCondition3 = new ScalarValueCondition();

            // AllowedToSelectData
            this.AllowedToSelectData.PosttestAction = null;
            this.AllowedToSelectData.PretestAction = null;
            this.AllowedToSelectData.TestAction = AllowedToSelect_TestAction;

            // AllowedToSelect_TestAction
            AllowedToSelect_TestAction.Conditions.Add(scalarValueCondition1);
            resources.ApplyResources(AllowedToSelect_TestAction, "AllowedToSelect_TestAction");

            // scalarValueCondition1
            scalarValueCondition1.ColumnNumber = 1;
            scalarValueCondition1.Enabled = true;
            scalarValueCondition1.ExpectedValue = "0";
            scalarValueCondition1.Name = "scalarValueCondition1";
            scalarValueCondition1.NullExpected = false;
            scalarValueCondition1.ResultSet = 1;
            scalarValueCondition1.RowNumber = 1;

            // NotAllowedToDeleteData
            this.NotAllowedToDeleteData.PosttestAction = null;
            this.NotAllowedToDeleteData.PretestAction = null;
            this.NotAllowedToDeleteData.TestAction = NotAllowedToDelete_TestAction;

            // NotAllowedToDelete_TestAction
            NotAllowedToDelete_TestAction.Conditions.Add(scalarValueCondition2);
            resources.ApplyResources(NotAllowedToDelete_TestAction, "NotAllowedToDelete_TestAction");

            // scalarValueCondition2
            scalarValueCondition2.ColumnNumber = 1;
            scalarValueCondition2.Enabled = true;
            scalarValueCondition2.ExpectedValue = "0";
            scalarValueCondition2.Name = "scalarValueCondition2";
            scalarValueCondition2.NullExpected = false;
            scalarValueCondition2.ResultSet = 1;
            scalarValueCondition2.RowNumber = 1;

            // NotAllowedToUpdateData
            this.NotAllowedToUpdateData.PosttestAction = null;
            this.NotAllowedToUpdateData.PretestAction = null;
            this.NotAllowedToUpdateData.TestAction = NotAllowedToUpdate_TestAction;

            // NotAllowedToUpdate_TestAction
            NotAllowedToUpdate_TestAction.Conditions.Add(scalarValueCondition3);
            resources.ApplyResources(NotAllowedToUpdate_TestAction, "NotAllowedToUpdate_TestAction");

            // scalarValueCondition3
            scalarValueCondition3.ColumnNumber = 1;
            scalarValueCondition3.Enabled = true;
            scalarValueCondition3.ExpectedValue = "0";
            scalarValueCondition3.Name = "scalarValueCondition3";
            scalarValueCondition3.NullExpected = false;
            scalarValueCondition3.ResultSet = 1;
            scalarValueCondition3.RowNumber = 1;
        }
Beispiel #3
0
        /// <summary>
        /// Required method for Designer support - do not modify 
        ///   the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            DatabaseTestAction FailsWithNegativeAmount_TestAction;
            var resources = new ComponentResourceManager(typeof(CreateTransfer));
            ScalarValueCondition scalarValueCondition2;
            DatabaseTestAction Success_TestAction;
            ScalarValueCondition scalarValueCondition6;
            DatabaseTestAction FailsWithUnknownSourceAccount_TestAction;
            ScalarValueCondition scalarValueCondition5;
            DatabaseTestAction FailsWithUnknownDestAccount_TestAction;
            ScalarValueCondition scalarValueCondition4;
            DatabaseTestAction FailsWithDifferentAccountCurrencies_TestAction;
            ScalarValueCondition scalarValueCondition1;
            DatabaseTestAction FailsWithNullDescription_TestAction;
            ScalarValueCondition scalarValueCondition3;
            DatabaseTestAction FailsWithDifferentAccountCurrencies_PretestAction;
            DatabaseTestAction FailsWithNegativeAmount_PretestAction;
            DatabaseTestAction FailsWithNullDescription_PretestAction;
            DatabaseTestAction FailsWithUnknownDestAccount_PretestAction;
            DatabaseTestAction FailsWithUnknownSourceAccount_PretestAction;
            DatabaseTestAction Success_PretestAction;
            DatabaseTestAction FailsWithUnknownSourceAccount_PosttestAction;
            DatabaseTestAction FailsWithUnknownDestAccount_PosttestAction;
            DatabaseTestAction FailsWithNullSourceAccountId_TestAction;
            ScalarValueCondition scalarValueCondition7;
            DatabaseTestAction FailsWithDifferentAccountCurrencies_PosttestAction;
            this.FailsWithNegativeAmountData = new DatabaseTestActions();
            this.SuccessData = new DatabaseTestActions();
            this.FailsWithUnknownSourceAccountData = new DatabaseTestActions();
            this.FailsWithUnknownDestAccountData = new DatabaseTestActions();
            this.FailsWithDifferentAccountCurrenciesData = new DatabaseTestActions();
            this.FailsWithNullDescriptionData = new DatabaseTestActions();
            this.FailsWithNullSourceAccountIdData = new DatabaseTestActions();
            FailsWithNegativeAmount_TestAction = new DatabaseTestAction();
            scalarValueCondition2 = new ScalarValueCondition();
            Success_TestAction = new DatabaseTestAction();
            scalarValueCondition6 = new ScalarValueCondition();
            FailsWithUnknownSourceAccount_TestAction = new DatabaseTestAction();
            scalarValueCondition5 = new ScalarValueCondition();
            FailsWithUnknownDestAccount_TestAction = new DatabaseTestAction();
            scalarValueCondition4 = new ScalarValueCondition();
            FailsWithDifferentAccountCurrencies_TestAction = new DatabaseTestAction();
            scalarValueCondition1 = new ScalarValueCondition();
            FailsWithNullDescription_TestAction = new DatabaseTestAction();
            scalarValueCondition3 = new ScalarValueCondition();
            FailsWithDifferentAccountCurrencies_PretestAction = new DatabaseTestAction();
            FailsWithNegativeAmount_PretestAction = new DatabaseTestAction();
            FailsWithNullDescription_PretestAction = new DatabaseTestAction();
            FailsWithUnknownDestAccount_PretestAction = new DatabaseTestAction();
            FailsWithUnknownSourceAccount_PretestAction = new DatabaseTestAction();
            Success_PretestAction = new DatabaseTestAction();
            FailsWithUnknownSourceAccount_PosttestAction = new DatabaseTestAction();
            FailsWithUnknownDestAccount_PosttestAction = new DatabaseTestAction();
            FailsWithNullSourceAccountId_TestAction = new DatabaseTestAction();
            scalarValueCondition7 = new ScalarValueCondition();
            FailsWithDifferentAccountCurrencies_PosttestAction = new DatabaseTestAction();

            // FailsWithNegativeAmount_TestAction
            FailsWithNegativeAmount_TestAction.Conditions.Add(scalarValueCondition2);
            resources.ApplyResources(FailsWithNegativeAmount_TestAction, "FailsWithNegativeAmount_TestAction");

            // scalarValueCondition2
            scalarValueCondition2.ColumnNumber = 1;
            scalarValueCondition2.Enabled = true;
            scalarValueCondition2.ExpectedValue = "0";
            scalarValueCondition2.Name = "scalarValueCondition2";
            scalarValueCondition2.NullExpected = false;
            scalarValueCondition2.ResultSet = 1;
            scalarValueCondition2.RowNumber = 1;

            // Success_TestAction
            Success_TestAction.Conditions.Add(scalarValueCondition6);
            resources.ApplyResources(Success_TestAction, "Success_TestAction");

            // scalarValueCondition6
            scalarValueCondition6.ColumnNumber = 1;
            scalarValueCondition6.Enabled = true;
            scalarValueCondition6.ExpectedValue = "0";
            scalarValueCondition6.Name = "scalarValueCondition6";
            scalarValueCondition6.NullExpected = false;
            scalarValueCondition6.ResultSet = 1;
            scalarValueCondition6.RowNumber = 1;

            // FailsWithUnknownSourceAccount_TestAction
            FailsWithUnknownSourceAccount_TestAction.Conditions.Add(scalarValueCondition5);
            resources.ApplyResources(
                FailsWithUnknownSourceAccount_TestAction, "FailsWithUnknownSourceAccount_TestAction");

            // scalarValueCondition5
            scalarValueCondition5.ColumnNumber = 1;
            scalarValueCondition5.Enabled = true;
            scalarValueCondition5.ExpectedValue = "0";
            scalarValueCondition5.Name = "scalarValueCondition5";
            scalarValueCondition5.NullExpected = false;
            scalarValueCondition5.ResultSet = 1;
            scalarValueCondition5.RowNumber = 1;

            // FailsWithUnknownDestAccount_TestAction
            FailsWithUnknownDestAccount_TestAction.Conditions.Add(scalarValueCondition4);
            resources.ApplyResources(FailsWithUnknownDestAccount_TestAction, "FailsWithUnknownDestAccount_TestAction");

            // scalarValueCondition4
            scalarValueCondition4.ColumnNumber = 1;
            scalarValueCondition4.Enabled = true;
            scalarValueCondition4.ExpectedValue = "0";
            scalarValueCondition4.Name = "scalarValueCondition4";
            scalarValueCondition4.NullExpected = false;
            scalarValueCondition4.ResultSet = 1;
            scalarValueCondition4.RowNumber = 1;

            // FailsWithDifferentAccountCurrencies_TestAction
            FailsWithDifferentAccountCurrencies_TestAction.Conditions.Add(scalarValueCondition1);
            resources.ApplyResources(
                FailsWithDifferentAccountCurrencies_TestAction, "FailsWithDifferentAccountCurrencies_TestAction");

            // scalarValueCondition1
            scalarValueCondition1.ColumnNumber = 1;
            scalarValueCondition1.Enabled = true;
            scalarValueCondition1.ExpectedValue = "0";
            scalarValueCondition1.Name = "scalarValueCondition1";
            scalarValueCondition1.NullExpected = false;
            scalarValueCondition1.ResultSet = 1;
            scalarValueCondition1.RowNumber = 1;

            // FailsWithNullDescription_TestAction
            FailsWithNullDescription_TestAction.Conditions.Add(scalarValueCondition3);
            resources.ApplyResources(FailsWithNullDescription_TestAction, "FailsWithNullDescription_TestAction");

            // scalarValueCondition3
            scalarValueCondition3.ColumnNumber = 1;
            scalarValueCondition3.Enabled = true;
            scalarValueCondition3.ExpectedValue = "0";
            scalarValueCondition3.Name = "scalarValueCondition3";
            scalarValueCondition3.NullExpected = false;
            scalarValueCondition3.ResultSet = 1;
            scalarValueCondition3.RowNumber = 1;

            // FailsWithDifferentAccountCurrencies_PretestAction
            resources.ApplyResources(
                FailsWithDifferentAccountCurrencies_PretestAction, "FailsWithDifferentAccountCurrencies_PretestAction");

            // FailsWithNegativeAmount_PretestAction
            resources.ApplyResources(FailsWithNegativeAmount_PretestAction, "FailsWithNegativeAmount_PretestAction");

            // FailsWithNullDescription_PretestAction
            resources.ApplyResources(FailsWithNullDescription_PretestAction, "FailsWithNullDescription_PretestAction");

            // FailsWithUnknownDestAccount_PretestAction
            resources.ApplyResources(
                FailsWithUnknownDestAccount_PretestAction, "FailsWithUnknownDestAccount_PretestAction");

            // FailsWithUnknownSourceAccount_PretestAction
            resources.ApplyResources(
                FailsWithUnknownSourceAccount_PretestAction, "FailsWithUnknownSourceAccount_PretestAction");

            // Success_PretestAction
            resources.ApplyResources(Success_PretestAction, "Success_PretestAction");

            // FailsWithUnknownSourceAccount_PosttestAction
            resources.ApplyResources(
                FailsWithUnknownSourceAccount_PosttestAction, "FailsWithUnknownSourceAccount_PosttestAction");

            // FailsWithUnknownDestAccount_PosttestAction
            resources.ApplyResources(
                FailsWithUnknownDestAccount_PosttestAction, "FailsWithUnknownDestAccount_PosttestAction");

            // FailsWithNullSourceAccountId_TestAction
            FailsWithNullSourceAccountId_TestAction.Conditions.Add(scalarValueCondition7);
            resources.ApplyResources(FailsWithNullSourceAccountId_TestAction, "FailsWithNullSourceAccountId_TestAction");

            // scalarValueCondition7
            scalarValueCondition7.ColumnNumber = 1;
            scalarValueCondition7.Enabled = true;
            scalarValueCondition7.ExpectedValue = "0";
            scalarValueCondition7.Name = "scalarValueCondition7";
            scalarValueCondition7.NullExpected = false;
            scalarValueCondition7.ResultSet = 1;
            scalarValueCondition7.RowNumber = 1;

            // FailsWithDifferentAccountCurrencies_PosttestAction
            resources.ApplyResources(
                FailsWithDifferentAccountCurrencies_PosttestAction, "FailsWithDifferentAccountCurrencies_PosttestAction");

            // FailsWithNegativeAmountData
            this.FailsWithNegativeAmountData.PosttestAction = null;
            this.FailsWithNegativeAmountData.PretestAction = FailsWithNegativeAmount_PretestAction;
            this.FailsWithNegativeAmountData.TestAction = FailsWithNegativeAmount_TestAction;

            // SuccessData
            this.SuccessData.PosttestAction = null;
            this.SuccessData.PretestAction = Success_PretestAction;
            this.SuccessData.TestAction = Success_TestAction;

            // FailsWithUnknownSourceAccountData
            this.FailsWithUnknownSourceAccountData.PosttestAction = FailsWithUnknownSourceAccount_PosttestAction;
            this.FailsWithUnknownSourceAccountData.PretestAction = FailsWithUnknownSourceAccount_PretestAction;
            this.FailsWithUnknownSourceAccountData.TestAction = FailsWithUnknownSourceAccount_TestAction;

            // FailsWithUnknownDestAccountData
            this.FailsWithUnknownDestAccountData.PosttestAction = FailsWithUnknownDestAccount_PosttestAction;
            this.FailsWithUnknownDestAccountData.PretestAction = FailsWithUnknownDestAccount_PretestAction;
            this.FailsWithUnknownDestAccountData.TestAction = FailsWithUnknownDestAccount_TestAction;

            // FailsWithDifferentAccountCurrenciesData
            this.FailsWithDifferentAccountCurrenciesData.PosttestAction =
                FailsWithDifferentAccountCurrencies_PosttestAction;
            this.FailsWithDifferentAccountCurrenciesData.PretestAction =
                FailsWithDifferentAccountCurrencies_PretestAction;
            this.FailsWithDifferentAccountCurrenciesData.TestAction = FailsWithDifferentAccountCurrencies_TestAction;

            // FailsWithNullDescriptionData
            this.FailsWithNullDescriptionData.PosttestAction = null;
            this.FailsWithNullDescriptionData.PretestAction = FailsWithNullDescription_PretestAction;
            this.FailsWithNullDescriptionData.TestAction = FailsWithNullDescription_TestAction;

            // FailsWithNullSourceAccountIdData
            this.FailsWithNullSourceAccountIdData.PosttestAction = null;
            this.FailsWithNullSourceAccountIdData.PretestAction = null;
            this.FailsWithNullSourceAccountIdData.TestAction = FailsWithNullSourceAccountId_TestAction;
        }
Beispiel #4
0
        /// <summary>
        /// Required method for Designer support - do not modify 
        ///   the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            DatabaseTestAction Transfer_SourceAndDestAccountsHaveSameCurrency_TestAction;
            var resources = new ComponentResourceManager(typeof(Transfer));
            ScalarValueCondition scalarValueCondition1;
            this.Transfer_SourceAndDestAccountsHaveSameCurrencyData = new DatabaseTestActions();
            Transfer_SourceAndDestAccountsHaveSameCurrency_TestAction = new DatabaseTestAction();
            scalarValueCondition1 = new ScalarValueCondition();

            // Transfer_SourceAndDestAccountsHaveSameCurrencyData
            this.Transfer_SourceAndDestAccountsHaveSameCurrencyData.PosttestAction = null;
            this.Transfer_SourceAndDestAccountsHaveSameCurrencyData.PretestAction = null;
            this.Transfer_SourceAndDestAccountsHaveSameCurrencyData.TestAction =
                Transfer_SourceAndDestAccountsHaveSameCurrency_TestAction;

            // Transfer_SourceAndDestAccountsHaveSameCurrency_TestAction
            Transfer_SourceAndDestAccountsHaveSameCurrency_TestAction.Conditions.Add(scalarValueCondition1);
            resources.ApplyResources(
                Transfer_SourceAndDestAccountsHaveSameCurrency_TestAction,
                "Transfer_SourceAndDestAccountsHaveSameCurrency_TestAction");

            // scalarValueCondition1
            scalarValueCondition1.ColumnNumber = 1;
            scalarValueCondition1.Enabled = true;
            scalarValueCondition1.ExpectedValue = "0";
            scalarValueCondition1.Name = "scalarValueCondition1";
            scalarValueCondition1.NullExpected = false;
            scalarValueCondition1.ResultSet = 1;
            scalarValueCondition1.RowNumber = 1;
        }
Beispiel #5
0
        /// <summary>
        /// Required method for Designer support - do not modify 
        ///   the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            DatabaseTestAction Success_TestAction;
            var resources = new ComponentResourceManager(typeof(DeleteSessionTests));
            ScalarValueCondition scalarValueCondition3;
            DatabaseTestAction FailsOnExpiredSession_TestAction;
            DatabaseTestAction FailsOnUnknownSessionId_TestAction;
            ScalarValueCondition scalarValueCondition2;
            DatabaseTestAction FailsOnExpiredSession_PretestAction;
            ScalarValueCondition scalarValueCondition1;
            DatabaseTestAction FailsOnExpiredSession_PosttestAction;
            this.SuccessData = new DatabaseTestActions();
            this.FailsOnExpiredSessionData = new DatabaseTestActions();
            this.FailsOnUnknownSessionIdData = new DatabaseTestActions();
            Success_TestAction = new DatabaseTestAction();
            scalarValueCondition3 = new ScalarValueCondition();
            FailsOnExpiredSession_TestAction = new DatabaseTestAction();
            FailsOnUnknownSessionId_TestAction = new DatabaseTestAction();
            scalarValueCondition2 = new ScalarValueCondition();
            FailsOnExpiredSession_PretestAction = new DatabaseTestAction();
            scalarValueCondition1 = new ScalarValueCondition();
            FailsOnExpiredSession_PosttestAction = new DatabaseTestAction();

            // Success_TestAction
            Success_TestAction.Conditions.Add(scalarValueCondition3);
            resources.ApplyResources(Success_TestAction, "Success_TestAction");

            // scalarValueCondition3
            scalarValueCondition3.ColumnNumber = 1;
            scalarValueCondition3.Enabled = true;
            scalarValueCondition3.ExpectedValue = "0";
            scalarValueCondition3.Name = "scalarValueCondition3";
            scalarValueCondition3.NullExpected = false;
            scalarValueCondition3.ResultSet = 1;
            scalarValueCondition3.RowNumber = 1;

            // FailsOnExpiredSession_TestAction
            resources.ApplyResources(FailsOnExpiredSession_TestAction, "FailsOnExpiredSession_TestAction");

            // FailsOnUnknownSessionId_TestAction
            FailsOnUnknownSessionId_TestAction.Conditions.Add(scalarValueCondition2);
            resources.ApplyResources(FailsOnUnknownSessionId_TestAction, "FailsOnUnknownSessionId_TestAction");

            // scalarValueCondition2
            scalarValueCondition2.ColumnNumber = 1;
            scalarValueCondition2.Enabled = true;
            scalarValueCondition2.ExpectedValue = "0";
            scalarValueCondition2.Name = "scalarValueCondition2";
            scalarValueCondition2.NullExpected = false;
            scalarValueCondition2.ResultSet = 1;
            scalarValueCondition2.RowNumber = 1;

            // FailsOnExpiredSession_PretestAction
            FailsOnExpiredSession_PretestAction.Conditions.Add(scalarValueCondition1);
            resources.ApplyResources(FailsOnExpiredSession_PretestAction, "FailsOnExpiredSession_PretestAction");

            // scalarValueCondition1
            scalarValueCondition1.ColumnNumber = 1;
            scalarValueCondition1.Enabled = true;
            scalarValueCondition1.ExpectedValue = "0";
            scalarValueCondition1.Name = "scalarValueCondition1";
            scalarValueCondition1.NullExpected = false;
            scalarValueCondition1.ResultSet = 1;
            scalarValueCondition1.RowNumber = 1;

            // FailsOnExpiredSession_PosttestAction
            resources.ApplyResources(FailsOnExpiredSession_PosttestAction, "FailsOnExpiredSession_PosttestAction");

            // SuccessData
            this.SuccessData.PosttestAction = null;
            this.SuccessData.PretestAction = null;
            this.SuccessData.TestAction = Success_TestAction;

            // FailsOnExpiredSessionData
            this.FailsOnExpiredSessionData.PosttestAction = FailsOnExpiredSession_PosttestAction;
            this.FailsOnExpiredSessionData.PretestAction = FailsOnExpiredSession_PretestAction;
            this.FailsOnExpiredSessionData.TestAction = FailsOnExpiredSession_TestAction;

            // FailsOnUnknownSessionIdData
            this.FailsOnUnknownSessionIdData.PosttestAction = null;
            this.FailsOnUnknownSessionIdData.PretestAction = null;
            this.FailsOnUnknownSessionIdData.TestAction = FailsOnUnknownSessionId_TestAction;
        }
Beispiel #6
0
        /// <summary>
        /// Required method for Designer support - do not modify 
        ///   the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            DatabaseTestAction InsertSuccess_TestAction;
            var resources = new ComponentResourceManager(typeof(UserTableTests));
            ScalarValueCondition scalarValueCondition3;
            DatabaseTestAction InsertWithNullEmailFails_TestAction;
            ScalarValueCondition scalarValueCondition5;
            DatabaseTestAction InsertWithNullPasswordHashFails_TestAction;
            ScalarValueCondition scalarValueCondition6;
            DatabaseTestAction InsertWithNullPasswordSaltFails_TestAction;
            DatabaseTestAction InsertWithDuplicateEmailFails_TestAction;
            ScalarValueCondition scalarValueCondition4;
            DatabaseTestAction NotAllowedToDelete_TestAction;
            DatabaseTestAction NotAllowedToUpdateEmail_TestAction;
            DatabaseTestAction AllowedToUpdatePasswordHash_TestAction;
            ScalarValueCondition scalarValueCondition1;
            DatabaseTestAction NotAllowedToUpdatePasswordSalt_TestAction;
            DatabaseTestAction AllowedToUpdatePasswordHash_PretestAction;
            DatabaseTestAction AllowedToUpdatePasswordHash_PosttestAction;
            ScalarValueCondition scalarValueCondition2;
            DatabaseTestAction InsertWithDuplicateEmailFails_PretestAction;
            ScalarValueCondition scalarValueCondition7;
            ScalarValueCondition scalarValueCondition8;
            ScalarValueCondition scalarValueCondition9;
            ScalarValueCondition scalarValueCondition10;
            this.InsertSuccessData = new DatabaseTestActions();
            this.InsertWithNullEmailFailsData = new DatabaseTestActions();
            this.InsertWithNullPasswordHashFailsData = new DatabaseTestActions();
            this.InsertWithNullPasswordSaltFailsData = new DatabaseTestActions();
            this.InsertWithDuplicateEmailFailsData = new DatabaseTestActions();
            this.NotAllowedToDeleteData = new DatabaseTestActions();
            this.NotAllowedToUpdateEmailData = new DatabaseTestActions();
            this.AllowedToUpdatePasswordHashData = new DatabaseTestActions();
            this.NotAllowedToUpdatePasswordSaltData = new DatabaseTestActions();
            InsertSuccess_TestAction = new DatabaseTestAction();
            scalarValueCondition3 = new ScalarValueCondition();
            InsertWithNullEmailFails_TestAction = new DatabaseTestAction();
            scalarValueCondition5 = new ScalarValueCondition();
            InsertWithNullPasswordHashFails_TestAction = new DatabaseTestAction();
            scalarValueCondition6 = new ScalarValueCondition();
            InsertWithNullPasswordSaltFails_TestAction = new DatabaseTestAction();
            InsertWithDuplicateEmailFails_TestAction = new DatabaseTestAction();
            scalarValueCondition4 = new ScalarValueCondition();
            NotAllowedToDelete_TestAction = new DatabaseTestAction();
            NotAllowedToUpdateEmail_TestAction = new DatabaseTestAction();
            AllowedToUpdatePasswordHash_TestAction = new DatabaseTestAction();
            scalarValueCondition1 = new ScalarValueCondition();
            NotAllowedToUpdatePasswordSalt_TestAction = new DatabaseTestAction();
            AllowedToUpdatePasswordHash_PretestAction = new DatabaseTestAction();
            AllowedToUpdatePasswordHash_PosttestAction = new DatabaseTestAction();
            scalarValueCondition2 = new ScalarValueCondition();
            InsertWithDuplicateEmailFails_PretestAction = new DatabaseTestAction();
            scalarValueCondition7 = new ScalarValueCondition();
            scalarValueCondition8 = new ScalarValueCondition();
            scalarValueCondition9 = new ScalarValueCondition();
            scalarValueCondition10 = new ScalarValueCondition();

            // InsertSuccess_TestAction
            InsertSuccess_TestAction.Conditions.Add(scalarValueCondition3);
            resources.ApplyResources(InsertSuccess_TestAction, "InsertSuccess_TestAction");

            // scalarValueCondition3
            scalarValueCondition3.ColumnNumber = 1;
            scalarValueCondition3.Enabled = true;
            scalarValueCondition3.ExpectedValue = "0";
            scalarValueCondition3.Name = "scalarValueCondition3";
            scalarValueCondition3.NullExpected = false;
            scalarValueCondition3.ResultSet = 1;
            scalarValueCondition3.RowNumber = 1;

            // InsertWithNullEmailFails_TestAction
            InsertWithNullEmailFails_TestAction.Conditions.Add(scalarValueCondition5);
            resources.ApplyResources(InsertWithNullEmailFails_TestAction, "InsertWithNullEmailFails_TestAction");

            // scalarValueCondition5
            scalarValueCondition5.ColumnNumber = 1;
            scalarValueCondition5.Enabled = true;
            scalarValueCondition5.ExpectedValue = "0";
            scalarValueCondition5.Name = "scalarValueCondition5";
            scalarValueCondition5.NullExpected = false;
            scalarValueCondition5.ResultSet = 1;
            scalarValueCondition5.RowNumber = 1;

            // InsertWithNullPasswordHashFails_TestAction
            InsertWithNullPasswordHashFails_TestAction.Conditions.Add(scalarValueCondition6);
            resources.ApplyResources(
                InsertWithNullPasswordHashFails_TestAction, "InsertWithNullPasswordHashFails_TestAction");

            // scalarValueCondition6
            scalarValueCondition6.ColumnNumber = 1;
            scalarValueCondition6.Enabled = true;
            scalarValueCondition6.ExpectedValue = "0";
            scalarValueCondition6.Name = "scalarValueCondition6";
            scalarValueCondition6.NullExpected = false;
            scalarValueCondition6.ResultSet = 1;
            scalarValueCondition6.RowNumber = 1;

            // InsertWithNullPasswordSaltFails_TestAction
            InsertWithNullPasswordSaltFails_TestAction.Conditions.Add(scalarValueCondition7);
            resources.ApplyResources(
                InsertWithNullPasswordSaltFails_TestAction, "InsertWithNullPasswordSaltFails_TestAction");

            // InsertWithDuplicateEmailFails_TestAction
            InsertWithDuplicateEmailFails_TestAction.Conditions.Add(scalarValueCondition4);
            resources.ApplyResources(
                InsertWithDuplicateEmailFails_TestAction, "InsertWithDuplicateEmailFails_TestAction");

            // scalarValueCondition4
            scalarValueCondition4.ColumnNumber = 1;
            scalarValueCondition4.Enabled = true;
            scalarValueCondition4.ExpectedValue = "0";
            scalarValueCondition4.Name = "scalarValueCondition4";
            scalarValueCondition4.NullExpected = false;
            scalarValueCondition4.ResultSet = 1;
            scalarValueCondition4.RowNumber = 1;

            // NotAllowedToDelete_TestAction
            NotAllowedToDelete_TestAction.Conditions.Add(scalarValueCondition8);
            resources.ApplyResources(NotAllowedToDelete_TestAction, "NotAllowedToDelete_TestAction");

            // NotAllowedToUpdateEmail_TestAction
            NotAllowedToUpdateEmail_TestAction.Conditions.Add(scalarValueCondition9);
            resources.ApplyResources(NotAllowedToUpdateEmail_TestAction, "NotAllowedToUpdateEmail_TestAction");

            // AllowedToUpdatePasswordHash_TestAction
            AllowedToUpdatePasswordHash_TestAction.Conditions.Add(scalarValueCondition1);
            resources.ApplyResources(AllowedToUpdatePasswordHash_TestAction, "AllowedToUpdatePasswordHash_TestAction");

            // scalarValueCondition1
            scalarValueCondition1.ColumnNumber = 1;
            scalarValueCondition1.Enabled = true;
            scalarValueCondition1.ExpectedValue = "0";
            scalarValueCondition1.Name = "scalarValueCondition1";
            scalarValueCondition1.NullExpected = false;
            scalarValueCondition1.ResultSet = 1;
            scalarValueCondition1.RowNumber = 1;

            // NotAllowedToUpdatePasswordSalt_TestAction
            NotAllowedToUpdatePasswordSalt_TestAction.Conditions.Add(scalarValueCondition10);
            resources.ApplyResources(
                NotAllowedToUpdatePasswordSalt_TestAction, "NotAllowedToUpdatePasswordSalt_TestAction");

            // AllowedToUpdatePasswordHash_PretestAction
            resources.ApplyResources(
                AllowedToUpdatePasswordHash_PretestAction, "AllowedToUpdatePasswordHash_PretestAction");

            // AllowedToUpdatePasswordHash_PosttestAction
            AllowedToUpdatePasswordHash_PosttestAction.Conditions.Add(scalarValueCondition2);
            resources.ApplyResources(
                AllowedToUpdatePasswordHash_PosttestAction, "AllowedToUpdatePasswordHash_PosttestAction");

            // scalarValueCondition2
            scalarValueCondition2.ColumnNumber = 1;
            scalarValueCondition2.Enabled = true;
            scalarValueCondition2.ExpectedValue = "0";
            scalarValueCondition2.Name = "scalarValueCondition2";
            scalarValueCondition2.NullExpected = false;
            scalarValueCondition2.ResultSet = 1;
            scalarValueCondition2.RowNumber = 1;

            // InsertWithDuplicateEmailFails_PretestAction
            resources.ApplyResources(
                InsertWithDuplicateEmailFails_PretestAction, "InsertWithDuplicateEmailFails_PretestAction");

            // InsertSuccessData
            this.InsertSuccessData.PosttestAction = null;
            this.InsertSuccessData.PretestAction = null;
            this.InsertSuccessData.TestAction = InsertSuccess_TestAction;

            // InsertWithNullEmailFailsData
            this.InsertWithNullEmailFailsData.PosttestAction = null;
            this.InsertWithNullEmailFailsData.PretestAction = null;
            this.InsertWithNullEmailFailsData.TestAction = InsertWithNullEmailFails_TestAction;

            // InsertWithNullPasswordHashFailsData
            this.InsertWithNullPasswordHashFailsData.PosttestAction = null;
            this.InsertWithNullPasswordHashFailsData.PretestAction = null;
            this.InsertWithNullPasswordHashFailsData.TestAction = InsertWithNullPasswordHashFails_TestAction;

            // InsertWithNullPasswordSaltFailsData
            this.InsertWithNullPasswordSaltFailsData.PosttestAction = null;
            this.InsertWithNullPasswordSaltFailsData.PretestAction = null;
            this.InsertWithNullPasswordSaltFailsData.TestAction = InsertWithNullPasswordSaltFails_TestAction;

            // InsertWithDuplicateEmailFailsData
            this.InsertWithDuplicateEmailFailsData.PosttestAction = null;
            this.InsertWithDuplicateEmailFailsData.PretestAction = InsertWithDuplicateEmailFails_PretestAction;
            this.InsertWithDuplicateEmailFailsData.TestAction = InsertWithDuplicateEmailFails_TestAction;

            // NotAllowedToDeleteData
            this.NotAllowedToDeleteData.PosttestAction = null;
            this.NotAllowedToDeleteData.PretestAction = null;
            this.NotAllowedToDeleteData.TestAction = NotAllowedToDelete_TestAction;

            // NotAllowedToUpdateEmailData
            this.NotAllowedToUpdateEmailData.PosttestAction = null;
            this.NotAllowedToUpdateEmailData.PretestAction = null;
            this.NotAllowedToUpdateEmailData.TestAction = NotAllowedToUpdateEmail_TestAction;

            // AllowedToUpdatePasswordHashData
            this.AllowedToUpdatePasswordHashData.PosttestAction = AllowedToUpdatePasswordHash_PosttestAction;
            this.AllowedToUpdatePasswordHashData.PretestAction = AllowedToUpdatePasswordHash_PretestAction;
            this.AllowedToUpdatePasswordHashData.TestAction = AllowedToUpdatePasswordHash_TestAction;

            // NotAllowedToUpdatePasswordSaltData
            this.NotAllowedToUpdatePasswordSaltData.PosttestAction = null;
            this.NotAllowedToUpdatePasswordSaltData.PretestAction = null;
            this.NotAllowedToUpdatePasswordSaltData.TestAction = NotAllowedToUpdatePasswordSalt_TestAction;

            // scalarValueCondition7
            scalarValueCondition7.ColumnNumber = 1;
            scalarValueCondition7.Enabled = true;
            scalarValueCondition7.ExpectedValue = "0";
            scalarValueCondition7.Name = "scalarValueCondition7";
            scalarValueCondition7.NullExpected = false;
            scalarValueCondition7.ResultSet = 1;
            scalarValueCondition7.RowNumber = 1;

            // scalarValueCondition8
            scalarValueCondition8.ColumnNumber = 1;
            scalarValueCondition8.Enabled = true;
            scalarValueCondition8.ExpectedValue = "0";
            scalarValueCondition8.Name = "scalarValueCondition8";
            scalarValueCondition8.NullExpected = false;
            scalarValueCondition8.ResultSet = 1;
            scalarValueCondition8.RowNumber = 1;

            // scalarValueCondition9
            scalarValueCondition9.ColumnNumber = 1;
            scalarValueCondition9.Enabled = true;
            scalarValueCondition9.ExpectedValue = "0";
            scalarValueCondition9.Name = "scalarValueCondition9";
            scalarValueCondition9.NullExpected = false;
            scalarValueCondition9.ResultSet = 1;
            scalarValueCondition9.RowNumber = 1;

            // scalarValueCondition10
            scalarValueCondition10.ColumnNumber = 1;
            scalarValueCondition10.Enabled = true;
            scalarValueCondition10.ExpectedValue = "0";
            scalarValueCondition10.Name = "scalarValueCondition10";
            scalarValueCondition10.NullExpected = false;
            scalarValueCondition10.ResultSet = 1;
            scalarValueCondition10.RowNumber = 1;
        }