Beispiel #1
0
        public void GetJobShouldReturnExistingJob()
        {
            string            name = MethodBase.GetCurrentMethod().Name;
            JobManagerService jc   = GetTestJobConductor(name);

            Expect.IsFalse(jc.JobExists(name));
            JobConf conf = jc.CreateJob(name);

            Expect.IsTrue(jc.JobExists(name));

            JobConf validate = jc.GetJobConf(name);

            Expect.IsNotNull(validate);
            Expect.AreEqual(name, validate.Name);
        }