Example #1
0
        public override int GetHashCode()
        {
            int hash = 21;

            hash = hash * 33 + ((ForcedBoostTestVersion == null) ? 0 : ForcedBoostTestVersion.GetHashCode());
            hash = hash * 33 + UseBoost162Workaround.GetHashCode();
            hash = hash * 33 + ((ExternalTestRunnerSettings == null) ? 0 : ExternalTestRunnerSettings.GetHashCode());

            return(hash);
        }
Example #2
0
 public bool Equals(BoostTestRunnerFactoryOptions other)
 {
     return((other != null) &&
            ((ForcedBoostTestVersion == other.ForcedBoostTestVersion) || ((ForcedBoostTestVersion != null) && ForcedBoostTestVersion.Equals(other.ForcedBoostTestVersion))) &&
            (UseBoost162Workaround == other.UseBoost162Workaround) &&
            ((ExternalTestRunnerSettings == other.ExternalTestRunnerSettings) || ((ExternalTestRunnerSettings != null) && ExternalTestRunnerSettings.Equals(other.ExternalTestRunnerSettings))));
 }