Наследование: DataDictionary.ReqRelated
 public virtual void visit(TestCase obj, bool visitSubNodes)
 {
     visit ((ReqRelated) obj, false);
     if (visitSubNodes){
     IXmlBBase[] Subs  = acceptor.subElements((IXmlBBase)obj);
     if (Subs != null){
     for (int i=0; i<Subs.Length; i++) {
       dispatch(Subs[i], true);
     } // If
     } // If
     }
 }
Пример #2
0
        public override void visit(TestCase obj, bool visitSubNodes)
        {
            obj.setFeature(9999);
            obj.setCase(9999);

            base.visit(obj, visitSubNodes);
        }
 public void copyTo(TestCase other)
 {
     base.copyTo(other);
     other.aFeature = aFeature;
     other.aCase = aCase;
     other.aSteps = aSteps;
     other.aObsoleteComment = aObsoleteComment;
 }
 public virtual void visit(TestCase obj)
 {
     visit(obj, true);
 }
 public void insertTestCases(int idx, TestCase el,Lock aLock)
 {
     __setDirty(true);
       allTestCases().Insert (idx, el);
     NotifyControllers(aLock);
 }
 public void appendTestCases(Lock aLock,TestCase el)
 {
     __setDirty(true);
       el.__setDirty(true);
       allTestCases().Add(el);
       acceptor.connectSon (this, el);
     NotifyControllers(aLock);
 }
 public void copyTo(TestCase other)
 {
     base.copyTo(other);
     other.aFeature = aFeature;
     other.aCase = aCase;
     other.aSteps = aSteps;
 }
            /// <summary>
            ///     Remove obsolete fields from XML file
            /// </summary>
            /// <param name="obj"></param>
            /// <param name="visitSubNodes"></param>
            public override void visit(TestCase obj, bool visitSubNodes)
            {
                Tests.TestCase testCase = (Tests.TestCase) obj;

                if (testCase.getObsoleteComment() == "")
                {
                    testCase.setObsoleteComment(null);
                }

                base.visit(obj, visitSubNodes);
            }
 public override void visit(TestCase obj, bool visitSubNodes)
 {
     Tests.TestCase testCase = (Tests.TestCase) obj;
     if (!testCase.getImplemented())
     {
         testCase.AddInfo("Unimplemented test case");
     }
     base.visit(obj, visitSubNodes);
 }