Esempio n. 1
0
        public static void ClassStartInitialize(TestContext testContext)
        {
            UnitTestHelpers.Start("storedprocinstance", new string[] { Data.sampledataTables.DatabaseName });

            // create tables
            UnitTestHelpers.CreateAllTables(Data.sampledataTables.TableList, Data.sampledataTables.DatabaseName);
            ReadPersonNames.Instance.CreateStoredProcedure(UnitTestHelpers.InstanceName);
        }
        public static void ClassStartInitialize(TestContext testContext)
        {
            UnitTestHelpers.Start("sampledatatestinstance", new string[] { "Linq2SqlDemoData" });

            // create tables
            UnitTestHelpers.CreateAllTables(Linq2SqlDemoDataTables.TableList, Linq2SqlDemoDataTables.DatabaseName);
            StripWWWandCom.Instance.CreateStoredProcedure();
            AllDepartments.Instance.CreateStoredProcedure();
        }
Esempio n. 3
0
        public static void ClassStartInitialize(TestContext testContext)
        {
            UnitTestHelpers.Start("sampledatatestinstance", new string[] { "sampledata" });

            // create tables
            UnitTestHelpers.CreateAllTables(sampledataTables.TableList, sampledataTables.DatabaseName);

            // create one stored procedure for testing purposes
            ExampleStoredProcedure.Instance.CreateStoredProcedure();
        }