Lines Matching +full:protocol +full:- +full:tests
3 """A script that provides convertion between models.job and a protocol
7 convert it into a protocol buffer object. The class will also be
8 responsible for serializing the job instance via protocol buffers.
33 it with a protocol buffer.
36 protocol buffer to include all the content of the job object. This
37 protocol buffer object will be serialized into a binary file.
42 self.job_type_dict = {'dir':str, 'tests':list, 'user':str,
73 The method first deserialize the binary into a protocol buffer
97 protocol buffer.
99 The method takes a tko job object and constructs a protocol
100 buffer job object. Then invokes the built-in serializing
155 fields_dict['tests'] = [self.get_tko_test(test) for test in job.tests]
172 newjob.tests.extend(fields_dict['tests'])
180 Method takes in a tko job and an empty protocol buffer job
188 protocol buffer.
197 for test in tko_job.tests:
198 newtest = pb_job.tests.add()
255 """Sets the various fields of test object of the tko protocol.
257 Method takes a tko test and a new test of the protocol buffer and
262 pb_test: an empty protocol buffer test instance.
312 pb_kernel: an empty protocol buffer kernel.
421 t = mktime(t.timetuple()) + 1e-6 * t.microsecond
437 required fields of the protocol buffer.