Пример #1
0
 public void should_work_remotely_as_well()
 {
     var t = new LogOnAsAServiceTask(new DeploymentServer("127.0.0.1"), WindowsIdentity.GetCurrent().Name);
     var r = t.Execute();
     r.LogToConsole();
     Assert.AreEqual(false, r.ContainsError());
 }
Пример #2
0
 public void Execute()
 {
     var t = new LogOnAsAServiceTask(new DeploymentServer(Environment.MachineName), WindowsIdentity.GetCurrent().Name);
     var r = t.Execute();
     r.LogToConsole();
     Assert.AreEqual(false,r.ContainsError());
 }
Пример #3
0
 public void Execute()
 {
     var t = new LogOnAsAServiceTask(Environment.MachineName, "dk_test");
     var r = t.Execute();
 }