Example #1
0
        public virtual void testGetChildElementVector_KElement()
        {
            JDFDoc          d    = new JDFDoc("JDF");
            JDFNode         root = d.getJDFRoot();
            JDFExposedMedia xm   = (JDFExposedMedia)root.addResource("ExposedMedia", null, EnumUsage.Input, null, null, null, null);
            JDFMedia        m    = xm.appendMedia();

            m.makeRootResource(null, null, true);
            Assert.AreEqual(0, xm.getChildElementVector_KElement("Media", null, null, true, -1).Count);
            Assert.AreEqual(1, xm.getChildElementVector_JDFElement("Media", null, null, true, -1, true).Count);
        }