示例#1
0
        public virtual void testGetSettingsPolicy()
        {
            JDFDoc  d = new JDFDoc("JDF");
            JDFNode n = d.getJDFRoot();

            Assert.IsNull(n.getSettingsPolicy(false));
            JDFAuditPool ap = n.getAuditPool();

            Assert.IsNull(ap.getSettingsPolicy(true));
            n.setSettingsPolicy(EnumSettingsPolicy.MustHonor);
            Assert.AreEqual(EnumSettingsPolicy.MustHonor, ap.getSettingsPolicy(true));
        }