Example #1
0
        public void EnqueuedSqlJobShouldBeQueuedStatusThenExecutedAfterExecution()
        {
            var jobId = new EnqueueJobController().Get("SampleSqlJobLibrary", "SampleSqlJobLibrary.Jobs.SqlJobToSucceed", "{\"TargetDate\":\"01/01/2012\",\"arg2\":\"cdef\",\"{TargetTable}\":\"TestLogs\"}");

            TestAJob(jobId);
        }
Example #2
0
        public void EnqueuedCommonJobShouldBeQueuedStatusThenExecutedAfterExecution()
        {
            var jobId = new EnqueueJobController().Get("JobQueueCore", "JobQueueCore.Job", "{\"TargetDate\":\"01/01/2012\",\"arg2\":\"cdef\",\"{TargetTable}\":\"TestLogs\"}");

            TestAJob(jobId);
        }