Ejemplo n.º 1
0
        public virtual void testFixVersionProblem()
        {
            JDFParser p = new JDFParser();
            JDFDoc    d = p.parseFile(sm_dirTestData + "FixVersionProblem.jdf");

            Assert.IsNotNull(d, "FixVersionProblem exists");
            n = d.getJDFRoot();
            n.fixVersion(EnumVersion.Version_1_2);
            JDFLayout lo = (JDFLayout)n.getResourcePool().getElement(ElementName.LAYOUT, null, 0);

            Assert.AreEqual(1, lo.numChildElements("Signature", null));
        }