Exemplo n.º 1
0
        public void Test_GetHandler_Unknown()
        {
            Deployer deployer = new Deployer();
            Package package = RandomDataHelper.Instance.CreateRandomePackage();
            package.PackageType = RandomDataHelper.Instance.Primitives.GetRandomString(20);

            IDeployHandler result = deployer.GetDeployHandlerFor(package);
        }
Exemplo n.º 2
0
        public void Test_GetHandler_MSDeploy()
        {
            Deployer deployer = new Deployer();

            Package package = RandomDataHelper.Instance.CreateRandomePackage();
            package.PackageType = KnownPackageTypes.msdeploy.ToString();

            IDeployHandler result = deployer.GetDeployHandlerFor(package);

            Assert.IsNotNull(result);
            Assert.IsTrue(result is MSDeployHandler);
        }
Exemplo n.º 3
0
        private static void StartCommandLine()
        {
            log.Info("Deployment runner command line starting");

            IDeployer deployer = new Deployer();
            deployer.Start();

            Console.WriteLine("Press ENTER to continue");
            Console.ReadLine();

            log.Info("Deployment runner command line closing");
        }