Beispiel #1
0
 public override void setUp()
 {
     agentName = JDFAudit.getStaticAgentName();
     JDFElement.setLongID(false);
     JDFAudit.setStaticAgentName("JDF Base golden ticket generator");
     base.setUp();
 }
Beispiel #2
0
 public virtual void tearDown()
 {
     JDFElement.setLongID(true);
     JDFElement.setDefaultJDFVersion(EnumVersion.Version_1_3);
     JDFAudit.setStaticAgentName(agentName);
     JDFAudit.setStaticAgentVersion(agentVersion);
     JDFAudit.setStaticAuthor(author);
     JDFNodeInfo.setDefaultWorkStepID(false);
 }
Beispiel #3
0
        /// <summary>
        /// All the setUp calls except for base.setUp.
        /// Use when you want to redo a setup without doign a teardown.
        /// </summary>
        public void reSetUp()
        {
            JDFElement.setLongID(false);
            JDFAudit.setStaticAgentName(null);
            JDFAudit.setStaticAgentVersion(null);
            JDFAudit.setStaticAuthor(null);

            doc = new JDFDoc("JDF");
            n   = doc.getJDFRoot();
            n.setJobID("JobID");
            rl = (JDFRunList)n.addResource(ElementName.RUNLIST, null, EnumUsage.Input, null, null, null, null);
        }
        public override void setUp()
        {
            agentName = JDFAudit.getStaticAgentName();
            JDFElement.setLongID(false);
            JDFAudit.setStaticAgentName("JDF MISPre golden ticket generator");
            base.setUp();
            vMap = new VJDFAttributeMap();
            JDFAttributeMap map = new JDFAttributeMap();

            for (int i = 0; i < 4; i++)
            {
                map.put(EnumPartIDKey.SignatureName, "Sig1");
                map.put(EnumPartIDKey.SheetName, i == 0 ? "Cover" : "Sheet" + i);
                map.put(EnumPartIDKey.Side, "Front");
                vMap.Add(new JDFAttributeMap(map));
                map.put(EnumPartIDKey.Side, "Back");
                vMap.Add(new JDFAttributeMap(map));
            }
        }
Beispiel #5
0
        /// <summary>
        /// All the setUp calls except for base.setUp.
        /// Use when you want to redo a setup without doign a teardown.
        /// </summary>
        public void reSetUp()
        {
            JDFElement.setLongID(false);
            JDFAudit.setStaticAgentName(null);
            JDFAudit.setStaticAgentVersion(null);
            JDFAudit.setStaticAuthor(null);

            doc = new JDFDoc("JDF");
            n   = doc.getJDFRoot();
            n.setJobID("JobID");
            n.setType(EnumType.Combined);
            n.setTypes(new VString("Interpreting Rendering DigitalPrinting Stitching", " "));
            comp       = (JDFComponent)n.addResource(ElementName.COMPONENT, null, EnumUsage.Output, null, null, null, null);
            rlComp     = n.getLink(comp, null);
            digiParams = (JDFDigitalPrintingParams)n.addResource(ElementName.DIGITALPRINTINGPARAMS, null, EnumUsage.Input, null, null, null, null);
            med        = (JDFMedia)n.appendMatchingResource(ElementName.MEDIA, EnumProcessUsage.AnyInput, null);
            med.setResStatus(EnumResStatus.Available, false);
            rlMedia = n.getLink(med, null);
            ruli    = (JDFRunList)n.appendMatchingResource(ElementName.RUNLIST, EnumProcessUsage.AnyInput, null);
        }
Beispiel #6
0
 public override void tearDown()
 {
     JDFAudit.setStaticAgentName(agentName);
     JDFElement.setLongID(true);
     base.tearDown();
 }
 public override void setUp()
 {
     base.setUp();
     JDFAudit.setStaticAgentName("JDF MISCP golden ticket generator");
 }