Searched refs:pb_job (Results 1 – 2 of 2) sorted by relevance
/external/autotest/tko/ |
D | job_serializer_unittest.py | 59 self.pb_job = tko_pb2.Job() 64 js.set_pb_job(self.tko_job, self.pb_job, self.tag) 69 self.assertEqual(self.tag, self.pb_job.tag) 75 self.pb_job.afe_job_id) 81 self.assertEqual(self.tko_job.dir, self.pb_job.dir) 88 len(self.pb_job.tests)) 94 self.assertEqual(self.tko_job.user, self.pb_job.user) 100 self.assertEqual(self.tko_job.machine, self.pb_job.machine) 107 self.pb_job.queued_time) 114 self.pb_job.started_time) [all …]
|
D | job_serializer.py | 114 pb_job = tko_pb2.Job() 115 self.set_pb_job(the_job, pb_job, tag) 119 out.write(pb_job.SerializeToString()) 124 def set_afe_job_id_and_tag(self, pb_job, tag): argument 131 pb_job.tag = tag 132 pb_job.afe_job_id = utils.get_afe_job_id(tag) 173 def set_pb_job(self, tko_job, pb_job, tag): argument 188 self.set_trivial_attr(tko_job, pb_job, self.job_type_dict) 189 self.set_afe_job_id_and_tag(pb_job, tag) 191 pb_job.job_idx = tko_job.index [all …]
|