Ejemplo n.º 1
0
 private DeploymentResult ExecuteTask()
 {
     _physicalServer = new TestPhysicalServer();
     _protoServer.ProtoTask.RegisterRealTasks(_physicalServer);
     return(_physicalServer.Task.Execute());
 }
Ejemplo n.º 2
0
 private void AssertFilePathIs(string filePath)
 {
     _physicalServer = new TestPhysicalServer();
     _protoServer.ProtoTask.RegisterRealTasks(_physicalServer);
     StringAssert.Contains(filePath, _physicalServer.Task.Name);
 }
Ejemplo n.º 3
0
 private DeploymentResult VerifyTask()
 {
     _physicalServer = new TestPhysicalServer();
     _protoServer.ProtoTask.RegisterRealTasks(_physicalServer);
     return(_physicalServer.Task.VerifyCanRun());
 }