コード例 #1
0
        public void DeploymentProcessor_sequence_fail_task_details()
        {
            _task = TestTaskBuilder.SequenceTaskFail(_mediator);


            Assert(e => e.Result.Details.Contains(_task.Name) && e.Result.Details.Contains("failed"));
        }
コード例 #2
0
        public void DeploymentProcessor_sequence_fail_task_details()
        {
            var sequence = TestTaskBuilder.SequenceTaskFail(_publisher);

            var result = Execute(sequence);

            Assert.That(result.Details, Is.StringContaining(sequence.Name).And.StringContaining("failed"));
        }
コード例 #3
0
        public void DeploymentProcessor_sequence_fail()
        {
            var sequence = TestTaskBuilder.SequenceTaskFail(_publisher);

            var result = Execute(sequence);

            Assert.AreEqual(ResultCode.Failed, result.ResultCode);
        }
コード例 #4
0
        public void DeploymentProcessor_sequence_fail()
        {
            _task = TestTaskBuilder.SequenceTaskFail(_mediator);

            Assert(e => e.Result.ResultCode == ResultCode.Failed);
        }