Пример #1
0
 public void GetBuildResult_IsValid()
 {
     BuildArtifacts.Store(BuildResult.Success(m_BuildPipeline, m_BuildConfiguration), new IBuildArtifact[] { });
     var result = BuildArtifacts.GetBuildResult(m_BuildConfiguration);
     Assert.That(result, Is.Not.Null);
     Assert.That(result.Succeeded, Is.True);
 }
Пример #2
0
        public void GetBuildResult_WithoutBuildConfiguration_IsNull()
        {
            BuildArtifacts.Store(BuildResult.Success(m_BuildPipeline, m_BuildConfiguration), new IBuildArtifact[] { });
            var result = BuildArtifacts.GetBuildResult(null);

            Assert.That(result, Is.Null);
        }
        public void GetBuildResult()
        {
            BuildArtifacts.Store(BuildPipelineResult.Success(m_BuildPipeline, m_BuildSettings), new IBuildArtifact[] { });

            var result = BuildArtifacts.GetBuildResult(m_BuildSettings);

            Assert.That(result, Is.Not.Null);
            Assert.That(result.Succeeded, Is.True);
        }