Exemple #1
0
        public override void setUp()
        {
            d       = creatXMDoc();
            n       = d.getJDFRoot();
            xpMedia = (JDFExposedMedia)n.getMatchingResource("ExposedMedia", null, null, 0);
            JDFResourceLink rlxp = n.getLink(xpMedia, null);

            rlxp.setAmount(100, null);
            sc       = new StatusCounter(n, null, null);
            deviceID = "Status-counter-TestDevice";
            sc.setDeviceID(deviceID);
            resID = xpMedia.getID();
            sc.setFirstRefID(resID);
            sc.addPhase(resID, 200, 0, true);
            employee = (JDFEmployee) new JDFDoc("Employee").getRoot();
            employee.setPersonalID("P1");
            base.setUp();
        }