Esempio n. 1
0
        public void Execute()
        {
            var t = new LocalCommandLineTask("ping");

            t.Args = "localhost";
            t.Execute();
        }
Esempio n. 2
0
        public void Execute()
        {
            var t = new LocalCommandLineTask(new DotNetPath(), "ping");

            t.Args = "localhost";
            t.Execute();
        }
        public override DeploymentResult Execute()
        {
            var result = _task.Execute();

            result.AddGood("Uninstalled local RavenDb as a service from location {0}.", _location);

            return(result);
        }
Esempio n. 4
0
        public void VerifyCanRunWithExecutablePathSet()
        {
            var t = new LocalCommandLineTask(new DotNetPath(), "ping")
            {
                ExecutableIsLocatedAt =
                    Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), "system32"),
                Args = "localhost"
            };

            var result = t.Execute();

            result.Results.Select(r => r.Status).ToList().ShouldContain(DeploymentItemStatus.Good);
        }
 public override DeploymentResult Execute()
 {
     Logging.Coarse("[nservicebushost] Installing a local NServiceBus.Host service:\n\t{0}".FormatWith(_task.Args));
     return(_task.Execute());
 }
Esempio n. 6
0
 public override DeploymentResult Execute()
 {
     Logging.Coarse("[topshelf] Installing a local Topshelf service.");
     return(_task.Execute());
 }
 public override DeploymentResult Execute()
 {
     Logging.Coarse("[NServiceBus] Uninstalling a local NServiceBus service.");
     return(_task.Execute());
 }
Esempio n. 8
0
 public override DeploymentResult Execute()
 {
     Logging.Coarse("[nservicebushost] Installing a local NServiceBus.Host service.");
     return(_task.Execute());
 }