예제 #1
0
        public async Task Test()
        {
            var jobQuery = new JobQuery(_client)
            {
                Id = "jobId_test"
            };
            var job = jobQuery.Exec();

            Assert.AreEqual(JobStatus.SUCCESS, await job.Status());
            //JObject json = (JObject)job.Results().Result[0];
            var jsonResults = await job.Results();

            foreach (JObject item in jsonResults)
            {
                Assert.AreEqual("testValue", item.GetValue("testKey"));
            }
        }