Home
last modified time | relevance | path

Searched refs:pb_job (Results 1 – 2 of 2) sorted by relevance

/external/autotest/tko/
Djob_serializer_unittest.py56 self.pb_job = tko_pb2.Job()
61 js.set_pb_job(self.tko_job, self.pb_job, self.tag)
65 self.assertEqual(self.tag, self.pb_job.tag)
70 self.pb_job.afe_job_id)
76 self.assertEqual(self.tko_job.dir, self.pb_job.dir)
83 len(self.pb_job.tests))
89 self.assertEqual(self.tko_job.user, self.pb_job.user)
95 self.assertEqual(self.tko_job.machine, self.pb_job.machine)
102 self.pb_job.queued_time)
109 self.pb_job.started_time)
[all …]
Djob_serializer.py111 pb_job = tko_pb2.Job()
112 self.set_pb_job(the_job, pb_job, tag)
116 out.write(pb_job.SerializeToString())
121 def set_afe_job_id_and_tag(self, pb_job, tag): argument
128 pb_job.tag = tag
129 pb_job.afe_job_id = utils.get_afe_job_id(tag)
170 def set_pb_job(self, tko_job, pb_job, tag): argument
185 self.set_trivial_attr(tko_job, pb_job, self.job_type_dict)
186 self.set_afe_job_id_and_tag(pb_job, tag)
189 newtest = pb_job.tests.add()
[all …]