Пример #1
0
 private DeploymentResult ExecuteTask()
 {
     _physicalServer = new TestPhysicalServer();
     _protoServer.ProtoTask.RegisterRealTasks(_physicalServer);
     return(_physicalServer.Task.Execute());
 }
Пример #2
0
 private void AssertFilePathIs(string filePath)
 {
     _physicalServer = new TestPhysicalServer();
     _protoServer.ProtoTask.RegisterRealTasks(_physicalServer);
     StringAssert.Contains(filePath, _physicalServer.Task.Name);
 }
Пример #3
0
 private DeploymentResult VerifyTask()
 {
     _physicalServer = new TestPhysicalServer();
     _protoServer.ProtoTask.RegisterRealTasks(_physicalServer);
     return(_physicalServer.Task.VerifyCanRun());
 }