Example #1
0
        public void create_job_detail_key_group_fams3()
        {
            var result = PersonToSearchJobDetail.CreateJobDetail();

            Assert.AreEqual(result.Key.Group, "FAMS3");
        }
Example #2
0
        public void create_job_detail()
        {
            var result = PersonToSearchJobDetail.CreateJobDetail();

            Assert.IsInstanceOf <IJobDetail>(result);
        }
Example #3
0
        public void create_job_detail_key_name_of_job_class()
        {
            var result = PersonToSearchJobDetail.CreateJobDetail();

            Assert.AreEqual(result.Key.Name, "PersonToSearchJob");
        }
 public async Task <DateTimeOffset> Schedule()
 {
     return(await _schedulerService.ScheduleJob(PersonToSearchJobDetail.CreateJobDetail(), trigger.CreateTrigger()));
 }