コード例 #1
0
        protected override void SpecificSetup(AbstractSystemUnderTestXml sutXml, AbstractConstraintXml ctrXml)
        {
            if (!(ctrXml is SuccessfulXml))
                throw new ArgumentException("Constraint must be a 'SuccessfulXml'");

            ConstraintXml = ctrXml as SuccessfulXml;
        }
コード例 #2
0
        protected override void SpecificSetup(AbstractSystemUnderTestXml sutXml, AbstractConstraintXml ctrXml)
        {
            if (!(ctrXml is SuccessfulXml))
            {
                throw new ArgumentException("Constraint must be a 'SuccessfulXml'");
            }

            ConstraintXml = ctrXml as SuccessfulXml;
        }
コード例 #3
0
        protected NBiConstraint InstantiateConstraint(SuccessfulXml successfulXml)
        {
            var ctr = new SuccessfulConstraint();

            return(ctr);
        }
コード例 #4
0
 protected global::NUnit.Framework.Constraints.Constraint InstantiateConstraint(SuccessfulXml successfulXml)
 {
     var ctr = new SuccessfulConstraint();
     return ctr;
 }
コード例 #5
0
        protected global::NUnit.Framework.Constraints.Constraint InstantiateConstraint(SuccessfulXml successfulXml)
        {
            var ctr = new SuccessfulConstraint();

            return(ctr);
        }
コード例 #6
0
 protected NBiConstraint InstantiateConstraint(SuccessfulXml successfulXml)
 {
     var ctr = new SuccessfulConstraint();
     return ctr;
 }