Beispiel #1
0
        public override int GetHashCode()
        {
            unchecked
            {
                int hash = 17;

                if (ApplicationName != null)
                {
                    hash = hash * 23 + ApplicationName.GetHashCode();
                }

                hash = hash * 23 + Stage.GetHashCode();
                hash = hash * 23 + MajorVersion.GetHashCode();
                hash = hash * 23 + FeatureNumber.GetHashCode();
                hash = hash * 23 + HotfixNumber.GetHashCode();
                hash = hash * 23 + Build.GetHashCode();

                return(hash);
            }
        }
Beispiel #2
0
 public EndToEndSteps(FeatureContext context, FeatureNumber featureNumber) : base(context)
 {
     this.featureNumber = featureNumber;
 }
 public RefundsSteps(FeatureContext context, FeatureNumber featureNumber) : base(context)
 {
     this.featureNumber = featureNumber;
 }
 public RefundsSteps(FeatureContext context, FeatureNumber featureNumber, ScenarioInfo scenarioInfo) : base(context)
 {
     this.featureNumber = featureNumber;
     this.scenarioInfo  = scenarioInfo;
 }
 public void ExtractPvNumberFromTitleWithout(string title)
 {
     Assert.That(() => FeatureNumber.ExtractFrom(title), Is.Null);
 }
 public string ExtractPvNumberFromTitle(string title) => FeatureNumber.ExtractFrom(title);