Esempio n. 1
0
        public void DeploymentProcessor_sequence_success()
        {
            var successSequenceTask = TestTaskBuilder.SequenceTaskSuccess(_publisher);
            var result = Execute(successSequenceTask);

            Assert.AreEqual(ResultCode.Succeed, result.ResultCode);
        }
Esempio n. 2
0
        public void DeploymentProcessor_sequence_success_task_details()
        {
            var sequence = TestTaskBuilder.SequenceTaskSuccess(_publisher);

            var result = Execute(sequence);

            Assert.That(result.Details, Is.StringContaining(sequence.Name).And.StringContaining("succeed"));
        }
Esempio n. 3
0
        public void DeploymentProcessor_sequence_success_task_details()
        {
            _task = TestTaskBuilder.SequenceTaskSuccess(_mediator);

            Assert(e => e.Result.Details.Contains(_task.Name) && e.Result.Details.Contains("succeed"));
        }
Esempio n. 4
0
 public void DeploymentProcessor_sequence_success()
 {
     _task = TestTaskBuilder.SequenceTaskSuccess(_mediator);
     Assert(e => e.Result.ResultCode == ResultCode.Succeed);
 }