Beispiel #1
0
        public virtual void testApplyNode()
        {
            JDFNode n = new JDFDoc("JDF").getJDFRoot();

            n.setJobID("j1");
            n.setJobPartID("p2");
            JDFJobPhase jp = di.appendJobPhase();

            jp.applyNode(null);
            Assert.IsNull(jp.getJobID());
            jp.applyNode(n);
            Assert.AreEqual("j1", jp.getJobID());
            Assert.AreEqual(jp.getActivation().getName(), n.getActivation(true).getName());
        }