Exemplo n.º 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());
        }
Exemplo n.º 2
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());
        }