예제 #1
0
        public void TestRoundhousE()
        {
            var task = new RoundhousETask(".", "SQL2005", "TestRoundhousE", true,
                                          @"E:\external projects\kaithos\roundhouse\db\SQLServer\TestRoundhousE", "TEST",
                                          true);
            DeploymentResult results = task.Execute();

            Assert.IsFalse(results.ContainsError());
        }
예제 #2
0
        public void TestRoundhousE()
        {
            var task = new RoundhousETask("server=(local);database=TestRoundhouse;integrated security=true;",
                                          @"C:\Solutions\roundhouse\code_drop\sample\db\SQLServer\TestRoundhousE", "TEST",
                                          RoundhousEMode.DropCreate,DatabaseRecoveryMode.Simple,string.Empty,0,string.Empty,"git://somehwere","","",0,0, "", "", "", "", "", "", "", null);
            DeploymentResult results = task.Execute();

            System.Console.WriteLine(results);
            Assert.IsFalse(results.ContainsError());
        }
예제 #3
0
        public void TestRoundhousE()
        {
            var connection = new DbConnectionInfo{
                Server = "(local)",
                DatabaseName = "TestRoundhouse"
            };
            var task = new RoundhousETask(connection,
                                          @"C:\Solutions\roundhouse\code_drop\sample\db\SQLServer\TestRoundhousE", "TEST",
                                          RoundhousEMode.DropCreate,DatabaseRecoveryMode.Simple,string.Empty,0,string.Empty,"git://somehwere","","",0,0, "", "", "", "", "", "", "", "", null, "", "", null);
            DeploymentResult results = task.Execute();

            System.Console.WriteLine(results);
            Assert.IsFalse(results.ContainsError());
        }